Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y") translateModel(Annex60.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 100 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.0009789/0.0009789, allocations: 177.3 kB / 15.95 MB, free: 216 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.432/1.432, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4265/0.4265, allocations: 54.99 MB / 325.4 MB, free: 0.7812 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.0005768/0.0005769, allocations: 12 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3601, allocations: 60.71 MB / 457.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Examples.Carnot_y): time 0.05197/0.4121, allocations: 62.34 MB / 0.5075 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01743/0.4296, allocations: 10.2 MB / 0.5174 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002642/0.4323, allocations: 52.25 kB / 0.5175 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.435, allocations: 0.7263 MB / 0.5182 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008407/0.4434, allocations: 2.145 MB / 0.5203 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004223/0.4477, allocations: 1.013 MB / 0.5213 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00639/0.4541, allocations: 2.546 MB / 0.5238 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.4561, allocations: 1.006 MB / 0.5247 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003342/0.4594, allocations: 1.185 MB / 0.5259 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.4612, allocations: 0.8091 MB / 0.5267 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.4614, allocations: 57.03 kB / 0.5267 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.4639, allocations: 0.6769 MB / 0.5274 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003621/0.4643, allocations: 263.3 kB / 0.5276 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006063/0.4649, allocations: 376.2 kB / 0.528 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00263/0.4676, allocations: 2.021 MB / 0.53 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.4676, allocations: 1.844 kB / 0.53 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4676, allocations: 0 / 0.53 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.558e-05/0.4676, allocations: 4 kB / 0.53 GB, free: 0.6445 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: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.003889/0.4715, allocations: 1.793 MB / 0.5317 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4716, allocations: 9.625 kB / 0.5317 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.4727, allocations: 261.7 kB / 0.532 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.4752, allocations: 1.329 MB / 0.5333 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.639e-05/0.4753, allocations: 83.36 kB / 0.5334 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.4754, allocations: 109.2 kB / 0.5335 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002926/0.4784, allocations: 1.396 MB / 0.5348 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.4784, allocations: 4.875 kB / 0.5348 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.4786, allocations: 48 kB / 0.5349 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-05/0.4786, allocations: 35.98 kB / 0.5349 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.4812, allocations: 1.081 MB / 0.536 GB, free: 11.69 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.007295/0.4885, allocations: 6.626 MB / 0.5425 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.4903, allocations: 0.6742 MB / 0.5431 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003233/0.4906, allocations: 337 kB / 0.5434 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.4907, allocations: 47.12 kB / 0.5435 GB, free: 3.531 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 3.647e-06/0.4907, allocations: 0 / 0.5435 GB, free: 3.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=67): time 0.006762/0.4975, allocations: 2.456 MB / 0.5459 GB, free: 1.012 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.4976, allocations: 170.7 kB / 0.546 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.4994, allocations: 1.286 MB / 0.5473 GB, free: 15.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.307e-05/0.4994, allocations: 37.7 kB / 0.5473 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005358/0.5, allocations: 0.6605 MB / 0.548 GB, free: 14.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.5002, allocations: 236.6 kB / 0.5482 GB, free: 14.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.5003, allocations: 20 kB / 0.5482 GB, free: 14.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5004, allocations: 337.9 kB / 0.5485 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008311/0.5013, allocations: 349.8 kB / 0.5489 GB, free: 13.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.5024, allocations: 0.6839 MB / 0.5495 GB, free: 13.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009306/0.5033, allocations: 442.8 kB / 0.55 GB, free: 12.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5033, allocations: 0 / 0.55 GB, free: 12.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002316/0.5056, allocations: 1.119 MB / 0.5511 GB, free: 11.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001338/0.507, allocations: 3.021 MB / 0.554 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.507, allocations: 11.98 kB / 0.554 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.161e-05/0.5071, allocations: 15.95 kB / 0.554 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009635/0.508, allocations: 251.6 kB / 0.5543 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/0.5081, allocations: 12 kB / 0.5543 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.5095, allocations: 150.8 kB / 0.5544 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.6e-05/0.5096, allocations: 40 kB / 0.5545 GB, free: 7.812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.5097, allocations: 4 kB / 0.5545 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001872/0.5115, allocations: 0.904 MB / 0.5554 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.5115, allocations: 8 kB / 0.5554 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5116, allocations: 12 kB / 0.5554 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000848/0.5124, allocations: 227.9 kB / 0.5556 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.5125, allocations: 23.94 kB / 0.5556 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.5138, allocations: 123.7 kB / 0.5557 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/0.5139, allocations: 43.92 kB / 0.5558 GB, free: 6.473 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (110): * Single equations (assignments): 110 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000851/0.5147, allocations: 448.7 kB / 0.5562 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.515, allocations: 138.3 kB / 0.5563 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/0.5172, allocations: 0.9807 MB / 0.5573 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.5173, allocations: 15.98 kB / 0.5573 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.5173, allocations: 4 kB / 0.5573 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001765/0.519, allocations: 0.8765 MB / 0.5582 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004519/0.5236, allocations: 2.557 MB / 0.5607 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.5236, allocations: 4 kB / 0.5607 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007266/0.5243, allocations: 175.8 kB / 0.5608 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003188/0.5247, allocations: 91.53 kB / 0.5609 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.752e-05/0.5247, allocations: 23.95 kB / 0.5609 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008908/0.5256, allocations: 1.156 MB / 0.5621 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.5256, allocations: 4 kB / 0.5621 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003276/0.5289, allocations: 1.893 MB / 0.5639 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006922/0.5296, allocations: 339.2 kB / 0.5643 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.5298, allocations: 29.11 kB / 0.5643 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.5309, allocations: 107.8 kB / 0.5644 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.531, allocations: 64.25 kB / 0.5644 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.5311, allocations: 35.98 kB / 0.5645 GB, free: 12.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001325/0.5324, allocations: 0.906 MB / 0.5654 GB, free: 12.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5324, allocations: 0 / 0.5654 GB, free: 12.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002038/0.5345, allocations: 0.6405 MB / 0.566 GB, free: 11.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (65): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007484/0.5352, allocations: 376.2 kB / 0.5663 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002951/0.5382, allocations: 1.348 MB / 0.5677 GB, free: 9.723 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.5382, allocations: 0 / 0.5677 GB, free: 9.723 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.5393, allocations: 454.8 kB / 0.5681 GB, free: 9.285 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003834/0.5431, allocations: 0.8133 MB / 0.5689 GB, free: 8.496 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/0.5476, allocations: 2.902 MB / 0.5717 GB, free: 5.516 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00093/0.5485, allocations: 1.215 MB / 0.5729 GB, free: 4.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001486/0.55, allocations: 338.1 kB / 0.5732 GB, free: 3.941 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.5503, allocations: 111.4 kB / 0.5733 GB, free: 3.832 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5503, allocations: 0 / 0.5733 GB, free: 3.832 MB / 446.1 MB Notification: Performance of Templates: time 0.04891/0.5992, allocations: 29.12 MB / 0.6018 GB, free: 6.977 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: