Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 111.1 kB / 16.37 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 187.2 kB / 17.3 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7812/0.7812, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 71.48 kB / 0.5819 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1572, allocations: 80.21 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05678/0.214, allocations: 61.19 MB / 0.72 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.2305, allocations: 11.99 MB / 0.7317 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.2327, allocations: 63.62 kB / 0.7318 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.2346, allocations: 0.6791 MB / 0.7324 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00505/0.2396, allocations: 1.967 MB / 0.7344 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.2424, allocations: 1.203 MB / 0.7355 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003741/0.2462, allocations: 3.083 MB / 0.7386 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.2476, allocations: 1.116 MB / 0.7396 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/0.2504, allocations: 1.334 MB / 0.7409 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.2518, allocations: 0.9217 MB / 0.7418 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.2519, allocations: 120 kB / 0.742 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002765/0.2547, allocations: 1.443 MB / 0.7434 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002978/0.255, allocations: 310.8 kB / 0.7437 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007831/0.2558, allocations: 0.6919 MB / 0.7443 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003456/0.2593, allocations: 2.333 MB / 0.7466 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.2593, allocations: 0 / 0.7466 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2593, allocations: 3.938 kB / 0.7466 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.105e-05/0.2594, allocations: 4 kB / 0.7466 GB, free: 1.555 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.3349/0.5943, allocations: 1.742 MB / 0.7483 GB, free: 86.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5943, allocations: 8.938 kB / 0.7483 GB, free: 86.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/0.5971, allocations: 460.3 kB / 0.7488 GB, free: 86.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.5993, allocations: 1.168 MB / 0.7499 GB, free: 85.97 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/0.5994, allocations: 62.5 kB / 0.75 GB, free: 85.97 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.5996, allocations: 82.78 kB / 0.7501 GB, free: 85.97 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.6017, allocations: 0.9977 MB / 0.751 GB, free: 85.72 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.6017, allocations: 5.219 kB / 0.751 GB, free: 85.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-05/0.6018, allocations: 30.59 kB / 0.7511 GB, free: 85.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.6018, allocations: 18.38 kB / 0.7511 GB, free: 85.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.6043, allocations: 0.9405 MB / 0.752 GB, free: 85.4 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005961/0.6103, allocations: 4.653 MB / 0.7565 GB, free: 82.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004209/0.6145, allocations: 0.9905 MB / 0.7575 GB, free: 81.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.6157, allocations: 408.2 kB / 0.7579 GB, free: 81.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007488/0.6165, allocations: 1.018 MB / 0.7589 GB, free: 80.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.6165, allocations: 37.03 kB / 0.7589 GB, free: 80.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.435e-06/0.6165, allocations: 0 / 0.7589 GB, free: 80.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.008366/0.6249, allocations: 1.904 MB / 0.7608 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.6249, allocations: 61.38 kB / 0.7609 GB, free: 79.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.6265, allocations: 0.9516 MB / 0.7618 GB, free: 79.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.332e-05/0.6266, allocations: 37.8 kB / 0.7618 GB, free: 79.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.627, allocations: 0.5029 MB / 0.7623 GB, free: 79.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.6272, allocations: 187.9 kB / 0.7625 GB, free: 78.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.6274, allocations: 128.8 kB / 0.7626 GB, free: 78.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.6275, allocations: 331.2 kB / 0.7629 GB, free: 78.53 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.6285, allocations: 356 kB / 0.7633 GB, free: 78.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.6298, allocations: 0.5063 MB / 0.7638 GB, free: 78.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/0.6318, allocations: 0.7519 MB / 0.7645 GB, free: 77.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.6318, allocations: 2.125 kB / 0.7645 GB, free: 77.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003018/0.6348, allocations: 1.055 MB / 0.7655 GB, free: 77.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.6349, allocations: 6.234 kB / 0.7655 GB, free: 77.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.6349, allocations: 3.953 kB / 0.7655 GB, free: 77.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.6362, allocations: 305.6 kB / 0.7658 GB, free: 77.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.6369, allocations: 132.5 kB / 0.766 GB, free: 77.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.6383, allocations: 0.9043 MB / 0.7668 GB, free: 76.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.6394, allocations: 117.6 kB / 0.7669 GB, free: 76.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.6395, allocations: 29.22 kB / 0.767 GB, free: 76.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001503/0.641, allocations: 0.5544 MB / 0.7675 GB, free: 76.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001199/0.6422, allocations: 0.5023 MB / 0.768 GB, free: 76.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001954/0.6442, allocations: 0.743 MB / 0.7687 GB, free: 75.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.568e-06/0.6442, allocations: 1.156 kB / 0.7687 GB, free: 75.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002882/0.6471, allocations: 1.043 MB / 0.7698 GB, free: 75.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.6471, allocations: 5.906 kB / 0.7698 GB, free: 75.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.6472, allocations: 10.89 kB / 0.7698 GB, free: 75.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.6482, allocations: 291.7 kB / 0.77 GB, free: 75.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/0.6488, allocations: 133.2 kB / 0.7702 GB, free: 75.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.6501, allocations: 0.8866 MB / 0.771 GB, free: 74.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.6511, allocations: 111.3 kB / 0.7711 GB, free: 74.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.8e-05/0.6512, allocations: 26.11 kB / 0.7712 GB, free: 74.38 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002122/0.6514, allocations: 230.9 kB / 0.7714 GB, free: 74.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.6517, allocations: 106.6 kB / 0.7715 GB, free: 74.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003017/0.6547, allocations: 1.137 MB / 0.7726 GB, free: 73.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.6548, allocations: 13.5 kB / 0.7726 GB, free: 73.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6548, allocations: 4 kB / 0.7726 GB, free: 73.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.6548, allocations: 5.141 kB / 0.7726 GB, free: 73.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004355/0.6592, allocations: 2.24 MB / 0.7748 GB, free: 71.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.6592, allocations: 1.766 kB / 0.7748 GB, free: 71.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005526/0.6597, allocations: 109.3 kB / 0.7749 GB, free: 71.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009428/0.6607, allocations: 289 kB / 0.7752 GB, free: 71.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.6608, allocations: 18.86 kB / 0.7752 GB, free: 71.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.662, allocations: 0.9274 MB / 0.7761 GB, free: 71.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.662, allocations: 3.875 kB / 0.7761 GB, free: 71.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003518/0.6656, allocations: 1.289 MB / 0.7774 GB, free: 70.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004926/0.6661, allocations: 272.5 kB / 0.7776 GB, free: 70.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.6663, allocations: 20.02 kB / 0.7777 GB, free: 70.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009349/0.6672, allocations: 80.69 kB / 0.7777 GB, free: 70.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.6673, allocations: 42.08 kB / 0.7778 GB, free: 69.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.778e-05/0.6674, allocations: 22.73 kB / 0.7778 GB, free: 69.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009144/0.6683, allocations: 0.6701 MB / 0.7785 GB, free: 69.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6683, allocations: 0 / 0.7785 GB, free: 69.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001632/0.67, allocations: 0.5784 MB / 0.779 GB, free: 69.48 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007455/0.6707, allocations: 385.9 kB / 0.7794 GB, free: 69.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003682/0.6744, allocations: 1.3 MB / 0.7807 GB, free: 68.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6744, allocations: 1.312 kB / 0.7807 GB, free: 68.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.6756, allocations: 463.9 kB / 0.7811 GB, free: 68.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.6778, allocations: 498.7 kB / 0.7816 GB, free: 68.26 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.6811, allocations: 1.918 MB / 0.7834 GB, free: 67.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.6815, allocations: 1.062 MB / 0.7845 GB, free: 66.24 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.6818, allocations: 94.48 kB / 0.7846 GB, free: 66.21 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.6818, allocations: 0 / 0.7846 GB, free: 66.21 MB / 0.5762 GB Notification: Performance of Templates: time 0.02321/0.705, allocations: 24.02 MB / 0.808 GB, free: 42.86 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)