Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001107/0.001107, allocations: 108.1 kB / 16.41 MB, free: 6.5 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.001178/0.001178, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002575/0.002576, allocations: 294 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.989/0.989, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 96.28 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4851, allocations: 86.97 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva): time 0.0636/0.5488, allocations: 61.14 MB / 0.8267 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.5685, allocations: 12 MB / 0.8384 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/0.5713, allocations: 59.62 kB / 0.8385 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002504/0.5738, allocations: 0.6752 MB / 0.8392 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006994/0.5808, allocations: 1.958 MB / 0.8411 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00371/0.5846, allocations: 1.214 MB / 0.8423 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005286/0.5899, allocations: 3.087 MB / 0.8453 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002251/0.5922, allocations: 1.096 MB / 0.8463 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004027/0.5962, allocations: 1.325 MB / 0.8476 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002156/0.5984, allocations: 0.8983 MB / 0.8485 GB, free: 196 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004624/0.5989, allocations: 116 kB / 0.8486 GB, free: 80 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003774/0.6026, allocations: 1.443 MB / 0.85 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005817/0.6032, allocations: 294.8 kB / 0.8503 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001559/0.6048, allocations: 0.692 MB / 0.851 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005131/0.61, allocations: 2.309 MB / 0.8533 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.61, allocations: 3.938 kB / 0.8533 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.984e-06/0.61, allocations: 0 / 0.8533 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.817e-05/0.6101, allocations: 0 / 0.8533 GB, free: 11.33 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004476/0.6146, allocations: 1.723 MB / 0.8549 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.6146, allocations: 12.03 kB / 0.8549 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/0.617, allocations: 410.8 kB / 0.8553 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/0.6199, allocations: 1.167 MB / 0.8565 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/0.62, allocations: 62 kB / 0.8565 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.6202, allocations: 80 kB / 0.8566 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.6225, allocations: 0.9976 MB / 0.8576 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.6225, allocations: 0 / 0.8576 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.19e-05/0.6226, allocations: 36 kB / 0.8576 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.6226, allocations: 20 kB / 0.8576 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.6248, allocations: 0.8508 MB / 0.8585 GB, free: 5.809 MB / 0.6231 GB 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.007103/0.6319, allocations: 5.222 MB / 0.8636 GB, free: 216 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003314/0.6352, allocations: 0.7905 MB / 0.8643 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007054/0.636, allocations: 296.7 kB / 0.8646 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006657/0.6366, allocations: 0.9024 MB / 0.8655 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.6367, allocations: 34.56 kB / 0.8655 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.605e-06/0.6367, allocations: 0 / 0.8655 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.006777/0.6435, allocations: 1.701 MB / 0.8672 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.6436, allocations: 63.34 kB / 0.8673 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/0.6454, allocations: 1.072 MB / 0.8683 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-05/0.6455, allocations: 37.7 kB / 0.8683 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.646, allocations: 0.5273 MB / 0.8689 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.6461, allocations: 153.8 kB / 0.869 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.6464, allocations: 138.1 kB / 0.8691 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.6465, allocations: 329.9 kB / 0.8695 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008751/0.6474, allocations: 307.3 kB / 0.8697 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.6485, allocations: 0.5366 MB / 0.8703 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.6502, allocations: 0.7105 MB / 0.871 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.6502, allocations: 4 kB / 0.871 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002815/0.653, allocations: 1.004 MB / 0.8719 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.653, allocations: 4 kB / 0.872 GB, free: 7.145 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.6531, allocations: 11.98 kB / 0.872 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.6544, allocations: 312.6 kB / 0.8723 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.6549, allocations: 131.7 kB / 0.8724 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.6564, allocations: 0.8986 MB / 0.8733 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.6577, allocations: 147.2 kB / 0.8734 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.132e-05/0.6578, allocations: 35.98 kB / 0.8734 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001234/0.659, allocations: 0.509 MB / 0.8739 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001037/0.6601, allocations: 0.5251 MB / 0.8745 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001603/0.6617, allocations: 0.6942 MB / 0.8751 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.234e-06/0.6617, allocations: 4 kB / 0.8751 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002759/0.6645, allocations: 1.004 MB / 0.8761 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.6645, allocations: 10.97 kB / 0.8761 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.6645, allocations: 4 kB / 0.8761 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.6656, allocations: 304.6 kB / 0.8764 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.6662, allocations: 131.8 kB / 0.8765 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.6676, allocations: 0.8995 MB / 0.8774 GB, free: 1.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.6688, allocations: 127.6 kB / 0.8775 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.404e-05/0.6689, allocations: 35.92 kB / 0.8776 GB, free: 1.145 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002519/0.6692, allocations: 220.6 kB / 0.8778 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/0.6695, allocations: 110.6 kB / 0.8779 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.6719, allocations: 0.9145 MB / 0.8788 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.6719, allocations: 4 kB / 0.8788 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.6719, allocations: 3.984 kB / 0.8788 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.672, allocations: 0 / 0.8788 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00522/0.6772, allocations: 2.138 MB / 0.8809 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.6772, allocations: 8.281 kB / 0.8809 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.6775, allocations: 63.83 kB / 0.881 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009858/0.6785, allocations: 288.6 kB / 0.8812 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/0.6786, allocations: 23.92 kB / 0.8812 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.68, allocations: 0.9269 MB / 0.8822 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.68, allocations: 4 kB / 0.8822 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003512/0.6835, allocations: 1.144 MB / 0.8833 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005841/0.6841, allocations: 263.5 kB / 0.8835 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/0.6844, allocations: 8 kB / 0.8835 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009184/0.6853, allocations: 79.84 kB / 0.8836 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.745e-05/0.6855, allocations: 39.83 kB / 0.8836 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.137e-05/0.6855, allocations: 19.98 kB / 0.8837 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001423/0.687, allocations: 0.759 MB / 0.8844 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.11e-07/0.687, allocations: 0 / 0.8844 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001935/0.6889, allocations: 0.5692 MB / 0.885 GB, free: 9.375 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009696/0.6899, allocations: 386.5 kB / 0.8853 GB, free: 9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003317/0.6932, allocations: 1.124 MB / 0.8864 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6932, allocations: 0 / 0.8864 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008801/0.6941, allocations: 339.1 kB / 0.8868 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/0.6969, allocations: 0.5115 MB / 0.8873 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/0.7025, allocations: 2.058 MB / 0.8893 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007405/0.7033, allocations: 1.061 MB / 0.8903 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.7036, allocations: 79.42 kB / 0.8904 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.7036, allocations: 0 / 0.8904 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.03613/0.7397, allocations: 23.97 MB / 0.9138 GB, free: 11.96 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)