Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009553/0.0009553, allocations: 98.45 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.00116/0.00116, 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.477/1.477, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4398/0.4398, allocations: 54.97 MB / 325.3 MB, free: 0.7148 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.0005689/0.0005691, allocations: 16 kB / 396.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.355, allocations: 60.71 MB / 457.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04813/0.4032, allocations: 58.53 MB / 0.5037 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02056/0.4238, allocations: 14.35 MB / 0.5177 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.4263, allocations: 48.59 kB / 0.5178 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.4292, allocations: 0.6552 MB / 0.5184 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008565/0.4377, allocations: 2.225 MB / 0.5206 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004138/0.4419, allocations: 1.052 MB / 0.5216 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005127/0.447, allocations: 2.22 MB / 0.5238 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/0.4495, allocations: 1.02 MB / 0.5248 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00388/0.4534, allocations: 1.343 MB / 0.5261 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002424/0.4559, allocations: 0.8323 MB / 0.5269 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004802/0.4564, allocations: 60.97 kB / 0.527 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003486/0.4599, allocations: 0.8362 MB / 0.5278 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006991/0.4606, allocations: 252.4 kB / 0.528 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.4617, allocations: 386.9 kB / 0.5284 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003656/0.4653, allocations: 2.304 MB / 0.5307 GB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4653, allocations: 0 / 0.5307 GB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4654, allocations: 0 / 0.5307 GB, free: 15.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001029/0.4655, allocations: 0 / 0.5307 GB, free: 15.67 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.00491/0.4704, allocations: 1.732 MB / 0.5323 GB, free: 14.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.4704, allocations: 9.125 kB / 0.5324 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.4734, allocations: 0.5293 MB / 0.5329 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003888/0.4773, allocations: 1.411 MB / 0.5342 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006032/0.4779, allocations: 155.4 kB / 0.5344 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000352/0.4783, allocations: 118.7 kB / 0.5345 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004876/0.4831, allocations: 1.488 MB / 0.536 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/0.4832, allocations: 3.938 kB / 0.536 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/0.4834, allocations: 52 kB / 0.536 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.92e-05/0.4835, allocations: 39.95 kB / 0.5361 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004418/0.488, allocations: 1.214 MB / 0.5372 GB, free: 10.37 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.01507/0.5031, allocations: 8.254 MB / 0.5453 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/0.5054, allocations: 0.6547 MB / 0.5459 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.5065, allocations: 1.223 MB / 0.5471 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.5066, allocations: 43.48 kB / 0.5472 GB, free: 15.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 4.779e-06/0.5066, allocations: 96 / 0.5472 GB, free: 15.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.007928/0.5145, allocations: 1.536 MB / 0.5487 GB, free: 13.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.5146, allocations: 158.2 kB / 0.5488 GB, free: 13.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004211/0.5189, allocations: 1.638 MB / 0.5504 GB, free: 11.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.519, allocations: 37.7 kB / 0.5505 GB, free: 11.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.52, allocations: 0.7348 MB / 0.5512 GB, free: 11.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.5204, allocations: 157.8 kB / 0.5513 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.183e-05/0.5205, allocations: 16 kB / 0.5513 GB, free: 11.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.5207, allocations: 341.9 kB / 0.5517 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.5222, allocations: 389.8 kB / 0.552 GB, free: 10.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/0.5242, allocations: 0.7764 MB / 0.5528 GB, free: 9.352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.5259, allocations: 473.8 kB / 0.5533 GB, free: 8.887 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.5259, allocations: 4 kB / 0.5533 GB, free: 8.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.004768/0.5307, allocations: 1.303 MB / 0.5545 GB, free: 7.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.5308, allocations: 12 kB / 0.5545 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/0.5308, allocations: 12.95 kB / 0.5546 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.532, allocations: 220.9 kB / 0.5548 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.5333, allocations: 231.7 kB / 0.555 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.5344, allocations: 0.724 MB / 0.5557 GB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/0.5372, allocations: 290.3 kB / 0.556 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.5373, allocations: 55.97 kB / 0.556 GB, free: 6.012 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (95): * Single equations (assignments): 94 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006834/0.538, allocations: 365.5 kB / 0.5564 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003806/0.5384, allocations: 159.1 kB / 0.5565 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.5407, allocations: 0.9964 MB / 0.5575 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.5407, allocations: 8.875 kB / 0.5575 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.5407, allocations: 0 / 0.5575 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.5407, allocations: 7.984 kB / 0.5575 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005799/0.5465, allocations: 2.499 MB / 0.5599 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.5466, allocations: 4 kB / 0.56 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.5469, allocations: 88.25 kB / 0.56 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007147/0.5477, allocations: 205.7 kB / 0.5602 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.5477, allocations: 15.98 kB / 0.5602 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007483/0.5485, allocations: 0.7084 MB / 0.5609 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5485, allocations: 4 kB / 0.5609 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.5519, allocations: 1.357 MB / 0.5623 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008984/0.5528, allocations: 374.8 kB / 0.5626 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004765/0.5533, allocations: 8 kB / 0.5626 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.5547, allocations: 115.8 kB / 0.5627 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.5548, allocations: 35.89 kB / 0.5628 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.481e-05/0.5548, allocations: 24.55 kB / 0.5628 GB, free: 14.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002224/0.5571, allocations: 1.178 MB / 0.564 GB, free: 13.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5571, allocations: 0 / 0.564 GB, free: 13.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001674/0.5588, allocations: 415.4 kB / 0.5643 GB, free: 13.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009314/0.5597, allocations: 379.8 kB / 0.5647 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00229/0.562, allocations: 0.8158 MB / 0.5655 GB, free: 12.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.562, allocations: 4 kB / 0.5655 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007381/0.5628, allocations: 304.2 kB / 0.5658 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003894/0.5667, allocations: 0.7563 MB / 0.5665 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005313/0.572, allocations: 2.65 MB / 0.5691 GB, free: 8.254 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009949/0.573, allocations: 1.198 MB / 0.5703 GB, free: 7.023 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001507/0.5745, allocations: 279.7 kB / 0.5706 GB, free: 6.762 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/0.5749, allocations: 115.4 kB / 0.5707 GB, free: 6.648 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.575, allocations: 0 / 0.5707 GB, free: 6.648 MB / 446.1 MB Notification: Performance of Templates: time 0.04914/0.6241, allocations: 29.46 MB / 0.5994 GB, free: 9.41 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) Environment - environmentSimulation: