Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6956/0.6956, allocations: 133.3 MB / 150.1 MB, free: 11.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 404.7 MB, free: 6.027 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000952/0.0009519, allocations: 109.8 kB / 485.9 MB, free: 7.129 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009512/0.0009512, allocations: 51.92 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.12, allocations: 80.43 MB / 0.6421 GB, free: 5.383 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.3234/0.4435, allocations: 60.8 MB / 0.7015 GB, free: 25.89 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01506/0.4586, allocations: 12.06 MB / 0.7133 GB, free: 25.62 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.461, allocations: 54.62 kB / 0.7133 GB, free: 25.62 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002106/0.4631, allocations: 0.5485 MB / 0.7139 GB, free: 25.61 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006443/0.4696, allocations: 1.804 MB / 0.7156 GB, free: 25.19 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004247/0.4739, allocations: 1.078 MB / 0.7167 GB, free: 24.72 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005693/0.4796, allocations: 3.934 MB / 0.7205 GB, free: 23.25 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.4812, allocations: 0.9385 MB / 0.7215 GB, free: 22.85 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002312/0.4835, allocations: 1.162 MB / 0.7226 GB, free: 22.38 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.4847, allocations: 0.9148 MB / 0.7235 GB, free: 22.05 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.4849, allocations: 58.62 kB / 0.7235 GB, free: 22.05 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.4877, allocations: 1.356 MB / 0.7249 GB, free: 21.66 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.4879, allocations: 234.7 kB / 0.7251 GB, free: 21.54 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006308/0.4886, allocations: 0.6386 MB / 0.7257 GB, free: 21.17 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.4914, allocations: 2.261 MB / 0.7279 GB, free: 20.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4914, allocations: 0 / 0.7279 GB, free: 20.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.4914, allocations: 1.375 kB / 0.7279 GB, free: 20.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.4914, allocations: 0 / 0.7279 GB, free: 20.43 MB / 490.7 MB 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.003019/0.4945, allocations: 1.741 MB / 0.7296 GB, free: 19.26 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4945, allocations: 11.28 kB / 0.7296 GB, free: 19.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/0.497, allocations: 452.9 kB / 0.7301 GB, free: 19.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.499, allocations: 1.144 MB / 0.7312 GB, free: 18.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003363/0.4994, allocations: 118.2 kB / 0.7313 GB, free: 18.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.4995, allocations: 87.19 kB / 0.7314 GB, free: 18.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.5018, allocations: 1.003 MB / 0.7324 GB, free: 17.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.5018, allocations: 0 / 0.7324 GB, free: 17.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.502e-05/0.5019, allocations: 31.44 kB / 0.7324 GB, free: 17.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.5019, allocations: 18.59 kB / 0.7324 GB, free: 17.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.5045, allocations: 0.9446 MB / 0.7333 GB, free: 17.16 MB / 490.7 MB 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.005273/0.5098, allocations: 4.671 MB / 0.7379 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003946/0.5137, allocations: 1.001 MB / 0.7389 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009923/0.5147, allocations: 415.9 kB / 0.7393 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006786/0.5154, allocations: 1.013 MB / 0.7403 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.5154, allocations: 41.84 kB / 0.7403 GB, free: 11.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 2.364e-06/0.5155, allocations: 0 / 0.7403 GB, free: 11.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=53): time 0.00756/0.523, allocations: 1.948 MB / 0.7422 GB, free: 10.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.5231, allocations: 60.94 kB / 0.7423 GB, free: 10.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009994/0.5241, allocations: 0.9444 MB / 0.7432 GB, free: 9.551 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.926e-05/0.5241, allocations: 39.2 kB / 0.7432 GB, free: 9.512 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.5244, allocations: 0.4996 MB / 0.7437 GB, free: 9.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.5245, allocations: 188.5 kB / 0.7439 GB, free: 8.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.5247, allocations: 129.2 kB / 0.744 GB, free: 8.832 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.5248, allocations: 326.5 kB / 0.7443 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009744/0.5258, allocations: 360.1 kB / 0.7447 GB, free: 8.336 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.5269, allocations: 0.5178 MB / 0.7452 GB, free: 7.973 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/0.5287, allocations: 0.7583 MB / 0.7459 GB, free: 7.535 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5288, allocations: 1.312 kB / 0.7459 GB, free: 7.535 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002729/0.5315, allocations: 1.063 MB / 0.7469 GB, free: 7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.5315, allocations: 10.06 kB / 0.747 GB, free: 6.996 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.5315, allocations: 11.02 kB / 0.747 GB, free: 6.988 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.5328, allocations: 303.5 kB / 0.7473 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/0.5334, allocations: 133.6 kB / 0.7474 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.5347, allocations: 0.9147 MB / 0.7483 GB, free: 6.086 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.5359, allocations: 155.3 kB / 0.7484 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/0.536, allocations: 35.41 kB / 0.7485 GB, free: 5.988 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001227/0.5372, allocations: 0.5578 MB / 0.749 GB, free: 5.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001033/0.5383, allocations: 0.5035 MB / 0.7495 GB, free: 5.148 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001808/0.5401, allocations: 0.7618 MB / 0.7502 GB, free: 4.355 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.5401, allocations: 3.984 kB / 0.7502 GB, free: 4.352 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002678/0.5428, allocations: 1.06 MB / 0.7513 GB, free: 3.277 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.5428, allocations: 8 kB / 0.7513 GB, free: 3.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5428, allocations: 0 / 0.7513 GB, free: 3.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.5438, allocations: 300.9 kB / 0.7516 GB, free: 2.973 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/0.5444, allocations: 135.7 kB / 0.7517 GB, free: 2.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.5456, allocations: 0.9053 MB / 0.7526 GB, free: 1.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.5468, allocations: 147.5 kB / 0.7527 GB, free: 1.766 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.5469, allocations: 27.98 kB / 0.7527 GB, free: 1.738 MB / 490.7 MB 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.000206/0.5471, allocations: 221.4 kB / 0.753 GB, free: 1.516 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.5473, allocations: 110.6 kB / 0.7531 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/0.5502, allocations: 1.155 MB / 0.7542 GB, free: 240 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.5502, allocations: 8 kB / 0.7542 GB, free: 232 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5503, allocations: 0 / 0.7542 GB, free: 232 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.5503, allocations: 3.984 kB / 0.7542 GB, free: 228 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004681/0.555, allocations: 2.252 MB / 0.7564 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.555, allocations: 4 kB / 0.7564 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.5555, allocations: 108 kB / 0.7565 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/0.5566, allocations: 298.1 kB / 0.7568 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/0.5567, allocations: 23.98 kB / 0.7568 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.5582, allocations: 0.9425 MB / 0.7577 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-05/0.5582, allocations: 7.969 kB / 0.7577 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005511/0.5637, allocations: 2.526 MB / 0.7602 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006014/0.5643, allocations: 275.5 kB / 0.7605 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.5645, allocations: 12 kB / 0.7605 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009695/0.5655, allocations: 119.7 kB / 0.7606 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.5656, allocations: 36.39 kB / 0.7606 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.77e-05/0.5657, allocations: 23.97 kB / 0.7607 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008641/0.5666, allocations: 0.6637 MB / 0.7613 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5666, allocations: 4 kB / 0.7613 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001744/0.5683, allocations: 0.5809 MB / 0.7619 GB, free: 8.172 MB / 0.4948 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.0007204/0.5691, allocations: 387 kB / 0.7622 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003784/0.5729, allocations: 1.299 MB / 0.7635 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5729, allocations: 0 / 0.7635 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.5742, allocations: 460.8 kB / 0.764 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/0.5768, allocations: 0.4968 MB / 0.7644 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/0.5809, allocations: 2.665 MB / 0.767 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/0.5816, allocations: 1.086 MB / 0.7681 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001064/0.5826, allocations: 224.5 kB / 0.7683 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.5829, allocations: 83.42 kB / 0.7684 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.5829, allocations: 0 / 0.7684 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of Templates: time 0.04205/0.6249, allocations: 24.42 MB / 0.7922 GB, free: 9.32 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)