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.004914/0.004914, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001334/0.001334, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.239/1.239, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.439/2.439, allocations: 482.6 MB / 0.7551 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 68.25 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2665, allocations: 162.3 MB / 1.242 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.07452/0.341, allocations: 81.15 MB / 1.321 GB, free: 7.469 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02402/0.3651, allocations: 18.92 MB / 1.34 GB, free: 4.492 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002996/0.3681, allocations: 99.5 kB / 1.34 GB, free: 4.395 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002455/0.3706, allocations: 1.164 MB / 1.341 GB, free: 3.223 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005977/0.3766, allocations: 2.775 MB / 1.344 GB, free: 444 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003846/0.3804, allocations: 1.914 MB / 1.345 GB, free: 14.53 MB / 1.076 GB [/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. [/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. Notification: Performance of NFFlatten.flatten: time 0.005825/0.3863, allocations: 5.508 MB / 1.351 GB, free: 9.004 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002876/0.3892, allocations: 2.62 MB / 1.353 GB, free: 6.328 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003912/0.3931, allocations: 2.327 MB / 1.356 GB, free: 3.996 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.3949, allocations: 1.645 MB / 1.357 GB, free: 2.344 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000347/0.3952, allocations: 300 kB / 1.358 GB, free: 2.051 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.3982, allocations: 1.693 MB / 1.359 GB, free: 364 kB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005709/0.3988, allocations: 0.6892 MB / 1.36 GB, free: 15.66 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.4001, allocations: 1.446 MB / 1.361 GB, free: 14.21 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005172/0.4052, allocations: 4.839 MB / 1.366 GB, free: 9.355 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.4052, allocations: 0 / 1.366 GB, free: 9.355 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4053, allocations: 0 / 1.366 GB, free: 9.355 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.813e-05/0.4053, allocations: 4 kB / 1.366 GB, free: 9.352 MB / 1.092 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.004238/0.4095, allocations: 3.125 MB / 1.369 GB, free: 6.145 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4096, allocations: 12.03 kB / 1.369 GB, free: 6.133 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00036/0.4099, allocations: 273 kB / 1.369 GB, free: 5.855 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.4113, allocations: 433.9 kB / 1.37 GB, free: 5.43 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/0.4144, allocations: 2.122 MB / 1.372 GB, free: 3.262 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.4145, allocations: 143.6 kB / 1.372 GB, free: 3.121 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/0.4147, allocations: 184 kB / 1.372 GB, free: 2.941 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00298/0.4177, allocations: 1.918 MB / 1.374 GB, free: 0.9609 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.4178, allocations: 7.875 kB / 1.374 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.4179, allocations: 72 kB / 1.374 GB, free: 0.8828 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.665e-05/0.418, allocations: 52 kB / 1.374 GB, free: 0.832 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/0.4206, allocations: 1.439 MB / 1.376 GB, free: 15.39 MB / 1.107 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.008783/0.4293, allocations: 8.097 MB / 1.383 GB, free: 6.879 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.4314, allocations: 1.036 MB / 1.384 GB, free: 5.797 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006603/0.4321, allocations: 364.5 kB / 1.385 GB, free: 5.441 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008434/0.4329, allocations: 1.156 MB / 1.386 GB, free: 4.023 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008445/0.4338, allocations: 430.9 kB / 1.386 GB, free: 3.59 MB / 1.107 GB Notification: Performance of pre-optimization done (n=67): time 2.385e-06/0.4338, allocations: 0 / 1.386 GB, free: 3.59 MB / 1.107 GB Notification: Performance of matching and sorting (n=67): time 0.002322/0.4361, allocations: 1.138 MB / 1.387 GB, free: 2.449 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.4362, allocations: 137.1 kB / 1.388 GB, free: 2.285 MB / 1.107 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.002118/0.4384, allocations: 1.78 MB / 1.389 GB, free: 476 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.816e-05/0.4384, allocations: 45.7 kB / 1.389 GB, free: 424 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000872/0.4393, allocations: 1.117 MB / 1.39 GB, free: 15.29 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.4395, allocations: 249.9 kB / 1.391 GB, free: 15.04 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/0.4398, allocations: 230.5 kB / 1.391 GB, free: 14.81 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.44, allocations: 345.9 kB / 1.391 GB, free: 14.46 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007078/0.4407, allocations: 353.8 kB / 1.392 GB, free: 14.12 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.4417, allocations: 0.6985 MB / 1.392 GB, free: 13.28 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.4433, allocations: 1.001 MB / 1.393 GB, free: 12.17 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4433, allocations: 0 / 1.393 GB, free: 12.17 MB / 1.123 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00215/0.4455, allocations: 1.25 MB / 1.394 GB, free: 10.91 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.4455, allocations: 8 kB / 1.394 GB, free: 10.9 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.4455, allocations: 15.88 kB / 1.394 GB, free: 10.89 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.4455, allocations: 23.92 kB / 1.395 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007249/0.4463, allocations: 219.7 kB / 1.395 GB, free: 10.65 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/0.4463, allocations: 23.92 kB / 1.395 GB, free: 10.62 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009318/0.4472, allocations: 155.2 kB / 1.395 GB, free: 10.47 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.833e-05/0.4473, allocations: 51.98 kB / 1.395 GB, free: 10.42 MB / 1.123 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.0006555/0.448, allocations: 0.5007 MB / 1.395 GB, free: 9.914 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/0.4483, allocations: 194.7 kB / 1.396 GB, free: 9.723 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/0.4503, allocations: 1.047 MB / 1.397 GB, free: 8.676 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.4503, allocations: 11.98 kB / 1.397 GB, free: 8.664 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4503, allocations: 0 / 1.397 GB, free: 8.664 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001497/0.4518, allocations: 0.8514 MB / 1.397 GB, free: 7.781 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00398/0.4558, allocations: 2.864 MB / 1.4 GB, free: 4.836 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.4558, allocations: 4 kB / 1.4 GB, free: 4.832 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005702/0.4564, allocations: 139.8 kB / 1.4 GB, free: 4.695 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.4564, allocations: 4.188 kB / 1.4 GB, free: 4.691 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/0.4565, allocations: 31.98 kB / 1.4 GB, free: 4.66 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.4565, allocations: 8 kB / 1.4 GB, free: 4.652 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4565, allocations: 0 / 1.4 GB, free: 4.652 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.459, allocations: 1.536 MB / 1.402 GB, free: 3.082 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004667/0.4595, allocations: 379.7 kB / 1.402 GB, free: 2.691 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.4597, allocations: 28 kB / 1.402 GB, free: 2.664 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007322/0.4604, allocations: 59.86 kB / 1.402 GB, free: 2.605 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.4606, allocations: 60.42 kB / 1.402 GB, free: 2.547 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.922e-05/0.4606, allocations: 43.97 kB / 1.402 GB, free: 2.504 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001552/0.4622, allocations: 1.198 MB / 1.404 GB, free: 1.285 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4622, allocations: 0 / 1.404 GB, free: 1.285 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001372/0.4636, allocations: 0.6582 MB / 1.404 GB, free: 0.625 MB / 1.123 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.004975/0.4686, allocations: 2.867 MB / 1.407 GB, free: 13.9 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.4703, allocations: 0.8905 MB / 1.408 GB, free: 13.01 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4703, allocations: 0 / 1.408 GB, free: 13.01 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007697/0.4711, allocations: 428.2 kB / 1.408 GB, free: 12.59 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/0.4742, allocations: 0.8607 MB / 1.409 GB, free: 11.75 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01836/0.4925, allocations: 13.37 MB / 1.422 GB, free: 13.93 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.4937, allocations: 1.501 MB / 1.424 GB, free: 12.39 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001055/0.4947, allocations: 360.9 kB / 1.424 GB, free: 12.05 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/0.4958, allocations: 0.9132 MB / 1.425 GB, free: 11.14 MB / 1.154 GB Notification: Performance of SimCode: time 4.41e-07/0.4958, allocations: 3.938 kB / 1.425 GB, free: 11.13 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.648/8.144, allocations: 53.34 MB / 1.477 GB, free: 6.406 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.2/35.34, allocations: 31.28 kB / 1.477 GB, free: 6.383 MB / 1.201 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)