Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Annex60.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009703/0.0009703, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3948/0.3948, allocations: 54.97 MB / 325.3 MB, free: 0.7656 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005418/0.0005418, allocations: 12 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3644, allocations: 60.72 MB / 457.3 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Examples.Carnot_TEva): time 0.04234/0.4068, allocations: 50.65 MB / 0.4961 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.4201, allocations: 9.67 MB / 0.5055 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.4221, allocations: 42.97 kB / 0.5055 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00244/0.4245, allocations: 0.5806 MB / 0.5061 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007239/0.4318, allocations: 1.861 MB / 0.5079 GB, free: 14.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003312/0.4351, allocations: 0.831 MB / 0.5087 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004542/0.4397, allocations: 1.809 MB / 0.5105 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001944/0.4417, allocations: 0.7855 MB / 0.5113 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/0.4451, allocations: 1.069 MB / 0.5123 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002128/0.4473, allocations: 0.6506 MB / 0.5129 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.4475, allocations: 44.06 kB / 0.513 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002957/0.4505, allocations: 0.7956 MB / 0.5138 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003276/0.4508, allocations: 207.6 kB / 0.514 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006758/0.4515, allocations: 299.7 kB / 0.5142 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003013/0.4545, allocations: 1.567 MB / 0.5158 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4545, allocations: 0 / 0.5158 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.165e-06/0.4546, allocations: 0 / 0.5158 GB, free: 10.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.11e-05/0.4546, allocations: 4 kB / 0.5158 GB, free: 10.96 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.004253/0.4589, allocations: 1.499 MB / 0.5172 GB, free: 9.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001121/0.459, allocations: 8.719 kB / 0.5173 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003272/0.4623, allocations: 0.4901 MB / 0.5177 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/0.4654, allocations: 1.061 MB / 0.5188 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000411/0.4658, allocations: 135.2 kB / 0.5189 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.466, allocations: 87.53 kB / 0.519 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003411/0.4694, allocations: 1.252 MB / 0.5202 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.4694, allocations: 5.062 kB / 0.5202 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.4695, allocations: 42.42 kB / 0.5202 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.709e-05/0.4696, allocations: 26.84 kB / 0.5203 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003095/0.4727, allocations: 1.056 MB / 0.5213 GB, free: 8.078 MB / 398.1 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.008238/0.481, allocations: 5.895 MB / 0.5271 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.4835, allocations: 0.7359 MB / 0.5278 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004128/0.484, allocations: 425 kB / 0.5282 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.484, allocations: 41.58 kB / 0.5282 GB, free: 1.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.385e-06/0.484, allocations: 1.062 kB / 0.5282 GB, free: 1.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.009569/0.4936, allocations: 2.143 MB / 0.5303 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.4938, allocations: 158.5 kB / 0.5305 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/0.4961, allocations: 1.152 MB / 0.5316 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.4963, allocations: 41.7 kB / 0.5316 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/0.4968, allocations: 0.5969 MB / 0.5322 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.497, allocations: 138 kB / 0.5323 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.497, allocations: 12 kB / 0.5324 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4972, allocations: 330 kB / 0.5327 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.4983, allocations: 365.1 kB / 0.533 GB, free: 14.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.5001, allocations: 0.6643 MB / 0.5337 GB, free: 13.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.5013, allocations: 412.5 kB / 0.5341 GB, free: 13.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.5013, allocations: 4 kB / 0.5341 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005704/0.507, allocations: 1.552 MB / 0.5356 GB, free: 11.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001529/0.5086, allocations: 2.816 MB / 0.5383 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.5086, allocations: 4.75 kB / 0.5383 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.5097, allocations: 285.5 kB / 0.5386 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007888/0.5105, allocations: 179.8 kB / 0.5388 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.5121, allocations: 0.8729 MB / 0.5396 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.514, allocations: 234.9 kB / 0.5399 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.5142, allocations: 31.98 kB / 0.5399 GB, free: 6.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.5142, allocations: 7.938 kB / 0.5399 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005102/0.5193, allocations: 1.356 MB / 0.5412 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.5193, allocations: 8 kB / 0.5412 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009994/0.5203, allocations: 278.1 kB / 0.5415 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.521, allocations: 167.7 kB / 0.5417 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.5225, allocations: 0.8762 MB / 0.5425 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.5243, allocations: 195.1 kB / 0.5427 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.604e-05/0.5244, allocations: 31.98 kB / 0.5427 GB, free: 3.902 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008332/0.5253, allocations: 364.9 kB / 0.5431 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003819/0.5257, allocations: 118.6 kB / 0.5432 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/0.5284, allocations: 0.872 MB / 0.544 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.5284, allocations: 7.953 kB / 0.544 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.5284, allocations: 0 / 0.544 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.5284, allocations: 3.984 kB / 0.5441 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004704/0.5331, allocations: 1.936 MB / 0.5459 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.5332, allocations: 4.312 kB / 0.5459 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.5336, allocations: 83.88 kB / 0.546 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009641/0.5345, allocations: 276.5 kB / 0.5463 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.5346, allocations: 11.98 kB / 0.5463 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/0.5361, allocations: 0.8778 MB / 0.5472 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.5361, allocations: 4 kB / 0.5472 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004992/0.5411, allocations: 1.506 MB / 0.5486 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009362/0.542, allocations: 275.5 kB / 0.5489 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004586/0.5425, allocations: 15.89 kB / 0.5489 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.5438, allocations: 131.9 kB / 0.549 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.004e-05/0.5439, allocations: 35.89 kB / 0.5491 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.5439, allocations: 27.97 kB / 0.5491 GB, free: 13.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001387/0.5453, allocations: 0.7915 MB / 0.5499 GB, free: 12.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5453, allocations: 0 / 0.5499 GB, free: 12.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001967/0.5473, allocations: 0.5575 MB / 0.5504 GB, free: 11.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006783/0.548, allocations: 277.3 kB / 0.5507 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003763/0.5518, allocations: 1.27 MB / 0.5519 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.5518, allocations: 3.953 kB / 0.5519 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009634/0.5528, allocations: 352.7 kB / 0.5523 GB, free: 9.895 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/0.5557, allocations: 0.5411 MB / 0.5528 GB, free: 9.363 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005527/0.5612, allocations: 2.452 MB / 0.5552 GB, free: 6.848 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.5619, allocations: 1.085 MB / 0.5562 GB, free: 5.734 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001267/0.5632, allocations: 236.2 kB / 0.5565 GB, free: 5.504 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.5634, allocations: 83.41 kB / 0.5565 GB, free: 5.422 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5634, allocations: 0 / 0.5565 GB, free: 5.422 MB / 430.1 MB Notification: Performance of Templates: time 0.041/0.6044, allocations: 22.83 MB / 0.5788 GB, free: 14.81 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) Environment - environmentSimulation: