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.001172/0.001172, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 188.7 kB / 16.62 MB, free: 6.613 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.397/1.397, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4015/0.4015, allocations: 54.94 MB / 324.8 MB, free: 15.93 MB / 270.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.001907/0.001907, allocations: 67.91 kB / 396.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4303, allocations: 59.58 MB / 455.7 MB, free: 40.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Examples.Carnot_TEva): time 0.05272/0.4831, allocations: 60.47 MB / 0.504 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02109/0.5042, allocations: 11.23 MB / 0.515 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003369/0.5077, allocations: 47.22 kB / 0.5151 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002826/0.5106, allocations: 0.734 MB / 0.5158 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008183/0.5188, allocations: 1.927 MB / 0.5177 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003852/0.5226, allocations: 1.024 MB / 0.5187 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00706/0.5297, allocations: 3.023 MB / 0.5216 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002704/0.5324, allocations: 1.087 MB / 0.5227 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005714/0.5382, allocations: 1.437 MB / 0.5241 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003068/0.5413, allocations: 0.9691 MB / 0.525 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006069/0.5419, allocations: 118.8 kB / 0.5251 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004412/0.5463, allocations: 1.198 MB / 0.5263 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006761/0.547, allocations: 300.7 kB / 0.5266 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.5486, allocations: 0.7272 MB / 0.5273 GB, free: 328 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005011/0.5537, allocations: 2.236 MB / 0.5295 GB, free: 15.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.5537, allocations: 0 / 0.5295 GB, free: 15.01 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5537, allocations: 0 / 0.5295 GB, free: 15.01 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.722e-05/0.5537, allocations: 1.531 kB / 0.5295 GB, free: 15.01 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.004061/0.5578, allocations: 1.734 MB / 0.5312 GB, free: 13.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.5579, allocations: 8.938 kB / 0.5312 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/0.5604, allocations: 463.4 kB / 0.5316 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.563, allocations: 1.146 MB / 0.5327 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.272e-05/0.5631, allocations: 66.34 kB / 0.5328 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.5633, allocations: 96.83 kB / 0.5329 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/0.5661, allocations: 1.23 MB / 0.5341 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.5661, allocations: 5.312 kB / 0.5341 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.72e-05/0.5662, allocations: 39.19 kB / 0.5341 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.73e-05/0.5663, allocations: 26.12 kB / 0.5342 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/0.569, allocations: 0.9806 MB / 0.5351 GB, free: 11.13 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.007384/0.5764, allocations: 6.224 MB / 0.5412 GB, free: 4.656 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.5785, allocations: 0.6524 MB / 0.5418 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006224/0.5792, allocations: 257.3 kB / 0.5421 GB, free: 3.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/0.5795, allocations: 422.5 kB / 0.5425 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/0.5796, allocations: 40.08 kB / 0.5425 GB, free: 3.191 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.805e-06/0.5796, allocations: 3.938 kB / 0.5425 GB, free: 3.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=39): time 0.008295/0.5879, allocations: 1.843 MB / 0.5443 GB, free: 1.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.804e-05/0.5881, allocations: 158.2 kB / 0.5445 GB, free: 1.129 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.59, allocations: 1.165 MB / 0.5456 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.5901, allocations: 37.7 kB / 0.5457 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005078/0.5906, allocations: 0.5967 MB / 0.5462 GB, free: 15.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.5908, allocations: 138 kB / 0.5464 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.5911, allocations: 154.5 kB / 0.5465 GB, free: 15.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5912, allocations: 337.9 kB / 0.5468 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009102/0.5921, allocations: 344.6 kB / 0.5472 GB, free: 14.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/0.5934, allocations: 0.6542 MB / 0.5478 GB, free: 13.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/0.5953, allocations: 0.8458 MB / 0.5486 GB, free: 12.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.5953, allocations: 0 / 0.5486 GB, free: 12.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00536/0.6007, allocations: 1.43 MB / 0.55 GB, free: 11.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.6007, allocations: 8 kB / 0.55 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.6008, allocations: 8 kB / 0.55 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009777/0.6017, allocations: 252.6 kB / 0.5503 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007655/0.6025, allocations: 175.8 kB / 0.5505 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.604, allocations: 0.8372 MB / 0.5513 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.6058, allocations: 191.7 kB / 0.5515 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.255e-05/0.6059, allocations: 39.98 kB / 0.5515 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001323/0.6072, allocations: 0.5253 MB / 0.552 GB, free: 9.074 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001075/0.6083, allocations: 0.6308 MB / 0.5526 GB, free: 8.297 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001623/0.61, allocations: 0.8027 MB / 0.5534 GB, free: 7.383 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.559e-06/0.61, allocations: 0 / 0.5534 GB, free: 7.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00484/0.6148, allocations: 1.368 MB / 0.5547 GB, free: 6.008 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.6149, allocations: 8 kB / 0.5547 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.6149, allocations: 8 kB / 0.5548 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008449/0.6157, allocations: 257.5 kB / 0.555 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.6164, allocations: 167.7 kB / 0.5552 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.6176, allocations: 0.8507 MB / 0.556 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.6192, allocations: 147.6 kB / 0.5561 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/0.6192, allocations: 32 kB / 0.5562 GB, free: 4.527 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (77): * Single equations (assignments): 76 * 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.0002987/0.6195, allocations: 232 kB / 0.5564 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.6198, allocations: 118.5 kB / 0.5565 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.6219, allocations: 0.7937 MB / 0.5573 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.622, allocations: 4 kB / 0.5573 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.622, allocations: 0 / 0.5573 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.622, allocations: 7.984 kB / 0.5573 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003492/0.6255, allocations: 1.847 MB / 0.5591 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/0.6255, allocations: 4 kB / 0.5591 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.6259, allocations: 71.88 kB / 0.5592 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008139/0.6267, allocations: 246 kB / 0.5594 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.6267, allocations: 15.98 kB / 0.5594 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.6279, allocations: 0.8293 MB / 0.5602 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.6279, allocations: 7.969 kB / 0.5602 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004241/0.6322, allocations: 1.223 MB / 0.5614 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006055/0.6328, allocations: 259.5 kB / 0.5617 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.633, allocations: 15.92 kB / 0.5617 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009693/0.6339, allocations: 87.89 kB / 0.5618 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.634, allocations: 27.97 kB / 0.5618 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/0.6341, allocations: 23.98 kB / 0.5618 GB, free: 14.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001226/0.6353, allocations: 0.7958 MB / 0.5626 GB, free: 13.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6354, allocations: 3.938 kB / 0.5626 GB, free: 13.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001891/0.6373, allocations: 0.5654 MB / 0.5632 GB, free: 13.16 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.0006806/0.6379, allocations: 275.9 kB / 0.5634 GB, free: 12.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003376/0.6413, allocations: 1.223 MB / 0.5646 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.6414, allocations: 4 kB / 0.5646 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008333/0.6422, allocations: 301.1 kB / 0.5649 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/0.6447, allocations: 0.5687 MB / 0.5655 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/0.6497, allocations: 1.983 MB / 0.5674 GB, free: 8.824 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.6503, allocations: 1.062 MB / 0.5684 GB, free: 7.734 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001141/0.6515, allocations: 248.6 kB / 0.5687 GB, free: 7.492 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.6517, allocations: 83.42 kB / 0.5687 GB, free: 7.41 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.6517, allocations: 3.938 kB / 0.5687 GB, free: 7.406 MB / 446.1 MB Notification: Performance of Templates: time 0.04353/0.6952, allocations: 24.51 MB / 0.5927 GB, free: 15.1 MB / 478.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)