Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007724/0.0007724, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.004938/0.004939, allocations: 171 kB / 16.27 MB, free: 6.324 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.325/1.325, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001715, allocations: 273.4 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9819/0.9819, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004666, allocations: 23.98 kB / 0.5987 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.153, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4209/0.5739, allocations: 129.3 MB / 0.8114 GB, free: 23.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02802/0.602, allocations: 23.08 MB / 0.834 GB, free: 6.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004848/0.6068, allocations: 107.8 kB / 0.8341 GB, free: 6.922 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004666/0.6115, allocations: 1.199 MB / 0.8352 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.6218, allocations: 3.786 MB / 0.8389 GB, free: 2.852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004766/0.6266, allocations: 1.961 MB / 0.8408 GB, free: 1.359 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009243/0.6359, allocations: 8.281 MB / 0.8489 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003064/0.6389, allocations: 1.93 MB / 0.8508 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005405/0.6444, allocations: 2.292 MB / 0.8531 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003669/0.6481, allocations: 1.797 MB / 0.8548 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005943/0.6487, allocations: 91.91 kB / 0.8549 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004915/0.6536, allocations: 1.719 MB / 0.8566 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008438/0.6545, allocations: 441.7 kB / 0.857 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003018/0.6575, allocations: 1.295 MB / 0.8583 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007259/0.6648, allocations: 4.139 MB / 0.8623 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.6648, allocations: 0 / 0.8623 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6648, allocations: 4 kB / 0.8623 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001242/0.6649, allocations: 0 / 0.8623 GB, free: 1.75 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.005709/0.6707, allocations: 2.682 MB / 0.8649 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.6707, allocations: 8.031 kB / 0.8649 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004754/0.6755, allocations: 0.9577 MB / 0.8659 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00466/0.6802, allocations: 2.268 MB / 0.8681 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001039/0.6812, allocations: 322.8 kB / 0.8684 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004148/0.6817, allocations: 160 kB / 0.8686 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004383/0.6861, allocations: 1.977 MB / 0.8705 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.6861, allocations: 3.938 kB / 0.8705 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/0.6863, allocations: 68 kB / 0.8706 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.6863, allocations: 36 kB / 0.8706 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00496/0.6913, allocations: 1.913 MB / 0.8725 GB, free: 7.137 MB / 0.5762 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.01385/0.7052, allocations: 9.113 MB / 0.8814 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004418/0.7096, allocations: 1.295 MB / 0.8826 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.7108, allocations: 497.9 kB / 0.8831 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.7119, allocations: 1.719 MB / 0.8848 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.712, allocations: 42.31 kB / 0.8848 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.905e-06/0.712, allocations: 4 kB / 0.8848 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.009336/0.7213, allocations: 2.519 MB / 0.8873 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.7214, allocations: 85.11 kB / 0.8874 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004223/0.7256, allocations: 2.54 MB / 0.8898 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001604/0.7258, allocations: 49.7 kB / 0.8899 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008995/0.7267, allocations: 1.045 MB / 0.8909 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/0.7271, allocations: 272.1 kB / 0.8912 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.7272, allocations: 89.67 kB / 0.8912 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7274, allocations: 349.9 kB / 0.8916 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.7292, allocations: 0.6272 MB / 0.8922 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.7314, allocations: 1.017 MB / 0.8932 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003167/0.7345, allocations: 1.322 MB / 0.8945 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.7346, allocations: 3.938 kB / 0.8945 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006963/0.7415, allocations: 2.192 MB / 0.8966 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.7416, allocations: 8 kB / 0.8966 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.7416, allocations: 8 kB / 0.8966 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001887/0.7435, allocations: 0.5074 MB / 0.8971 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.7448, allocations: 303.6 kB / 0.8974 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.7471, allocations: 1.553 MB / 0.8989 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/0.7503, allocations: 487.2 kB / 0.8994 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.7505, allocations: 59.97 kB / 0.8995 GB, free: 10 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008922/0.7514, allocations: 457.5 kB / 0.8999 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/0.7518, allocations: 252.8 kB / 0.9001 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003796/0.7556, allocations: 1.563 MB / 0.9017 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.7556, allocations: 11.98 kB / 0.9017 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.7556, allocations: 11.94 kB / 0.9017 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/0.7557, allocations: 3.984 kB / 0.9017 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007861/0.7635, allocations: 3.702 MB / 0.9053 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.7636, allocations: 12 kB / 0.9053 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/0.7642, allocations: 127.8 kB / 0.9054 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001753/0.766, allocations: 0.501 MB / 0.9059 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-05/0.7661, allocations: 27.98 kB / 0.906 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00269/0.7688, allocations: 1.653 MB / 0.9076 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7688, allocations: 4.031 kB / 0.9076 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006314/0.7751, allocations: 2.08 MB / 0.9096 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.7761, allocations: 0.5054 MB / 0.9101 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/0.7764, allocations: 23.94 kB / 0.9101 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/0.7782, allocations: 203.5 kB / 0.9103 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.7783, allocations: 55.86 kB / 0.9104 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-05/0.7784, allocations: 43.91 kB / 0.9104 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002956/0.7814, allocations: 1.793 MB / 0.9122 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7814, allocations: 0 / 0.9122 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001842/0.7832, allocations: 0.6866 MB / 0.9128 GB, free: 12.02 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.7843, allocations: 0.6003 MB / 0.9134 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00417/0.7885, allocations: 1.428 MB / 0.9148 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7885, allocations: 0 / 0.9148 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002435/0.791, allocations: 0.7333 MB / 0.9155 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007173/0.7981, allocations: 1.325 MB / 0.9168 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00642/0.8046, allocations: 4.368 MB / 0.9211 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009568/0.8056, allocations: 1.487 MB / 0.9225 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001878/0.8074, allocations: 437.7 kB / 0.923 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004687/0.8079, allocations: 175.4 kB / 0.9231 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of SimCode: time 7.82e-07/0.8079, allocations: 0 / 0.9231 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of Templates: time 0.07888/0.8868, allocations: 51.08 MB / 0.973 GB, free: 15.02 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)