Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 69.78 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4115, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06232/0.4738, allocations: 61.28 MB / 1.128 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0196/0.4935, allocations: 12.03 MB / 1.14 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003029/0.4966, allocations: 55.69 kB / 1.14 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.4991, allocations: 0.6791 MB / 1.14 GB, free: 116 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007141/0.5063, allocations: 1.971 MB / 1.142 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003423/0.5097, allocations: 1.198 MB / 1.144 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004441/0.5141, allocations: 3.091 MB / 1.147 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.5157, allocations: 1.124 MB / 1.148 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003065/0.5188, allocations: 1.326 MB / 1.149 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.5203, allocations: 0.9023 MB / 1.15 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.5205, allocations: 116 kB / 1.15 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.5234, allocations: 1.447 MB / 1.151 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003028/0.5237, allocations: 298.8 kB / 1.152 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007745/0.5245, allocations: 0.6997 MB / 1.152 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003636/0.5281, allocations: 2.271 MB / 1.155 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.5282, allocations: 0 / 1.155 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.687e-06/0.5282, allocations: 0 / 1.155 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.754e-05/0.5282, allocations: 3.938 kB / 1.155 GB, free: 1.609 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.003151/0.5313, allocations: 1.75 MB / 1.156 GB, free: 15.8 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.5314, allocations: 8.031 kB / 1.156 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.5336, allocations: 402.8 kB / 1.157 GB, free: 15.4 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.5356, allocations: 1.109 MB / 1.158 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000355/0.536, allocations: 121.9 kB / 1.158 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.5361, allocations: 80 kB / 1.158 GB, free: 14.04 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.5382, allocations: 1.025 MB / 1.159 GB, free: 12.95 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.5383, allocations: 7.938 kB / 1.159 GB, free: 12.94 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.784e-05/0.5384, allocations: 36 kB / 1.159 GB, free: 12.91 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.5384, allocations: 20 kB / 1.159 GB, free: 12.89 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.5408, allocations: 0.8938 MB / 1.16 GB, free: 12 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.007386/0.5482, allocations: 5.275 MB / 1.165 GB, free: 6.344 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/0.5518, allocations: 0.8085 MB / 1.166 GB, free: 5.523 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007978/0.5526, allocations: 321.6 kB / 1.166 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007094/0.5533, allocations: 0.8986 MB / 1.167 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.5533, allocations: 42.5 kB / 1.167 GB, free: 4.055 MB / 0.92 GB Notification: Performance of pre-optimization done (n=44): time 2.284e-06/0.5533, allocations: 4 kB / 1.167 GB, free: 4.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=44): time 0.009057/0.5624, allocations: 1.953 MB / 1.169 GB, free: 2.066 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.5625, allocations: 59.41 kB / 1.169 GB, free: 1.996 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.5642, allocations: 1.08 MB / 1.17 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.741e-05/0.5643, allocations: 37.69 kB / 1.17 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/0.5647, allocations: 0.5389 MB / 1.171 GB, free: 324 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.5649, allocations: 153.8 kB / 1.171 GB, free: 168 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.5651, allocations: 146.1 kB / 1.171 GB, free: 16 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5652, allocations: 322 kB / 1.171 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009979/0.5662, allocations: 335.2 kB / 1.172 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.5674, allocations: 0.5593 MB / 1.172 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/0.5693, allocations: 0.7502 MB / 1.173 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.5693, allocations: 7.938 kB / 1.173 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004032/0.5733, allocations: 1.207 MB / 1.174 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.5734, allocations: 8 kB / 1.174 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.5734, allocations: 4 kB / 1.174 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.5747, allocations: 316.6 kB / 1.174 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006027/0.5753, allocations: 139.8 kB / 1.174 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.5769, allocations: 0.9132 MB / 1.175 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.5783, allocations: 159.2 kB / 1.176 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.848e-05/0.5784, allocations: 35.98 kB / 1.176 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001359/0.5798, allocations: 0.5324 MB / 1.176 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001146/0.5809, allocations: 0.5502 MB / 1.177 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001817/0.5827, allocations: 0.7455 MB / 1.177 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.981e-06/0.5828, allocations: 4 kB / 1.177 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003994/0.5868, allocations: 1.188 MB / 1.178 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.5868, allocations: 8 kB / 1.178 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.5868, allocations: 4 kB / 1.178 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.588, allocations: 300.7 kB / 1.179 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.5886, allocations: 139.8 kB / 1.179 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.59, allocations: 0.917 MB / 1.18 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.5914, allocations: 147.5 kB / 1.18 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.007e-05/0.5915, allocations: 31.98 kB / 1.18 GB, free: 6.301 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0002495/0.5917, allocations: 224.7 kB / 1.18 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.5919, allocations: 110.7 kB / 1.18 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004039/0.596, allocations: 1.141 MB / 1.181 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.596, allocations: 8.078 kB / 1.181 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.596, allocations: 0 / 1.181 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.596, allocations: 3.984 kB / 1.181 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005478/0.6015, allocations: 2.226 MB / 1.184 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.6016, allocations: 0 / 1.184 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.6019, allocations: 75.88 kB / 1.184 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.603, allocations: 302.1 kB / 1.184 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.603, allocations: 19.92 kB / 1.184 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.6046, allocations: 0.9364 MB / 1.185 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.6046, allocations: 7.938 kB / 1.185 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003952/0.6085, allocations: 1.212 MB / 1.186 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/0.6091, allocations: 267.5 kB / 1.186 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.6093, allocations: 12 kB / 1.186 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008749/0.6101, allocations: 79.91 kB / 1.186 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.6103, allocations: 47.59 kB / 1.186 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/0.6103, allocations: 27.98 kB / 1.187 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00119/0.6115, allocations: 0.7553 MB / 1.187 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.5e-07/0.6115, allocations: 0 / 1.187 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001674/0.6132, allocations: 0.5692 MB / 1.188 GB, free: 14.1 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 (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.000837/0.6141, allocations: 385.8 kB / 1.188 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003574/0.6177, allocations: 1.199 MB / 1.189 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.6177, allocations: 4 kB / 1.189 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009971/0.6187, allocations: 366.5 kB / 1.19 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.6211, allocations: 0.5129 MB / 1.19 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/0.6264, allocations: 2.066 MB / 1.192 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/0.6271, allocations: 1.065 MB / 1.193 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001086/0.6282, allocations: 234.9 kB / 1.193 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.6284, allocations: 79.42 kB / 1.194 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of SimCode: time 1.472e-06/0.6284, allocations: 0 / 1.194 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of Templates: time 0.04356/0.672, allocations: 25.26 MB / 1.218 GB, free: 15.17 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)