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.001552/0.001553, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001252/0.001252, allocations: 194.3 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4277/0.4277, allocations: 54.93 MB / 324.4 MB, free: 68 kB / 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.001379/0.001379, allocations: 63.91 kB / 394.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1274, allocations: 59.59 MB / 454.5 MB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Examples.Carnot_TEva): time 0.2461/0.3735, allocations: 59.97 MB / 0.5024 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02015/0.3937, allocations: 11.16 MB / 0.5133 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00399/0.3978, allocations: 47.16 kB / 0.5134 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003267/0.4011, allocations: 0.6262 MB / 0.514 GB, free: 6.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008138/0.4093, allocations: 1.793 MB / 0.5157 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00376/0.4131, allocations: 0.9305 MB / 0.5166 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005858/0.419, allocations: 3.042 MB / 0.5196 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.421, allocations: 1.061 MB / 0.5206 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004153/0.4251, allocations: 1.443 MB / 0.522 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.4278, allocations: 1.007 MB / 0.523 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003438/0.4282, allocations: 123.3 kB / 0.5232 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00361/0.4318, allocations: 1.204 MB / 0.5243 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004649/0.4323, allocations: 308.7 kB / 0.5246 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.4336, allocations: 0.7327 MB / 0.5253 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004233/0.4378, allocations: 2.222 MB / 0.5275 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4379, allocations: 0 / 0.5275 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4379, allocations: 0.7969 kB / 0.5275 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.001e-05/0.4379, allocations: 1.188 kB / 0.5275 GB, free: 15.68 MB / 414.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.004416/0.4423, allocations: 1.738 MB / 0.5292 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.4424, allocations: 9.906 kB / 0.5292 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/0.4451, allocations: 457.5 kB / 0.5297 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.4477, allocations: 1.121 MB / 0.5307 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/0.4481, allocations: 120.9 kB / 0.5309 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.4483, allocations: 91.06 kB / 0.5309 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003106/0.4514, allocations: 1.22 MB / 0.5321 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.4514, allocations: 2.781 kB / 0.5321 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-05/0.4515, allocations: 37.97 kB / 0.5322 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-05/0.4516, allocations: 25.09 kB / 0.5322 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/0.4546, allocations: 0.9916 MB / 0.5332 GB, free: 11.86 MB / 414.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.009356/0.4639, allocations: 5.839 MB / 0.5389 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/0.4662, allocations: 0.6622 MB / 0.5395 GB, free: 5.441 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006599/0.4669, allocations: 269.5 kB / 0.5398 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003823/0.4673, allocations: 421.8 kB / 0.5402 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.4673, allocations: 42.89 kB / 0.5402 GB, free: 4.621 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.565e-06/0.4673, allocations: 0 / 0.5402 GB, free: 4.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=39): time 0.008745/0.4761, allocations: 1.881 MB / 0.5421 GB, free: 2.715 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/0.4762, allocations: 162.2 kB / 0.5422 GB, free: 2.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.4779, allocations: 1.137 MB / 0.5433 GB, free: 1.371 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.478, allocations: 33.7 kB / 0.5434 GB, free: 1.332 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/0.4785, allocations: 0.5891 MB / 0.5439 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.4786, allocations: 142 kB / 0.5441 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/0.4789, allocations: 154 kB / 0.5442 GB, free: 452 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.479, allocations: 337.9 kB / 0.5445 GB, free: 108 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009584/0.4799, allocations: 335.3 kB / 0.5449 GB, free: 15.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.4811, allocations: 0.6274 MB / 0.5455 GB, free: 15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.4829, allocations: 0.8188 MB / 0.5463 GB, free: 14.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4829, allocations: 0 / 0.5463 GB, free: 14.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002826/0.4857, allocations: 1.097 MB / 0.5473 GB, free: 12.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4857, allocations: 8 kB / 0.5473 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4858, allocations: 8.688 kB / 0.5474 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009315/0.4867, allocations: 261.6 kB / 0.5476 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/0.4874, allocations: 171.7 kB / 0.5478 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.4887, allocations: 0.8541 MB / 0.5486 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.4902, allocations: 214.9 kB / 0.5488 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.4903, allocations: 28 kB / 0.5488 GB, free: 11.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001196/0.4915, allocations: 0.5168 MB / 0.5493 GB, free: 10.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001024/0.4926, allocations: 0.6046 MB / 0.5499 GB, free: 10.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001573/0.4941, allocations: 0.7686 MB / 0.5507 GB, free: 9.289 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-06/0.4942, allocations: 4 kB / 0.5507 GB, free: 9.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.002776/0.4969, allocations: 1.05 MB / 0.5517 GB, free: 8.227 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.497, allocations: 8 kB / 0.5517 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.497, allocations: 11.98 kB / 0.5517 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008761/0.4979, allocations: 265.6 kB / 0.552 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/0.4985, allocations: 151.7 kB / 0.5521 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.4998, allocations: 0.8539 MB / 0.553 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.5013, allocations: 171.4 kB / 0.5531 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.5014, allocations: 28 kB / 0.5531 GB, free: 6.723 MB / 430.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 (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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003016/0.5017, allocations: 228 kB / 0.5534 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.5019, allocations: 119.9 kB / 0.5535 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.5042, allocations: 0.802 MB / 0.5543 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.5043, allocations: 11.92 kB / 0.5543 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5043, allocations: 0 / 0.5543 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.5043, allocations: 4 kB / 0.5543 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/0.508, allocations: 1.87 MB / 0.5561 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.508, allocations: 4 kB / 0.5561 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.5084, allocations: 67.88 kB / 0.5562 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008562/0.5093, allocations: 258 kB / 0.5564 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.5093, allocations: 11.98 kB / 0.5564 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.5106, allocations: 0.8458 MB / 0.5573 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5107, allocations: 8.062 kB / 0.5573 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004445/0.5151, allocations: 1.237 MB / 0.5585 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007815/0.5159, allocations: 263.5 kB / 0.5587 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.5161, allocations: 12 kB / 0.5587 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.5171, allocations: 107.8 kB / 0.5588 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.593e-05/0.5173, allocations: 35.89 kB / 0.5589 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.595e-05/0.5173, allocations: 19.98 kB / 0.5589 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001276/0.5186, allocations: 0.7837 MB / 0.5597 GB, free: 15.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5186, allocations: 0 / 0.5597 GB, free: 15.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002114/0.5207, allocations: 0.5575 MB / 0.5602 GB, free: 15.3 MB / 446.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 (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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008134/0.5216, allocations: 280.1 kB / 0.5605 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003322/0.5249, allocations: 1.184 MB / 0.5616 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.5249, allocations: 0.5 kB / 0.5616 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008573/0.5258, allocations: 320.2 kB / 0.5619 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/0.5285, allocations: 0.5575 MB / 0.5625 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/0.5335, allocations: 2.397 MB / 0.5648 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/0.5341, allocations: 1.062 MB / 0.5659 GB, free: 9.484 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00113/0.5353, allocations: 239.1 kB / 0.5661 GB, free: 9.254 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.5355, allocations: 83.34 kB / 0.5662 GB, free: 9.172 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5355, allocations: 0 / 0.5662 GB, free: 9.172 MB / 446.1 MB Notification: Performance of Templates: time 0.03684/0.5723, allocations: 24.06 MB / 0.5897 GB, free: 1.344 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.makefile (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)