Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, 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.001393/0.001393, allocations: 194.8 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.24/1.24, allocations: 222.9 MB / 240.2 MB, free: 4.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.45/2.45, allocations: 469.8 MB / 0.7424 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 62.58 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2316, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.07602/0.3076, allocations: 81.02 MB / 1.143 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02375/0.3314, allocations: 18.93 MB / 1.162 GB, free: 9.941 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.3335, allocations: 103.5 kB / 1.162 GB, free: 9.84 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002233/0.3357, allocations: 1.164 MB / 1.163 GB, free: 8.668 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00506/0.3408, allocations: 2.793 MB / 1.166 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.3444, allocations: 1.89 MB / 1.167 GB, free: 3.984 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005203/0.3496, allocations: 5.496 MB / 1.173 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002834/0.3525, allocations: 2.616 MB / 1.175 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003276/0.3557, allocations: 2.126 MB / 1.177 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.3575, allocations: 1.664 MB / 1.179 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003506/0.3579, allocations: 304 kB / 1.179 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.3607, allocations: 1.696 MB / 1.181 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005855/0.3613, allocations: 0.6892 MB / 1.182 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.3626, allocations: 1.442 MB / 1.183 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.3672, allocations: 4.74 MB / 1.188 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.3672, allocations: 0 / 1.188 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3672, allocations: 0 / 1.188 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.556e-05/0.3672, allocations: 0 / 1.188 GB, free: 15.11 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 453 * Number of variables: 453 Notification: Performance of Generate backend data structure: time 0.004015/0.3712, allocations: 3.044 MB / 1.191 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.3713, allocations: 8.031 kB / 1.191 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003611/0.3716, allocations: 280.9 kB / 1.191 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.373, allocations: 424.3 kB / 1.191 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/0.3758, allocations: 2.016 MB / 1.193 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.376, allocations: 147.6 kB / 1.194 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.3762, allocations: 188 kB / 1.194 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/0.3791, allocations: 1.921 MB / 1.196 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.3791, allocations: 3.938 kB / 1.196 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.3792, allocations: 80 kB / 1.196 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.221e-05/0.3793, allocations: 44 kB / 1.196 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/0.3819, allocations: 1.446 MB / 1.197 GB, free: 5.324 MB / 0.9512 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.00865/0.3905, allocations: 8.145 MB / 1.205 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.3926, allocations: 1.037 MB / 1.206 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000672/0.3933, allocations: 371.7 kB / 1.206 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008394/0.3941, allocations: 1.152 MB / 1.208 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008157/0.395, allocations: 430.9 kB / 1.208 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=67): time 1.904e-06/0.395, allocations: 0 / 1.208 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67): time 0.002278/0.3972, allocations: 1.129 MB / 1.209 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/0.3973, allocations: 141.1 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Fluid/HeatPumps/ModularReversible/Modular.mo:62:3-64:76:writable] Warning: Parameter heaPum.TEvaCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Fluid/HeatPumps/ModularReversible/Modular.mo:59:3-61:76:writable] Warning: Parameter heaPum.TConCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.3994, allocations: 1.784 MB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.002e-05/0.3995, allocations: 45.7 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008673/0.4004, allocations: 1.095 MB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.4006, allocations: 236.7 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.4009, allocations: 218.4 kB / 1.213 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4011, allocations: 349.9 kB / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007121/0.4018, allocations: 361.8 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009817/0.4028, allocations: 0.6946 MB / 1.214 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.4044, allocations: 1.001 MB / 1.215 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.4044, allocations: 0 / 1.215 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002115/0.4065, allocations: 1.249 MB / 1.216 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4065, allocations: 11.94 kB / 1.216 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4065, allocations: 8 kB / 1.216 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.4066, allocations: 16 kB / 1.216 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.4073, allocations: 219.7 kB / 1.216 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/0.4073, allocations: 23.92 kB / 1.216 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009133/0.4082, allocations: 162.7 kB / 1.216 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-05/0.4083, allocations: 47.98 kB / 1.217 GB, free: 352 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.tabMea.nextTimeEvent,$whenCondition1,heaPum.conHea.y,tabMea.nextTimeEventScaled,$PRE.tabMea.nextTimeEventScaled,tabMea.nextTimeEvent,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006394/0.409, allocations: 0.4987 MB / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.4092, allocations: 189.7 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.4112, allocations: 1.051 MB / 1.218 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.4112, allocations: 8 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.4112, allocations: 3.984 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001498/0.4127, allocations: 0.8553 MB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0039/0.4167, allocations: 2.854 MB / 1.222 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4167, allocations: 0 / 1.222 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/0.4173, allocations: 144 kB / 1.222 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.4173, allocations: 8 kB / 1.222 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/0.4173, allocations: 23.98 kB / 1.222 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.4173, allocations: 4 kB / 1.222 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4173, allocations: 4 kB / 1.222 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.4199, allocations: 1.526 MB / 1.224 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004706/0.4204, allocations: 378.5 kB / 1.224 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.4206, allocations: 20 kB / 1.224 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007317/0.4213, allocations: 59.94 kB / 1.224 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.4214, allocations: 64.41 kB / 1.224 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.043e-05/0.4215, allocations: 35.97 kB / 1.224 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001469/0.423, allocations: 1.202 MB / 1.225 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.423, allocations: 0 / 1.225 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001284/0.4243, allocations: 0.6465 MB / 1.226 GB, free: 6.59 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum.refCycIneCon.criDam.x[1],heaPum.refCycIneCon.criDam.x[2],heaPum.refCycIneEva.criDam.x[1],heaPum.refCycIneEva.criDam.x[2]) * Number of discrete variables: 5 ($whenCondition1,heaPum.hys.y,heaPum.eff.hys.y,tabMea.nextTimeEvent,tabMea.nextTimeEventScaled) * Number of discrete states: 4 (tabMea.nextTimeEvent,tabMea.nextTimeEventScaled,heaPum.hys.y,heaPum.eff.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00484/0.4291, allocations: 2.865 MB / 1.229 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002007/0.4311, allocations: 0.9995 MB / 1.23 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4311, allocations: 0 / 1.23 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007824/0.4319, allocations: 428.6 kB / 1.23 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003099/0.435, allocations: 0.8571 MB / 1.231 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/0.4538, allocations: 14.99 MB / 1.246 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.4549, allocations: 1.505 MB / 1.247 GB, free: 36 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.3454/0.8003, allocations: 359.8 kB / 1.247 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009802/0.8013, allocations: 0.91 MB / 1.248 GB, free: 176 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.8013, allocations: 0 / 1.248 GB, free: 176 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4506/1.252, allocations: 52.68 MB / 1.3 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.77, allocations: 14.59 kB / 1.3 GB, free: 155.5 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness_fmu --startTime=0 --stopTime=14365 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness.fmu > Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1)