Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001174/0.001174, allocations: 193 kB / 16.14 MB, free: 6.703 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 66 kB / 0.9113 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3539, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05704/0.411, allocations: 60.89 MB / 1.127 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01795/0.429, allocations: 12.07 MB / 1.139 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/0.4316, allocations: 55.62 kB / 1.139 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.4339, allocations: 0.5477 MB / 1.139 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006247/0.4402, allocations: 1.804 MB / 1.141 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.4435, allocations: 1.062 MB / 1.142 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005482/0.449, allocations: 3.911 MB / 1.146 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002661/0.4517, allocations: 0.9315 MB / 1.147 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003779/0.4555, allocations: 1.151 MB / 1.148 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.4575, allocations: 0.9021 MB / 1.149 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003969/0.4579, allocations: 60 kB / 1.149 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003667/0.4616, allocations: 1.36 MB / 1.15 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004106/0.462, allocations: 234.9 kB / 1.15 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.4634, allocations: 0.6333 MB / 1.151 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004426/0.4678, allocations: 2.244 MB / 1.153 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4679, allocations: 0 / 1.153 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4679, allocations: 4 kB / 1.153 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.744e-05/0.4679, allocations: 0 / 1.153 GB, free: 2.793 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.004209/0.4722, allocations: 1.716 MB / 1.155 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4722, allocations: 12.03 kB / 1.155 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002453/0.4747, allocations: 410.8 kB / 1.155 GB, free: 0.6016 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.4773, allocations: 1.144 MB / 1.156 GB, free: 15.4 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003931/0.4777, allocations: 117.9 kB / 1.157 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.4779, allocations: 84 kB / 1.157 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.4803, allocations: 0.9778 MB / 1.158 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.4803, allocations: 4 kB / 1.158 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.46e-05/0.4804, allocations: 31.98 kB / 1.158 GB, free: 14.15 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.4805, allocations: 20 kB / 1.158 GB, free: 14.13 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/0.483, allocations: 0.8665 MB / 1.159 GB, free: 13.26 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.007467/0.4905, allocations: 4.836 MB / 1.163 GB, free: 8.07 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00346/0.494, allocations: 0.8007 MB / 1.164 GB, free: 7.258 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007863/0.4948, allocations: 310.3 kB / 1.164 GB, free: 6.953 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008077/0.4956, allocations: 0.9102 MB / 1.165 GB, free: 5.84 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.4957, allocations: 38.56 kB / 1.165 GB, free: 5.793 MB / 0.92 GB Notification: Performance of pre-optimization done (n=44): time 2.815e-06/0.4957, allocations: 0 / 1.165 GB, free: 5.793 MB / 0.92 GB Notification: Performance of matching and sorting (n=44): time 0.009516/0.5052, allocations: 1.926 MB / 1.167 GB, free: 3.836 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.5053, allocations: 55.41 kB / 1.167 GB, free: 3.77 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.5082, allocations: 1.051 MB / 1.168 GB, free: 2.703 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001922/0.5084, allocations: 37.7 kB / 1.168 GB, free: 2.66 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006441/0.5091, allocations: 0.5274 MB / 1.169 GB, free: 2.129 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.5093, allocations: 145.9 kB / 1.169 GB, free: 1.984 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003243/0.5097, allocations: 122.1 kB / 1.169 GB, free: 1.859 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5098, allocations: 330 kB / 1.169 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.5109, allocations: 306.9 kB / 1.17 GB, free: 1.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.5121, allocations: 0.5059 MB / 1.17 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00198/0.5141, allocations: 0.6858 MB / 1.171 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.5141, allocations: 0 / 1.171 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003063/0.5172, allocations: 0.992 MB / 1.172 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.5173, allocations: 8 kB / 1.172 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.5173, allocations: 4 kB / 1.172 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001517/0.5188, allocations: 320.9 kB / 1.172 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/0.5194, allocations: 123.8 kB / 1.172 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.5212, allocations: 0.9229 MB / 1.173 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.5227, allocations: 164.2 kB / 1.173 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.4e-05/0.5228, allocations: 32.02 kB / 1.173 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001323/0.5241, allocations: 0.5088 MB / 1.174 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001083/0.5252, allocations: 0.5033 MB / 1.174 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001771/0.527, allocations: 0.6748 MB / 1.175 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.402e-06/0.527, allocations: 4 kB / 1.175 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003037/0.5301, allocations: 0.9767 MB / 1.176 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.5301, allocations: 11.97 kB / 1.176 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.5301, allocations: 4 kB / 1.176 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.5314, allocations: 312.6 kB / 1.176 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.5319, allocations: 115.8 kB / 1.176 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.5335, allocations: 0.9093 MB / 1.177 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.5351, allocations: 159.5 kB / 1.177 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.416e-05/0.5352, allocations: 35.92 kB / 1.177 GB, free: 8.918 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0002853/0.5355, allocations: 224.7 kB / 1.178 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.5358, allocations: 106.7 kB / 1.178 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/0.5399, allocations: 1.108 MB / 1.179 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/0.5399, allocations: 11.98 kB / 1.179 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.5399, allocations: 3.938 kB / 1.179 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.5399, allocations: 0 / 1.179 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005568/0.5455, allocations: 2.191 MB / 1.181 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.5455, allocations: 0 / 1.181 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.5458, allocations: 63.89 kB / 1.181 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/0.547, allocations: 306.5 kB / 1.181 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/0.5471, allocations: 15.98 kB / 1.181 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.5486, allocations: 0.9425 MB / 1.182 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/0.5486, allocations: 8.016 kB / 1.182 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003808/0.5524, allocations: 1.185 MB / 1.183 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005892/0.553, allocations: 255.6 kB / 1.184 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/0.5533, allocations: 12 kB / 1.184 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.5544, allocations: 107.7 kB / 1.184 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.5545, allocations: 43.88 kB / 1.184 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.4e-05/0.5546, allocations: 27.98 kB / 1.184 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001368/0.5559, allocations: 0.735 MB / 1.185 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.51e-07/0.556, allocations: 0 / 1.185 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001879/0.5578, allocations: 0.5692 MB / 1.185 GB, free: 0.8125 MB / 0.9356 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 (34): * Single equations (assignments): 29 * 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.0009619/0.5588, allocations: 392.5 kB / 1.185 GB, free: 440 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003333/0.5622, allocations: 1.101 MB / 1.187 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5622, allocations: 0 / 1.187 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009782/0.5632, allocations: 360.5 kB / 1.187 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.5659, allocations: 0.4912 MB / 1.187 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005935/0.5718, allocations: 2.427 MB / 1.19 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007563/0.5726, allocations: 1.061 MB / 1.191 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001099/0.5737, allocations: 222.2 kB / 1.191 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.5739, allocations: 75.42 kB / 1.191 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/0.5739, allocations: 0 / 1.191 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of Templates: time 0.04407/0.618, allocations: 23.95 MB / 1.214 GB, free: 2.926 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)