Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001087/0.001087, 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.001157/0.001157, allocations: 193.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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.001291, allocations: 66.66 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3488, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.0615/0.4103, allocations: 61.25 MB / 1.128 GB, free: 13 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01851/0.4289, allocations: 12 MB / 1.14 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002665/0.4316, allocations: 59.62 kB / 1.14 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.4336, allocations: 0.6752 MB / 1.14 GB, free: 236 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005873/0.4396, allocations: 1.97 MB / 1.142 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.4427, allocations: 1.197 MB / 1.144 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004175/0.4469, allocations: 3.075 MB / 1.147 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.4484, allocations: 1.104 MB / 1.148 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002907/0.4513, allocations: 1.338 MB / 1.149 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.4526, allocations: 0.8906 MB / 1.15 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.4528, allocations: 112 kB / 1.15 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/0.4556, allocations: 1.462 MB / 1.151 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.4559, allocations: 298.8 kB / 1.152 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007602/0.4567, allocations: 0.6919 MB / 1.152 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003201/0.4599, allocations: 2.275 MB / 1.154 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.4599, allocations: 0 / 1.154 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.968e-06/0.4599, allocations: 4 kB / 1.154 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.4599, allocations: 0 / 1.154 GB, free: 1.762 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.002988/0.4629, allocations: 1.719 MB / 1.156 GB, free: 15.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.463, allocations: 8.031 kB / 1.156 GB, free: 15.97 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.4652, allocations: 410.8 kB / 1.157 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.4672, allocations: 1.113 MB / 1.158 GB, free: 14.4 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003518/0.4675, allocations: 113.9 kB / 1.158 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.4677, allocations: 84 kB / 1.158 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.4697, allocations: 1.002 MB / 1.159 GB, free: 13.15 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4697, allocations: 3.938 kB / 1.159 GB, free: 13.14 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-05/0.4698, allocations: 32 kB / 1.159 GB, free: 13.11 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.4698, allocations: 20 kB / 1.159 GB, free: 13.09 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.4722, allocations: 0.8703 MB / 1.16 GB, free: 12.22 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.007141/0.4793, allocations: 5.263 MB / 1.165 GB, free: 6.586 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003634/0.483, allocations: 0.8019 MB / 1.166 GB, free: 5.773 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007745/0.4838, allocations: 308.6 kB / 1.166 GB, free: 5.469 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007696/0.4846, allocations: 0.8986 MB / 1.167 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.4846, allocations: 46.55 kB / 1.167 GB, free: 4.312 MB / 0.92 GB Notification: Performance of pre-optimization done (n=44): time 4.047e-06/0.4846, allocations: 0 / 1.167 GB, free: 4.312 MB / 0.92 GB Notification: Performance of matching and sorting (n=44): time 0.008743/0.4934, allocations: 1.926 MB / 1.169 GB, free: 2.355 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.4934, allocations: 59.41 kB / 1.169 GB, free: 2.285 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/0.4952, allocations: 1.076 MB / 1.17 GB, free: 1.195 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/0.4952, allocations: 33.7 kB / 1.17 GB, free: 1.156 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.4957, allocations: 0.5273 MB / 1.17 GB, free: 0.625 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.4959, allocations: 165.8 kB / 1.171 GB, free: 472 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/0.4961, allocations: 138.1 kB / 1.171 GB, free: 328 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4962, allocations: 326 kB / 1.171 GB, free: 16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009103/0.4972, allocations: 315.2 kB / 1.171 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.4983, allocations: 0.5407 MB / 1.172 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/0.5001, allocations: 0.7259 MB / 1.173 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5001, allocations: 0 / 1.173 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003757/0.5039, allocations: 1.164 MB / 1.174 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.5039, allocations: 9.25 kB / 1.174 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.504, allocations: 4 kB / 1.174 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.5052, allocations: 326.5 kB / 1.174 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/0.5058, allocations: 131.8 kB / 1.174 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.5073, allocations: 0.9074 MB / 1.175 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.5086, allocations: 155.2 kB / 1.175 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-05/0.5087, allocations: 31.98 kB / 1.175 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001269/0.5099, allocations: 0.5246 MB / 1.176 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001054/0.511, allocations: 0.5368 MB / 1.176 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001665/0.5127, allocations: 0.7095 MB / 1.177 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.277e-06/0.5127, allocations: 0 / 1.177 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003566/0.5163, allocations: 1.149 MB / 1.178 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.5163, allocations: 8 kB / 1.178 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5163, allocations: 12.06 kB / 1.178 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.5174, allocations: 310.9 kB / 1.178 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.5179, allocations: 131.8 kB / 1.178 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.5194, allocations: 0.9151 MB / 1.179 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.5208, allocations: 140.5 kB / 1.179 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/0.5209, allocations: 32 kB / 1.18 GB, free: 6.836 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.00029/0.5212, allocations: 220.1 kB / 1.18 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.5214, allocations: 118.5 kB / 1.18 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003734/0.5251, allocations: 1.112 MB / 1.181 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.5252, allocations: 8 kB / 1.181 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.5252, allocations: 0 / 1.181 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.5252, allocations: 3.984 kB / 1.181 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005142/0.5303, allocations: 2.199 MB / 1.183 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.5304, allocations: 4 kB / 1.183 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.5306, allocations: 64.17 kB / 1.183 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.5317, allocations: 317.4 kB / 1.183 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.5317, allocations: 15.94 kB / 1.183 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.5333, allocations: 0.9403 MB / 1.184 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5333, allocations: 4.031 kB / 1.184 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003739/0.537, allocations: 1.189 MB / 1.186 GB, free: 488 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/0.5375, allocations: 267.5 kB / 1.186 GB, free: 200 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.5377, allocations: 11.98 kB / 1.186 GB, free: 188 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007948/0.5385, allocations: 75.92 kB / 1.186 GB, free: 112 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.082e-05/0.5386, allocations: 47.61 kB / 1.186 GB, free: 64 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.026e-05/0.5386, allocations: 23.98 kB / 1.186 GB, free: 40 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001179/0.5398, allocations: 0.7512 MB / 1.187 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.613e-06/0.5398, allocations: 0 / 1.187 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001529/0.5414, allocations: 0.577 MB / 1.187 GB, free: 14.7 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.0007912/0.5422, allocations: 389.3 kB / 1.188 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003333/0.5455, allocations: 1.156 MB / 1.189 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5455, allocations: 0 / 1.189 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008937/0.5464, allocations: 354.5 kB / 1.189 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.5487, allocations: 0.5135 MB / 1.19 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005011/0.5537, allocations: 2.059 MB / 1.192 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005893/0.5543, allocations: 1.057 MB / 1.193 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009192/0.5552, allocations: 226 kB / 1.193 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.5554, allocations: 79.42 kB / 1.193 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/0.5554, allocations: 0 / 1.193 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of Templates: time 0.0412/0.5966, allocations: 25.16 MB / 1.218 GB, free: 15.94 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)