Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, 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.001785/0.001785, allocations: 193.7 kB / 16.14 MB, free: 6.695 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 472.6 MB / 0.7447 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 61.97 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3603, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06555/0.4259, allocations: 60.87 MB / 1.127 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01889/0.4448, allocations: 12.09 MB / 1.139 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.4471, allocations: 55.69 kB / 1.139 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.4497, allocations: 0.5555 MB / 1.139 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006714/0.4565, allocations: 1.793 MB / 1.141 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003588/0.4601, allocations: 1.082 MB / 1.142 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005682/0.4658, allocations: 3.902 MB / 1.146 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/0.4678, allocations: 0.9594 MB / 1.147 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/0.4708, allocations: 1.147 MB / 1.148 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.4728, allocations: 0.906 MB / 1.149 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002992/0.4731, allocations: 56 kB / 1.149 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003571/0.4767, allocations: 1.345 MB / 1.15 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005321/0.4772, allocations: 246.8 kB / 1.151 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.4786, allocations: 0.6372 MB / 1.151 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004326/0.4829, allocations: 2.251 MB / 1.153 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.483, allocations: 0 / 1.153 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.72e-07/0.483, allocations: 0 / 1.153 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.637e-05/0.4831, allocations: 0 / 1.153 GB, free: 2.746 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004003/0.4871, allocations: 1.73 MB / 1.155 GB, free: 0.9531 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4871, allocations: 8.031 kB / 1.155 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/0.49, allocations: 462.7 kB / 1.155 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/0.4927, allocations: 1.132 MB / 1.157 GB, free: 15.3 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003684/0.4931, allocations: 117.9 kB / 1.157 GB, free: 15.19 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.4933, allocations: 84 kB / 1.157 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.4958, allocations: 1.01 MB / 1.158 GB, free: 14.07 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.4959, allocations: 0 / 1.158 GB, free: 14.07 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.165e-05/0.496, allocations: 35.94 kB / 1.158 GB, free: 14.03 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.496, allocations: 16 kB / 1.158 GB, free: 14.02 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002787/0.4988, allocations: 0.9485 MB / 1.159 GB, free: 13.07 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.01001/0.5088, allocations: 4.684 MB / 1.163 GB, free: 8.035 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005856/0.5147, allocations: 1.004 MB / 1.164 GB, free: 7.023 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.5164, allocations: 417 kB / 1.165 GB, free: 6.617 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/0.5179, allocations: 1.013 MB / 1.166 GB, free: 5.379 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.518, allocations: 35 kB / 1.166 GB, free: 5.336 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 3.366e-06/0.518, allocations: 0 / 1.166 GB, free: 5.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=53): time 0.01371/0.5317, allocations: 2.244 MB / 1.168 GB, free: 3.062 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.5319, allocations: 55.84 kB / 1.168 GB, free: 2.996 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/0.5342, allocations: 0.9392 MB / 1.169 GB, free: 2.039 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001512/0.5344, allocations: 41.7 kB / 1.169 GB, free: 1.992 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005831/0.535, allocations: 0.4924 MB / 1.169 GB, free: 1.496 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.5353, allocations: 193.2 kB / 1.17 GB, free: 1.305 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/0.5356, allocations: 134.1 kB / 1.17 GB, free: 1.168 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.5359, allocations: 322 kB / 1.17 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.5373, allocations: 362.8 kB / 1.17 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.539, allocations: 0.5156 MB / 1.171 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002931/0.542, allocations: 0.7618 MB / 1.172 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.542, allocations: 4 kB / 1.172 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004303/0.5463, allocations: 1.068 MB / 1.173 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.5463, allocations: 8 kB / 1.173 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.5464, allocations: 4 kB / 1.173 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/0.5481, allocations: 312.8 kB / 1.173 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000951/0.5491, allocations: 135.8 kB / 1.173 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.5512, allocations: 0.9013 MB / 1.174 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.553, allocations: 163.3 kB / 1.174 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.5531, allocations: 31.92 kB / 1.174 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001996/0.5551, allocations: 0.5673 MB / 1.175 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001613/0.5568, allocations: 0.5116 MB / 1.175 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002034/0.5588, allocations: 0.7541 MB / 1.176 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/0.5588, allocations: 4 kB / 1.176 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003073/0.5619, allocations: 1.064 MB / 1.177 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.5619, allocations: 4 kB / 1.177 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.5619, allocations: 4 kB / 1.177 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.5631, allocations: 300.7 kB / 1.177 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/0.5639, allocations: 143.7 kB / 1.177 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.5653, allocations: 0.9015 MB / 1.178 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.5666, allocations: 151.5 kB / 1.178 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.252e-05/0.5667, allocations: 35.97 kB / 1.178 GB, free: 7.895 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0002397/0.5669, allocations: 213.3 kB / 1.179 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.5671, allocations: 110.7 kB / 1.179 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004666/0.5718, allocations: 1.315 MB / 1.18 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.5718, allocations: 8 kB / 1.18 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.5718, allocations: 3.984 kB / 1.18 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.5718, allocations: 0 / 1.18 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006019/0.5779, allocations: 2.424 MB / 1.182 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.5779, allocations: 0 / 1.182 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/0.5785, allocations: 103.8 kB / 1.183 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.5796, allocations: 298.8 kB / 1.183 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/0.5796, allocations: 15.98 kB / 1.183 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/0.5811, allocations: 0.9464 MB / 1.184 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5812, allocations: 0 / 1.184 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004352/0.5855, allocations: 1.343 MB / 1.185 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/0.5861, allocations: 279.4 kB / 1.185 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.5862, allocations: 11.94 kB / 1.185 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009803/0.5872, allocations: 111.8 kB / 1.185 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.657e-05/0.5873, allocations: 40.39 kB / 1.186 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.015e-05/0.5874, allocations: 23.92 kB / 1.186 GB, free: 492 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001083/0.5885, allocations: 0.6596 MB / 1.186 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5885, allocations: 4 kB / 1.186 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001556/0.5901, allocations: 0.5691 MB / 1.187 GB, free: 15.24 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008484/0.5909, allocations: 393.4 kB / 1.187 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003848/0.5948, allocations: 1.303 MB / 1.188 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5948, allocations: 3.938 kB / 1.188 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.5961, allocations: 468.8 kB / 1.189 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.5986, allocations: 0.4999 MB / 1.189 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004053/0.6027, allocations: 2.303 MB / 1.192 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/0.6033, allocations: 1.063 MB / 1.193 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001045/0.6043, allocations: 239.2 kB / 1.193 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.6046, allocations: 79.41 kB / 1.193 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of SimCode: time 7.42e-07/0.6046, allocations: 4 kB / 1.193 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of Templates: time 0.0398/0.6444, allocations: 23.78 MB / 1.216 GB, free: 1.336 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)