Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 98.77 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.001398/0.001399, 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.535/1.535, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3782/0.3782, allocations: 54.98 MB / 325.4 MB, free: 0.7031 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.0005037/0.0005038, allocations: 12 kB / 396.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3108, allocations: 60.72 MB / 457.3 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.03824/0.349, allocations: 50.7 MB / 0.4961 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.3624, allocations: 9.671 MB / 0.5055 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.3647, allocations: 42.81 kB / 0.5056 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.3672, allocations: 0.5807 MB / 0.5061 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00746/0.3747, allocations: 1.867 MB / 0.508 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.3778, allocations: 0.8293 MB / 0.5088 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003948/0.3818, allocations: 1.82 MB / 0.5106 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.3834, allocations: 0.8087 MB / 0.5113 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.3863, allocations: 1.067 MB / 0.5124 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.388, allocations: 0.6591 MB / 0.513 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.3882, allocations: 44.62 kB / 0.5131 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.3906, allocations: 0.7972 MB / 0.5139 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.3909, allocations: 207.1 kB / 0.514 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004939/0.3914, allocations: 306.9 kB / 0.5143 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.3939, allocations: 1.572 MB / 0.5159 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.3939, allocations: 3.938 kB / 0.5159 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.394, allocations: 5.219 kB / 0.5159 GB, free: 10.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.292e-05/0.394, allocations: 0 / 0.5159 GB, free: 10.59 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003406/0.3974, allocations: 1.5 MB / 0.5173 GB, free: 9.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3975, allocations: 9.219 kB / 0.5174 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/0.4006, allocations: 0.5441 MB / 0.5179 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.4032, allocations: 1.058 MB / 0.5189 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003853/0.4036, allocations: 139 kB / 0.5191 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.4038, allocations: 88.31 kB / 0.5191 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/0.407, allocations: 1.28 MB / 0.5204 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.407, allocations: 3.938 kB / 0.5204 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.4071, allocations: 42.02 kB / 0.5204 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.405e-05/0.4072, allocations: 39.55 kB / 0.5205 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003217/0.4104, allocations: 1.127 MB / 0.5216 GB, free: 7.605 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.008038/0.4185, allocations: 6.14 MB / 0.5276 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003105/0.4216, allocations: 0.9684 MB / 0.5285 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003451/0.422, allocations: 418.1 kB / 0.5289 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.422, allocations: 45.19 kB / 0.529 GB, free: 1.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.344e-06/0.422, allocations: 0 / 0.529 GB, free: 1.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.007965/0.43, allocations: 2.078 MB / 0.531 GB, free: 60 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.4302, allocations: 167 kB / 0.5311 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.4319, allocations: 1.042 MB / 0.5322 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.734e-05/0.4319, allocations: 37.7 kB / 0.5322 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005668/0.4325, allocations: 0.5851 MB / 0.5328 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.4327, allocations: 145.8 kB / 0.5329 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.4328, allocations: 15.94 kB / 0.5329 GB, free: 14.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4329, allocations: 337.9 kB / 0.5332 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.4341, allocations: 405 kB / 0.5336 GB, free: 13.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.4355, allocations: 0.67 MB / 0.5343 GB, free: 12.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.4368, allocations: 445.8 kB / 0.5347 GB, free: 12.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4368, allocations: 0 / 0.5347 GB, free: 12.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005824/0.4426, allocations: 1.614 MB / 0.5363 GB, free: 10.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001335/0.444, allocations: 2.367 MB / 0.5386 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.444, allocations: 8 kB / 0.5386 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.4452, allocations: 281.5 kB / 0.5389 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008868/0.4461, allocations: 191.7 kB / 0.5391 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.4475, allocations: 0.8723 MB / 0.5399 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.4492, allocations: 218.9 kB / 0.5401 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.814e-05/0.4493, allocations: 32.92 kB / 0.5401 GB, free: 6.543 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.4493, allocations: 4 kB / 0.5402 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005018/0.4543, allocations: 1.41 MB / 0.5415 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.4544, allocations: 4.656 kB / 0.5415 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009232/0.4553, allocations: 281.4 kB / 0.5418 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/0.4561, allocations: 179.7 kB / 0.542 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.4575, allocations: 0.8835 MB / 0.5428 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.4589, allocations: 183.3 kB / 0.543 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/0.459, allocations: 31.3 kB / 0.543 GB, free: 3.559 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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.0006673/0.4597, allocations: 372.5 kB / 0.5434 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.4599, allocations: 114.6 kB / 0.5435 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.463, allocations: 1.062 MB / 0.5445 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.463, allocations: 4 kB / 0.5445 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4631, allocations: 3.938 kB / 0.5446 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.4631, allocations: 7.984 kB / 0.5446 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006692/0.4698, allocations: 2.469 MB / 0.547 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4698, allocations: 4.031 kB / 0.547 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005758/0.4704, allocations: 115.8 kB / 0.5471 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008778/0.4713, allocations: 268.6 kB / 0.5473 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.4713, allocations: 19.98 kB / 0.5474 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.4727, allocations: 0.8777 MB / 0.5482 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4727, allocations: 0 / 0.5482 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005095/0.4778, allocations: 1.608 MB / 0.5498 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006336/0.4784, allocations: 275.6 kB / 0.55 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.4786, allocations: 12.55 kB / 0.5501 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.4797, allocations: 147.7 kB / 0.5502 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.802e-05/0.4798, allocations: 35.86 kB / 0.5502 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/0.4799, allocations: 23.97 kB / 0.5503 GB, free: 11.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001092/0.481, allocations: 0.7203 MB / 0.551 GB, free: 11.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.481, allocations: 0 / 0.551 GB, free: 11.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001805/0.4828, allocations: 0.5653 MB / 0.5515 GB, free: 10.65 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 30 * 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 Backend phase and start with SimCode phase: time 0.0006742/0.4835, allocations: 270.1 kB / 0.5518 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003885/0.4874, allocations: 1.43 MB / 0.5532 GB, free: 8.957 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4874, allocations: 0 / 0.5532 GB, free: 8.957 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.4886, allocations: 440.9 kB / 0.5536 GB, free: 8.527 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.4912, allocations: 0.5317 MB / 0.5541 GB, free: 8.008 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.4953, allocations: 2.309 MB / 0.5564 GB, free: 5.641 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006371/0.496, allocations: 1.092 MB / 0.5574 GB, free: 4.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001249/0.4973, allocations: 238.8 kB / 0.5577 GB, free: 4.293 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.4975, allocations: 87.41 kB / 0.5577 GB, free: 4.207 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4975, allocations: 0 / 0.5577 GB, free: 4.207 MB / 430.1 MB Notification: Performance of Templates: time 0.03724/0.5347, allocations: 22.37 MB / 0.5796 GB, free: 14.06 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) Environment - environmentSimulation: