Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,fileNamePrefix="Buildings_latest_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.001528/0.001528, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001516/0.001516, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.316/1.316, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.63/2.63, allocations: 482.4 MB / 0.7544 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 74.08 kB / 0.9235 GB, free: 29.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2789, allocations: 162.2 MB / 1.082 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.07581/0.3548, allocations: 80.38 MB / 1.16 GB, free: 12.88 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02448/0.3793, allocations: 18.63 MB / 1.179 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003234/0.3825, allocations: 91.5 kB / 1.179 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.3854, allocations: 1.026 MB / 1.18 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006468/0.3919, allocations: 2.574 MB / 1.182 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004049/0.396, allocations: 1.739 MB / 1.184 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006368/0.4024, allocations: 5.505 MB / 1.189 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003232/0.4056, allocations: 2.593 MB / 1.192 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004527/0.4102, allocations: 2.338 MB / 1.194 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.4122, allocations: 1.692 MB / 1.196 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000356/0.4125, allocations: 300 kB / 1.196 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.4155, allocations: 1.704 MB / 1.198 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006074/0.4162, allocations: 0.6931 MB / 1.198 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.4175, allocations: 1.45 MB / 1.2 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005209/0.4228, allocations: 4.76 MB / 1.204 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4228, allocations: 3.938 kB / 1.204 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4228, allocations: 4 kB / 1.204 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.257e-05/0.4228, allocations: 0 / 1.204 GB, free: 15.62 MB / 0.9669 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.004467/0.4273, allocations: 3.036 MB / 1.207 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4274, allocations: 12.03 kB / 1.207 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003708/0.4277, allocations: 273 kB / 1.208 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.4292, allocations: 420.3 kB / 1.208 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003102/0.4323, allocations: 2.07 MB / 1.21 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.4324, allocations: 139.6 kB / 1.21 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/0.4327, allocations: 199.8 kB / 1.21 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003183/0.4358, allocations: 1.914 MB / 1.212 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/0.4359, allocations: 7.938 kB / 1.212 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.436, allocations: 72 kB / 1.212 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/0.4361, allocations: 52 kB / 1.212 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002635/0.4387, allocations: 1.442 MB / 1.214 GB, free: 5.805 MB / 0.9669 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.009671/0.4484, allocations: 8.083 MB / 1.222 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.4506, allocations: 1.048 MB / 1.223 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006893/0.4513, allocations: 375.6 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008636/0.4522, allocations: 1.152 MB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00087/0.4531, allocations: 434.9 kB / 1.225 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=67): time 2.785e-06/0.4531, allocations: 0 / 1.225 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=67): time 0.002461/0.4555, allocations: 1.121 MB / 1.226 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.4556, allocations: 133.1 kB / 1.226 GB, free: 8.707 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 12.0.0-master/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.002294/0.4579, allocations: 1.767 MB / 1.228 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-05/0.458, allocations: 45.7 kB / 1.228 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009466/0.459, allocations: 1.111 MB / 1.229 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.4592, allocations: 228.8 kB / 1.229 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.4595, allocations: 222.4 kB / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4597, allocations: 353.9 kB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/0.4604, allocations: 357.8 kB / 1.23 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.4614, allocations: 0.6946 MB / 1.23 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.463, allocations: 0.9971 MB / 1.231 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.4631, allocations: 4 kB / 1.231 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002291/0.4654, allocations: 1.249 MB / 1.233 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4654, allocations: 8 kB / 1.233 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4654, allocations: 8 kB / 1.233 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.4654, allocations: 19.98 kB / 1.233 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007522/0.4662, allocations: 223.6 kB / 1.233 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.4662, allocations: 19.94 kB / 1.233 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.4674, allocations: 214.7 kB / 1.233 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/0.4675, allocations: 47.98 kB / 1.233 GB, free: 0.8398 MB / 0.9825 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.0008032/0.4683, allocations: 0.4991 MB / 1.234 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/0.4686, allocations: 189.7 kB / 1.234 GB, free: 148 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.4706, allocations: 1.05 MB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.4707, allocations: 8 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4707, allocations: 4 kB / 1.235 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0015/0.4722, allocations: 0.8553 MB / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004237/0.4764, allocations: 2.854 MB / 1.239 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.4765, allocations: 0 / 1.239 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/0.4771, allocations: 139.8 kB / 1.239 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.4771, allocations: 4 kB / 1.239 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.737e-05/0.4772, allocations: 31.97 kB / 1.239 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.4772, allocations: 4 kB / 1.239 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4772, allocations: 8.188 kB / 1.239 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/0.4798, allocations: 1.522 MB / 1.24 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/0.4803, allocations: 370.6 kB / 1.241 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.4805, allocations: 27.98 kB / 1.241 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008656/0.4814, allocations: 95.81 kB / 1.241 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.4815, allocations: 60.47 kB / 1.241 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.272e-05/0.4816, allocations: 39.97 kB / 1.241 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001588/0.4832, allocations: 1.19 MB / 1.242 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4832, allocations: 0 / 1.242 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001503/0.4847, allocations: 0.6399 MB / 1.243 GB, free: 7.074 MB / 0.9981 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.005058/0.4898, allocations: 2.834 MB / 1.245 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.492, allocations: 1.012 MB / 1.246 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.492, allocations: 4 kB / 1.246 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007822/0.4928, allocations: 419.2 kB / 1.247 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003409/0.4962, allocations: 0.8639 MB / 1.248 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4044/0.9007, allocations: 15.75 MB / 1.263 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008275/0.9015, allocations: 1.497 MB / 1.264 GB, free: 156 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001262/0.9028, allocations: 369.3 kB / 1.265 GB, free: 156 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008559/0.9037, allocations: 0.9156 MB / 1.266 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/0.9037, allocations: 1.812 kB / 1.266 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.811/2.715, allocations: 52.05 MB / 1.316 GB, free: 130.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/2.715, allocations: 298.1 kB / 1.317 GB, free: 130.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.8/11.51, allocations: 0 / 1.317 GB, free: 130.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness_fmu --startTime=0 --stopTime=14365 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1)