Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.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.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008238/0.008238, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 8.781 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2872, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07202/0.3593, allocations: 73.49 MB / 1.146 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02616/0.3855, allocations: 15.04 MB / 1.161 GB, free: 14.73 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003663/0.3892, allocations: 55.62 kB / 1.161 GB, free: 14.67 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003494/0.3927, allocations: 0.676 MB / 1.161 GB, free: 13.99 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009431/0.4022, allocations: 2.396 MB / 1.164 GB, free: 11.59 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005136/0.4074, allocations: 1.271 MB / 1.165 GB, free: 10.33 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009361/0.4167, allocations: 5.554 MB / 1.17 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002934/0.4197, allocations: 1.155 MB / 1.171 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/0.4236, allocations: 1.326 MB / 1.173 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002684/0.4263, allocations: 1.147 MB / 1.174 GB, free: 1.094 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004774/0.4268, allocations: 56 kB / 1.174 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004403/0.4312, allocations: 1.239 MB / 1.175 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006991/0.4319, allocations: 294.6 kB / 1.175 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002005/0.4339, allocations: 0.7983 MB / 1.176 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006016/0.44, allocations: 2.714 MB / 1.179 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.44, allocations: 0 / 1.179 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.494e-06/0.44, allocations: 0 / 1.179 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.745e-05/0.4401, allocations: 0 / 1.179 GB, free: 11.98 MB / 0.9356 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.005178/0.4453, allocations: 1.787 MB / 1.181 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.4453, allocations: 8.031 kB / 1.181 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.4467, allocations: 242.9 kB / 1.181 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004076/0.4508, allocations: 1.493 MB / 1.182 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.4509, allocations: 78 kB / 1.182 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/0.4512, allocations: 104 kB / 1.182 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/0.4545, allocations: 1.12 MB / 1.184 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/0.4546, allocations: 0 / 1.184 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.4547, allocations: 40 kB / 1.184 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/0.4548, allocations: 28 kB / 1.184 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003114/0.4579, allocations: 0.9329 MB / 1.184 GB, free: 6 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.009431/0.4674, allocations: 4.919 MB / 1.189 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.4694, allocations: 0.6393 MB / 1.19 GB, free: 148 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.4706, allocations: 366.4 kB / 1.19 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.4716, allocations: 0.8277 MB / 1.191 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.4717, allocations: 39.12 kB / 1.191 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=61): time 4.629e-06/0.4717, allocations: 0 / 1.191 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of matching and sorting (n=61): time 0.008879/0.4806, allocations: 1.9 MB / 1.193 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.4807, allocations: 59.97 kB / 1.193 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.4825, allocations: 1.214 MB / 1.194 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.657e-05/0.4827, allocations: 37.7 kB / 1.194 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005481/0.4832, allocations: 0.6026 MB / 1.195 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.4834, allocations: 224.8 kB / 1.195 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/0.4835, allocations: 57.69 kB / 1.195 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4837, allocations: 334 kB / 1.195 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00074/0.4844, allocations: 301.8 kB / 1.196 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008975/0.4853, allocations: 0.5085 MB / 1.196 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.4869, allocations: 0.7558 MB / 1.197 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4869, allocations: 0 / 1.197 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005258/0.4921, allocations: 1.41 MB / 1.198 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.4923, allocations: 195.7 kB / 1.199 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4923, allocations: 4 kB / 1.199 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/0.4929, allocations: 148.7 kB / 1.199 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.4936, allocations: 167.8 kB / 1.199 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000907/0.4945, allocations: 0.7161 MB / 1.2 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.4959, allocations: 167 kB / 1.2 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/0.496, allocations: 35.98 kB / 1.2 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.496, allocations: 4 kB / 1.2 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004857/0.5008, allocations: 1.253 MB / 1.201 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.5009, allocations: 4 kB / 1.201 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/0.5014, allocations: 153 kB / 1.201 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006407/0.5021, allocations: 163.8 kB / 1.201 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009403/0.5031, allocations: 0.7161 MB / 1.202 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.5045, allocations: 162 kB / 1.202 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.5047, allocations: 35.98 kB / 1.202 GB, free: 3.102 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0008931/0.5056, allocations: 417.4 kB / 1.203 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003776/0.5059, allocations: 138.2 kB / 1.203 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00523/0.5112, allocations: 1.408 MB / 1.204 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.5112, allocations: 11.98 kB / 1.204 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.5112, allocations: 0 / 1.204 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004547/0.5158, allocations: 1.24 MB / 1.205 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007525/0.5233, allocations: 2.739 MB / 1.208 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.5234, allocations: 4 kB / 1.208 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/0.5239, allocations: 119.8 kB / 1.208 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005022/0.5244, allocations: 149.1 kB / 1.208 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/0.5244, allocations: 16 kB / 1.208 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004996/0.5295, allocations: 2.486 MB / 1.211 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.5295, allocations: 4 kB / 1.211 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005894/0.5354, allocations: 1.856 MB / 1.212 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008319/0.5362, allocations: 327.1 kB / 1.213 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003492/0.5366, allocations: 19.94 kB / 1.213 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.5377, allocations: 95.81 kB / 1.213 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.5379, allocations: 64.34 kB / 1.213 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.217e-05/0.5379, allocations: 35.92 kB / 1.213 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001472/0.5394, allocations: 0.8701 MB / 1.214 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5394, allocations: 0 / 1.214 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002231/0.5417, allocations: 0.7096 MB / 1.215 GB, free: 6.004 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/0.5427, allocations: 453 kB / 1.215 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002803/0.5455, allocations: 1.172 MB / 1.216 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5455, allocations: 0 / 1.216 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.5471, allocations: 0.5995 MB / 1.217 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004596/0.5517, allocations: 0.7816 MB / 1.217 GB, free: 3 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.5563, allocations: 2.823 MB / 1.22 GB, free: 104 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008633/0.5571, allocations: 1.183 MB / 1.221 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00134/0.5585, allocations: 310.9 kB / 1.222 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.5588, allocations: 111.4 kB / 1.222 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of SimCode: time 8.41e-07/0.5588, allocations: 0 / 1.222 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of Templates: time 0.5421/1.101, allocations: 31.9 MB / 1.253 GB, free: 174 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)