Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0008147/0.0008144, allocations: 97.56 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.005906/0.005906, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.488/1.488, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003697, allocations: 15.03 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4035, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05877/0.4624, allocations: 59.76 MB / 1.132 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0173/0.4797, allocations: 11.93 MB / 1.144 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.4822, allocations: 51.62 kB / 1.144 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.4842, allocations: 0.5438 MB / 1.145 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006164/0.4904, allocations: 1.804 MB / 1.146 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003386/0.4938, allocations: 1.078 MB / 1.148 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005665/0.4994, allocations: 3.902 MB / 1.151 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.5011, allocations: 0.9021 MB / 1.152 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/0.504, allocations: 1.12 MB / 1.153 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.5055, allocations: 0.8514 MB / 1.154 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.5057, allocations: 44 kB / 1.154 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.5087, allocations: 1.341 MB / 1.155 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002588/0.509, allocations: 210.9 kB / 1.156 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008354/0.5098, allocations: 0.635 MB / 1.156 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00315/0.513, allocations: 2.181 MB / 1.158 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.513, allocations: 3.984 kB / 1.158 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.054e-06/0.513, allocations: 4 kB / 1.158 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.5131, allocations: 0 / 1.158 GB, free: 0.9062 MB / 0.9044 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.002677/0.5157, allocations: 1.489 MB / 1.16 GB, free: 15.36 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.5158, allocations: 11.97 kB / 1.16 GB, free: 15.35 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/0.518, allocations: 478.8 kB / 1.16 GB, free: 14.88 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.5201, allocations: 1.113 MB / 1.161 GB, free: 13.71 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003661/0.5205, allocations: 133.9 kB / 1.162 GB, free: 13.58 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.5206, allocations: 76 kB / 1.162 GB, free: 13.5 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.5226, allocations: 1.013 MB / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.5227, allocations: 0 / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.5228, allocations: 32 kB / 1.163 GB, free: 12.41 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.5228, allocations: 16 kB / 1.163 GB, free: 12.4 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.5252, allocations: 0.9133 MB / 1.164 GB, free: 11.49 MB / 0.92 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.006271/0.5315, allocations: 4.878 MB / 1.168 GB, free: 6.254 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003641/0.5351, allocations: 0.9174 MB / 1.169 GB, free: 5.324 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007728/0.5359, allocations: 326 kB / 1.17 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006812/0.5366, allocations: 0.8986 MB / 1.17 GB, free: 3.902 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.5366, allocations: 42.45 kB / 1.17 GB, free: 3.852 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.795e-06/0.5366, allocations: 4 kB / 1.17 GB, free: 3.848 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.00773/0.5444, allocations: 1.946 MB / 1.172 GB, free: 1.871 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.5445, allocations: 59.39 kB / 1.172 GB, free: 1.801 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.5461, allocations: 1.063 MB / 1.173 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.03e-05/0.5462, allocations: 37.7 kB / 1.174 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/0.5466, allocations: 0.5195 MB / 1.174 GB, free: 160 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.5467, allocations: 153.8 kB / 1.174 GB, free: 4 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.5469, allocations: 49.7 kB / 1.174 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.547, allocations: 329.9 kB / 1.175 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009231/0.5479, allocations: 324.9 kB / 1.175 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.549, allocations: 0.5297 MB / 1.175 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.5507, allocations: 0.724 MB / 1.176 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.5507, allocations: 4 kB / 1.176 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003779/0.5545, allocations: 1.216 MB / 1.177 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.5547, allocations: 217.4 kB / 1.177 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.5547, allocations: 4 kB / 1.177 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.556, allocations: 336.6 kB / 1.178 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.5566, allocations: 131.8 kB / 1.178 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.5582, allocations: 0.937 MB / 1.179 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.5596, allocations: 195.2 kB / 1.179 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.5597, allocations: 31.98 kB / 1.179 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.5597, allocations: 4 kB / 1.179 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003371/0.5631, allocations: 1.058 MB / 1.18 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.5631, allocations: 11.88 kB / 1.18 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.5642, allocations: 325 kB / 1.18 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000507/0.5647, allocations: 127.9 kB / 1.181 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.5662, allocations: 0.9361 MB / 1.181 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.5675, allocations: 167.4 kB / 1.182 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.5676, allocations: 35.97 kB / 1.182 GB, free: 8.074 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.0006558/0.5682, allocations: 352.9 kB / 1.182 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.5684, allocations: 118.6 kB / 1.182 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002484/0.5709, allocations: 0.969 MB / 1.183 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.5709, allocations: 11.98 kB / 1.183 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.571, allocations: 0 / 1.183 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.571, allocations: 0 / 1.183 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005572/0.5765, allocations: 2.257 MB / 1.185 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.5766, allocations: 0 / 1.185 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.5769, allocations: 76.17 kB / 1.185 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.5781, allocations: 325.9 kB / 1.186 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.5781, allocations: 12 kB / 1.186 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.5798, allocations: 0.9776 MB / 1.187 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.5798, allocations: 4.031 kB / 1.187 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004387/0.5842, allocations: 1.253 MB / 1.188 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006991/0.585, allocations: 279.4 kB / 1.188 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.5852, allocations: 15.98 kB / 1.188 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.5863, allocations: 119.7 kB / 1.188 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.5864, allocations: 35.95 kB / 1.188 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.968e-05/0.5865, allocations: 27.98 kB / 1.188 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001433/0.588, allocations: 0.7391 MB / 1.189 GB, free: 320 kB / 0.9356 GB Notification: Performance of sort global known variables: time 3.31e-07/0.588, allocations: 0 / 1.189 GB, free: 320 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002018/0.59, allocations: 0.5614 MB / 1.19 GB, free: 15.75 MB / 0.9512 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.0009727/0.591, allocations: 382.9 kB / 1.19 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003456/0.5945, allocations: 1.176 MB / 1.191 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.5945, allocations: 0 / 1.191 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009876/0.5955, allocations: 366.5 kB / 1.191 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/0.5986, allocations: 0.5019 MB / 1.192 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00623/0.6048, allocations: 2.547 MB / 1.194 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/0.6056, allocations: 1.062 MB / 1.195 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001102/0.6067, allocations: 216.7 kB / 1.196 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.607, allocations: 83.41 kB / 1.196 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of SimCode: time 1.353e-06/0.607, allocations: 0 / 1.196 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of Templates: time 0.04597/0.6529, allocations: 23.8 MB / 1.219 GB, free: 1.801 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)