Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001237/0.001238, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001666/0.001666, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.56/1.56, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002534/0.002535, allocations: 61.69 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3582, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.08671/0.4449, allocations: 74.7 MB / 1.14 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.022/0.467, allocations: 12.84 MB / 1.153 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003273/0.4703, allocations: 59.62 kB / 1.153 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003038/0.4734, allocations: 0.676 MB / 1.154 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008382/0.4818, allocations: 2.267 MB / 1.156 GB, free: 80 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004437/0.4863, allocations: 1.269 MB / 1.157 GB, free: 14.82 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007808/0.4941, allocations: 5.547 MB / 1.163 GB, free: 9.258 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002571/0.4967, allocations: 1.183 MB / 1.164 GB, free: 8.043 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00392/0.5006, allocations: 1.357 MB / 1.165 GB, free: 6.68 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002882/0.5035, allocations: 1.174 MB / 1.166 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00058/0.5041, allocations: 72 kB / 1.166 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005191/0.5093, allocations: 1.267 MB / 1.168 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000967/0.5103, allocations: 306.6 kB / 1.168 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003015/0.5134, allocations: 0.8084 MB / 1.169 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006881/0.5203, allocations: 2.777 MB / 1.171 GB, free: 268 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.5203, allocations: 0 / 1.171 GB, free: 268 kB / 0.92 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5203, allocations: 0 / 1.171 GB, free: 268 kB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001063/0.5204, allocations: 0 / 1.171 GB, free: 268 kB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006345/0.5268, allocations: 2.079 MB / 1.173 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.5268, allocations: 20.02 kB / 1.173 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.5282, allocations: 222.8 kB / 1.174 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/0.532, allocations: 1.493 MB / 1.175 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.509e-05/0.5322, allocations: 78 kB / 1.175 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.5325, allocations: 104 kB / 1.175 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/0.5353, allocations: 1.1 MB / 1.176 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.5353, allocations: 0 / 1.176 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.5354, allocations: 39.98 kB / 1.176 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.165e-05/0.5355, allocations: 24 kB / 1.176 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.5378, allocations: 0.89 MB / 1.177 GB, free: 10.06 MB / 0.9356 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.008018/0.5458, allocations: 4.907 MB / 1.182 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.5474, allocations: 0.6198 MB / 1.183 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007442/0.5481, allocations: 342.3 kB / 1.183 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007685/0.5489, allocations: 0.8316 MB / 1.184 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.549, allocations: 43.06 kB / 1.184 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 3.156e-06/0.549, allocations: 0 / 1.184 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007582/0.5566, allocations: 1.678 MB / 1.185 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.5566, allocations: 59.97 kB / 1.185 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.5589, allocations: 1.214 MB / 1.187 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.559, allocations: 37.7 kB / 1.187 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000576/0.5596, allocations: 0.5987 MB / 1.187 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.5598, allocations: 220.9 kB / 1.188 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/0.5601, allocations: 150.6 kB / 1.188 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5603, allocations: 334 kB / 1.188 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007031/0.561, allocations: 288.6 kB / 1.188 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000922/0.5619, allocations: 0.492 MB / 1.189 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.5634, allocations: 0.7129 MB / 1.189 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.5634, allocations: 4 kB / 1.189 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004928/0.5684, allocations: 1.269 MB / 1.191 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.5684, allocations: 9.25 kB / 1.191 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.5684, allocations: 4 kB / 1.191 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006527/0.5691, allocations: 140.8 kB / 1.191 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/0.5698, allocations: 151.8 kB / 1.191 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008989/0.5707, allocations: 0.6928 MB / 1.192 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.5722, allocations: 167 kB / 1.192 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-05/0.5723, allocations: 27.98 kB / 1.192 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001288/0.5736, allocations: 0.5488 MB / 1.192 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008566/0.5745, allocations: 495.8 kB / 1.193 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001422/0.5759, allocations: 0.7089 MB / 1.194 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.499e-06/0.5759, allocations: 3.938 kB / 1.194 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004882/0.5808, allocations: 1.258 MB / 1.195 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.5808, allocations: 12.16 kB / 1.195 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.5809, allocations: 7.938 kB / 1.195 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005408/0.5814, allocations: 132.7 kB / 1.195 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.582, allocations: 159.7 kB / 1.195 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008965/0.5829, allocations: 0.6967 MB / 1.196 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.5844, allocations: 135.5 kB / 1.196 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.216e-05/0.5845, allocations: 35.98 kB / 1.196 GB, free: 6.016 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003012/0.5848, allocations: 217.3 kB / 1.196 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004464/0.5853, allocations: 134.3 kB / 1.196 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004783/0.59, allocations: 1.267 MB / 1.197 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.5901, allocations: 11.98 kB / 1.197 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.5901, allocations: 0 / 1.197 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004108/0.5942, allocations: 1.099 MB / 1.199 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007655/0.6019, allocations: 2.61 MB / 1.201 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/0.6019, allocations: 4 kB / 1.201 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.6025, allocations: 124.2 kB / 1.201 GB, free: 392 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005303/0.603, allocations: 128.7 kB / 1.201 GB, free: 260 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.906e-05/0.6031, allocations: 23.92 kB / 1.201 GB, free: 236 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004773/0.6079, allocations: 2.341 MB / 1.204 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.6079, allocations: 4 kB / 1.204 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005595/0.6135, allocations: 1.695 MB / 1.205 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009279/0.6145, allocations: 307.2 kB / 1.206 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004056/0.6149, allocations: 16.05 kB / 1.206 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.6161, allocations: 95.75 kB / 1.206 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.6162, allocations: 52.31 kB / 1.206 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.73e-05/0.6163, allocations: 31.97 kB / 1.206 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001611/0.6179, allocations: 0.866 MB / 1.207 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.51e-07/0.618, allocations: 8 kB / 1.207 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002622/0.6206, allocations: 0.7018 MB / 1.207 GB, free: 9.887 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001721/0.6223, allocations: 454.5 kB / 1.208 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003827/0.6262, allocations: 1.11 MB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.6262, allocations: 0 / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/0.628, allocations: 0.5565 MB / 1.209 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005598/0.6337, allocations: 0.7605 MB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005323/0.639, allocations: 2.747 MB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.6402, allocations: 1.172 MB / 1.214 GB, free: 3 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00173/0.642, allocations: 307 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/0.6423, allocations: 107.4 kB / 1.214 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of SimCode: time 1.353e-06/0.6424, allocations: 0 / 1.214 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of Templates: time 0.05808/0.7004, allocations: 30.37 MB / 1.244 GB, free: 4.566 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)