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.004306/0.004306, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.001207/0.001207, allocations: 200.1 kB / 16.68 MB, free: 5.969 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.604/2.604, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 71.89 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2831, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.5986/0.8818, allocations: 81 MB / 1.299 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02742/0.9093, allocations: 18.94 MB / 1.318 GB, free: 4.164 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004545/0.9138, allocations: 99.16 kB / 1.318 GB, free: 4.133 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003242/0.9171, allocations: 1.164 MB / 1.319 GB, free: 3.434 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00847/0.9256, allocations: 2.787 MB / 1.322 GB, free: 1.742 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005434/0.9311, allocations: 1.911 MB / 1.324 GB, free: 0.6406 MB / 1.029 GB [/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. [/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. Notification: Performance of NFFlatten.flatten: time 0.008579/0.9397, allocations: 5.514 MB / 1.329 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00394/0.9436, allocations: 2.619 MB / 1.332 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00469/0.9483, allocations: 2.14 MB / 1.334 GB, free: 11.44 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002722/0.9511, allocations: 1.661 MB / 1.335 GB, free: 10.6 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004856/0.9516, allocations: 302.3 kB / 1.336 GB, free: 10.6 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003975/0.9555, allocations: 1.692 MB / 1.337 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007085/0.9563, allocations: 0.6985 MB / 1.338 GB, free: 9.559 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.958, allocations: 1.44 MB / 1.339 GB, free: 8.586 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.007654/0.9657, allocations: 4.836 MB / 1.344 GB, free: 6.766 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9657, allocations: 0 / 1.344 GB, free: 6.766 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9657, allocations: 0 / 1.344 GB, free: 6.766 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.394e-05/0.9658, allocations: 1.5 kB / 1.344 GB, free: 6.766 MB / 1.045 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.00569/0.9715, allocations: 3.119 MB / 1.347 GB, free: 4.691 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.9716, allocations: 14.58 kB / 1.347 GB, free: 4.688 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003777/0.9719, allocations: 272.3 kB / 1.347 GB, free: 4.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.9735, allocations: 441.5 kB / 1.348 GB, free: 4.352 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003465/0.977, allocations: 2.107 MB / 1.35 GB, free: 2.953 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.9771, allocations: 146.1 kB / 1.35 GB, free: 2.887 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/0.9774, allocations: 192.4 kB / 1.35 GB, free: 2.82 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/0.9805, allocations: 1.92 MB / 1.352 GB, free: 1.637 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/0.9806, allocations: 2.469 kB / 1.352 GB, free: 1.637 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.9807, allocations: 80.59 kB / 1.352 GB, free: 1.574 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/0.9808, allocations: 49.78 kB / 1.352 GB, free: 1.57 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/0.9835, allocations: 1.435 MB / 1.354 GB, free: 0.8594 MB / 1.045 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.009806/0.9933, allocations: 8.074 MB / 1.361 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.9955, allocations: 1.037 MB / 1.362 GB, free: 9.398 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007161/0.9962, allocations: 364 kB / 1.363 GB, free: 9.223 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009063/0.9971, allocations: 1.159 MB / 1.364 GB, free: 7.863 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008688/0.998, allocations: 436.6 kB / 1.364 GB, free: 7.602 MB / 1.061 GB Notification: Performance of pre-optimization done (n=67): time 2.855e-06/0.998, allocations: 4 kB / 1.364 GB, free: 7.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=67): time 0.00249/1.001, allocations: 1.134 MB / 1.365 GB, free: 7.043 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.31e-05/1.001, allocations: 135.9 kB / 1.366 GB, free: 6.883 MB / 1.061 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.002376/1.003, allocations: 1.782 MB / 1.367 GB, free: 5.887 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.302e-05/1.003, allocations: 50.59 kB / 1.367 GB, free: 5.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009541/1.004, allocations: 1.116 MB / 1.368 GB, free: 4.855 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000251/1.004, allocations: 251.9 kB / 1.369 GB, free: 4.641 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003139/1.005, allocations: 216.2 kB / 1.369 GB, free: 4.516 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.005, allocations: 346.2 kB / 1.369 GB, free: 4.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007559/1.006, allocations: 366.6 kB / 1.37 GB, free: 3.996 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/1.007, allocations: 0.6938 MB / 1.37 GB, free: 3.395 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/1.008, allocations: 0.9955 MB / 1.371 GB, free: 2.672 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.008, allocations: 7.25 kB / 1.371 GB, free: 2.668 MB / 1.061 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002456/1.011, allocations: 1.25 MB / 1.372 GB, free: 2.043 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.011, allocations: 7.719 kB / 1.372 GB, free: 2.043 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/1.011, allocations: 8.156 kB / 1.372 GB, free: 2.043 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/1.011, allocations: 18.91 kB / 1.373 GB, free: 2.039 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007639/1.012, allocations: 229.4 kB / 1.373 GB, free: 1.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.39e-05/1.012, allocations: 21.45 kB / 1.373 GB, free: 1.973 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/1.013, allocations: 168.2 kB / 1.373 GB, free: 1.863 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.279e-05/1.013, allocations: 45.69 kB / 1.373 GB, free: 1.855 MB / 1.061 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.0008177/1.014, allocations: 0.5007 MB / 1.373 GB, free: 1.496 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003026/1.014, allocations: 197.4 kB / 1.374 GB, free: 1.391 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/1.016, allocations: 1.049 MB / 1.375 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/1.016, allocations: 7.844 kB / 1.375 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.016, allocations: 1.156 kB / 1.375 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001554/1.018, allocations: 0.8568 MB / 1.375 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004454/1.022, allocations: 2.858 MB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.022, allocations: 5.594 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/1.023, allocations: 144.6 kB / 1.378 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/1.023, allocations: 3.781 kB / 1.378 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.676e-05/1.023, allocations: 22.58 kB / 1.378 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/1.023, allocations: 5.156 kB / 1.378 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.023, allocations: 1.219 kB / 1.378 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/1.026, allocations: 1.541 MB / 1.38 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005901/1.026, allocations: 396.4 kB / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/1.027, allocations: 19.62 kB / 1.38 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000771/1.027, allocations: 62.25 kB / 1.38 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/1.027, allocations: 59.31 kB / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.436e-05/1.028, allocations: 34.69 kB / 1.381 GB, free: 13.03 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001511/1.029, allocations: 1.199 MB / 1.382 GB, free: 12.36 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.51e-07/1.029, allocations: 2.375 kB / 1.382 GB, free: 12.36 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001675/1.031, allocations: 0.657 MB / 1.382 GB, free: 12.16 MB / 1.076 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.005179/1.036, allocations: 2.86 MB / 1.385 GB, free: 10.44 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001748/1.038, allocations: 0.8893 MB / 1.386 GB, free: 10.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.038, allocations: 2.719 kB / 1.386 GB, free: 10.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007862/1.038, allocations: 425.8 kB / 1.386 GB, free: 9.848 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/1.042, allocations: 0.8613 MB / 1.387 GB, free: 9.387 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02104/1.063, allocations: 13.38 MB / 1.4 GB, free: 11.75 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/1.064, allocations: 1.501 MB / 1.402 GB, free: 10.21 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001378/1.066, allocations: 365.3 kB / 1.402 GB, free: 9.859 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.067, allocations: 0.9132 MB / 1.403 GB, free: 8.945 MB / 1.092 GB Notification: Performance of SimCode: time 7.32e-07/1.067, allocations: 0 / 1.403 GB, free: 8.945 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.742/3.809, allocations: 53.31 MB / 1.455 GB, free: 4.25 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/17.21, allocations: 12.19 kB / 1.455 GB, free: 4.238 MB / 1.139 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)