Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007878/0.0007881, allocations: 98.19 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.005805/0.005805, allocations: 171 kB / 16.27 MB, free: 6.332 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.407/1.407, 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/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 16.91 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2992, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05531/0.3546, allocations: 59.76 MB / 1.132 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.3705, allocations: 11.94 MB / 1.144 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.3721, allocations: 55.62 kB / 1.144 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.3737, allocations: 0.5477 MB / 1.145 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004461/0.3782, allocations: 1.796 MB / 1.146 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.3808, allocations: 1.07 MB / 1.148 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004082/0.3849, allocations: 3.898 MB / 1.151 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.3861, allocations: 0.906 MB / 1.152 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.3883, allocations: 1.124 MB / 1.153 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.3895, allocations: 0.8515 MB / 1.154 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.3896, allocations: 40 kB / 1.154 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.392, allocations: 1.325 MB / 1.155 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.3923, allocations: 226.9 kB / 1.156 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006461/0.3929, allocations: 0.6272 MB / 1.156 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.3954, allocations: 2.185 MB / 1.158 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3954, allocations: 3.938 kB / 1.158 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3954, allocations: 0 / 1.158 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.3955, allocations: 0 / 1.158 GB, free: 0.918 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.002517/0.398, allocations: 1.481 MB / 1.16 GB, free: 15.38 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.398, allocations: 15.97 kB / 1.16 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/0.4003, allocations: 470.8 kB / 1.16 GB, free: 14.9 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.4022, allocations: 1.132 MB / 1.161 GB, free: 13.71 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003695/0.4026, allocations: 137.8 kB / 1.162 GB, free: 13.58 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.4027, allocations: 80 kB / 1.162 GB, free: 13.5 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.4048, allocations: 1.005 MB / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.4048, allocations: 3.938 kB / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.894e-05/0.4049, allocations: 32 kB / 1.163 GB, free: 12.42 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.4049, allocations: 20 kB / 1.163 GB, free: 12.4 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.4073, allocations: 0.9134 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.006131/0.4135, allocations: 4.887 MB / 1.168 GB, free: 6.242 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00364/0.4171, allocations: 0.898 MB / 1.169 GB, free: 5.332 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007743/0.4179, allocations: 336.5 kB / 1.17 GB, free: 5 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000631/0.4185, allocations: 0.9025 MB / 1.17 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.4186, allocations: 42.5 kB / 1.17 GB, free: 3.844 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.4186, allocations: 0 / 1.17 GB, free: 3.844 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.009186/0.4278, allocations: 2.145 MB / 1.173 GB, free: 1.668 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.4278, allocations: 63.34 kB / 1.173 GB, free: 1.594 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.4295, allocations: 1.051 MB / 1.174 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.394e-05/0.4296, allocations: 37.7 kB / 1.174 GB, free: 496 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004449/0.43, allocations: 0.5351 MB / 1.174 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.4301, allocations: 149.8 kB / 1.174 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/0.4302, allocations: 45.7 kB / 1.174 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4304, allocations: 330 kB / 1.175 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009194/0.4313, allocations: 320.9 kB / 1.175 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.4324, allocations: 0.5415 MB / 1.176 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.4342, allocations: 0.7279 MB / 1.176 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4342, allocations: 0 / 1.176 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002777/0.437, allocations: 1.052 MB / 1.177 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.4371, allocations: 213.5 kB / 1.178 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.4372, allocations: 11.98 kB / 1.178 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.4385, allocations: 331.5 kB / 1.178 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/0.4391, allocations: 123.8 kB / 1.178 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.4407, allocations: 0.9464 MB / 1.179 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.442, allocations: 199.1 kB / 1.179 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.758e-05/0.4421, allocations: 31.97 kB / 1.179 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-06/0.4421, allocations: 4 kB / 1.179 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002515/0.4446, allocations: 0.9143 MB / 1.18 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4447, allocations: 4 kB / 1.18 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.4458, allocations: 328.6 kB / 1.18 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.4463, allocations: 127.8 kB / 1.18 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.4478, allocations: 0.9364 MB / 1.181 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.4489, allocations: 167.4 kB / 1.182 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.449, allocations: 31.98 kB / 1.182 GB, free: 8.172 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.000502/0.4495, allocations: 348.9 kB / 1.182 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.4497, allocations: 106.7 kB / 1.182 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004025/0.4537, allocations: 1.199 MB / 1.183 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.4537, allocations: 4 kB / 1.183 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4537, allocations: 0 / 1.183 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.4538, allocations: 15.86 kB / 1.183 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005197/0.459, allocations: 2.265 MB / 1.185 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.459, allocations: 4 kB / 1.185 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.4593, allocations: 72.11 kB / 1.185 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.4604, allocations: 326.5 kB / 1.186 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.4604, allocations: 12 kB / 1.186 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.4619, allocations: 0.9775 MB / 1.187 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.462, allocations: 4.031 kB / 1.187 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003792/0.4658, allocations: 1.253 MB / 1.188 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000454/0.4662, allocations: 283.4 kB / 1.188 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.4664, allocations: 12 kB / 1.188 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009871/0.4674, allocations: 111.8 kB / 1.188 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.4675, allocations: 35.89 kB / 1.188 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/0.4676, allocations: 23.98 kB / 1.188 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001266/0.4688, allocations: 0.7506 MB / 1.189 GB, free: 188 kB / 0.9356 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4688, allocations: 0 / 1.189 GB, free: 188 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001683/0.4705, allocations: 0.5575 MB / 1.19 GB, free: 15.62 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.0008644/0.4714, allocations: 384.2 kB / 1.19 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003467/0.4749, allocations: 1.172 MB / 1.191 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4749, allocations: 0 / 1.191 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009814/0.4759, allocations: 370.5 kB / 1.192 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00298/0.4789, allocations: 0.4981 MB / 1.192 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006045/0.4849, allocations: 2.53 MB / 1.194 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007331/0.4857, allocations: 1.069 MB / 1.196 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001016/0.4867, allocations: 212.7 kB / 1.196 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.4869, allocations: 79.42 kB / 1.196 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/0.487, allocations: 0 / 1.196 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of Templates: time 0.04184/0.5288, allocations: 23.9 MB / 1.219 GB, free: 1.602 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)