Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,fileNamePrefix="BuildingSystems_BuildingSystems_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.001237/0.001237, allocations: 108 kB / 15.61 MB, free: 152 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.001189/0.001189, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002377/0.002377, allocations: 279 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9953/0.9953, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002625/0.002625, allocations: 108.5 kB / 0.6066 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1477, allocations: 89.14 MB / 0.6936 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.3293/0.4771, allocations: 80.97 MB / 0.7727 GB, free: 24.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02086/0.498, allocations: 18.92 MB / 0.7912 GB, free: 22.63 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003781/0.5018, allocations: 97.84 kB / 0.7913 GB, free: 22.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.5046, allocations: 1.171 MB / 0.7924 GB, free: 21.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006596/0.5112, allocations: 2.786 MB / 0.7951 GB, free: 20.69 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004287/0.5155, allocations: 1.901 MB / 0.797 GB, free: 19.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005776/0.5213, allocations: 5.492 MB / 0.8023 GB, free: 17.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003347/0.5246, allocations: 2.623 MB / 0.8049 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004141/0.5288, allocations: 2.136 MB / 0.807 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.5313, allocations: 1.661 MB / 0.8086 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007337/0.5321, allocations: 301.3 kB / 0.8089 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004132/0.5362, allocations: 1.695 MB / 0.8105 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008498/0.5371, allocations: 0.6964 MB / 0.8112 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00216/0.5393, allocations: 1.44 MB / 0.8126 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005711/0.545, allocations: 4.747 MB / 0.8173 GB, free: 9.344 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.545, allocations: 4 kB / 0.8173 GB, free: 9.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.545, allocations: 0 / 0.8173 GB, free: 9.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001005/0.5451, allocations: 0 / 0.8173 GB, free: 9.34 MB / 0.545 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.00431/0.5494, allocations: 3.031 MB / 0.8202 GB, free: 7.078 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.5495, allocations: 15.06 kB / 0.8202 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002893/0.5498, allocations: 274.2 kB / 0.8205 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.5511, allocations: 428.6 kB / 0.8209 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.5536, allocations: 2.021 MB / 0.8229 GB, free: 5.125 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-05/0.5537, allocations: 154.2 kB / 0.823 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/0.5539, allocations: 184.7 kB / 0.8232 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.5564, allocations: 1.912 MB / 0.8251 GB, free: 3.816 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.5565, allocations: 5.312 kB / 0.8251 GB, free: 3.812 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.5566, allocations: 76.78 kB / 0.8252 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.5567, allocations: 46.19 kB / 0.8252 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.5588, allocations: 1.444 MB / 0.8266 GB, free: 3.035 MB / 0.545 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.008118/0.567, allocations: 8.136 MB / 0.8346 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/0.5691, allocations: 1.05 MB / 0.8356 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006677/0.5698, allocations: 366.9 kB / 0.8359 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009198/0.5707, allocations: 1.153 MB / 0.8371 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008214/0.5716, allocations: 431.8 kB / 0.8375 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=67): time 2.836e-06/0.5716, allocations: 0 / 0.8375 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67): time 0.002408/0.574, allocations: 1.128 MB / 0.8386 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/0.5741, allocations: 141 kB / 0.8387 GB, free: 9.125 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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/BuildingSystems 2.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.002123/0.5762, allocations: 1.783 MB / 0.8405 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.489e-05/0.5763, allocations: 46.02 kB / 0.8405 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009476/0.5773, allocations: 1.095 MB / 0.8416 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.5775, allocations: 238.6 kB / 0.8418 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.5778, allocations: 222.5 kB / 0.842 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.578, allocations: 344.7 kB / 0.8423 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007059/0.5787, allocations: 363.5 kB / 0.8427 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.5797, allocations: 0.6924 MB / 0.8434 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.5814, allocations: 1.007 MB / 0.8443 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.5814, allocations: 4 kB / 0.8443 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002372/0.5838, allocations: 1.246 MB / 0.8456 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.5838, allocations: 10.5 kB / 0.8456 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.5838, allocations: 12 kB / 0.8456 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.235e-05/0.5839, allocations: 16 kB / 0.8456 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007892/0.5847, allocations: 228.2 kB / 0.8458 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.777e-05/0.5847, allocations: 12 kB / 0.8458 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.5859, allocations: 159.2 kB / 0.846 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.43e-05/0.5859, allocations: 51.98 kB / 0.846 GB, free: 3.191 MB / 0.5606 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.0007428/0.5867, allocations: 0.5032 MB / 0.8465 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.587, allocations: 189.7 kB / 0.8467 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.5892, allocations: 1.041 MB / 0.8477 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.5892, allocations: 8 kB / 0.8477 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.5892, allocations: 0 / 0.8477 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001602/0.5908, allocations: 0.8591 MB / 0.8486 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004401/0.5952, allocations: 2.864 MB / 0.8514 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.5952, allocations: 3.938 kB / 0.8514 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/0.5958, allocations: 139.8 kB / 0.8515 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.5959, allocations: 4 kB / 0.8515 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.556e-05/0.5959, allocations: 27.98 kB / 0.8515 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.5959, allocations: 4 kB / 0.8515 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.596, allocations: 12.12 kB / 0.8515 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.5987, allocations: 1.515 MB / 0.853 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005575/0.5992, allocations: 378.5 kB / 0.8534 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.5995, allocations: 27.98 kB / 0.8534 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007822/0.6003, allocations: 63.81 kB / 0.8535 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.6004, allocations: 60.47 kB / 0.8535 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-05/0.6005, allocations: 31.98 kB / 0.8536 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00162/0.6021, allocations: 1.202 MB / 0.8547 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6021, allocations: 4 kB / 0.8547 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001579/0.6037, allocations: 0.6504 MB / 0.8554 GB, free: 9.457 MB / 0.5762 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.005199/0.6089, allocations: 2.856 MB / 0.8582 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002191/0.6111, allocations: 1.007 MB / 0.8591 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6111, allocations: 0 / 0.8591 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008208/0.6119, allocations: 428.5 kB / 0.8596 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/0.6153, allocations: 0.8595 MB / 0.8604 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02079/0.6361, allocations: 14.98 MB / 0.875 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.6373, allocations: 1.505 MB / 0.8765 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001278/0.6386, allocations: 376.6 kB / 0.8768 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/0.6397, allocations: 0.9093 MB / 0.8777 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.6397, allocations: 4 kB / 0.8777 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.267/1.907, allocations: 52.7 MB / 0.9292 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.714/10.62, allocations: 16.22 kB / 0.9292 GB, free: 13.7 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness_fmu --startTime=0 --stopTime=14365 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1)