Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar",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.001051/0.001051, allocations: 97.44 kB / 15.69 MB, free: 488 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.00142/0.00142, allocations: 177.5 kB / 16.57 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.875/1.875, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6248/0.6248, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 8.75 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1926, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3519/0.5445, allocations: 62.96 MB / 0.6182 GB, free: 384 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01928/0.5638, allocations: 13 MB / 0.6309 GB, free: 7.145 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003243/0.5671, allocations: 57.34 kB / 0.631 GB, free: 7.117 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002756/0.5699, allocations: 0.74 MB / 0.6317 GB, free: 6.699 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008148/0.5781, allocations: 2.418 MB / 0.634 GB, free: 4.941 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004683/0.5828, allocations: 1.513 MB / 0.6355 GB, free: 3.953 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005178/0.588, allocations: 2.529 MB / 0.638 GB, free: 2.277 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.5898, allocations: 1.045 MB / 0.639 GB, free: 1.641 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003205/0.5931, allocations: 1.16 MB / 0.6401 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.5953, allocations: 0.786 MB / 0.6409 GB, free: 472 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003682/0.5957, allocations: 56.78 kB / 0.641 GB, free: 472 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003667/0.5994, allocations: 0.8364 MB / 0.6418 GB, free: 120 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005844/0.6, allocations: 260 kB / 0.642 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.6011, allocations: 360.5 kB / 0.6424 GB, free: 15.72 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003636/0.6047, allocations: 2.018 MB / 0.6443 GB, free: 14.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.6047, allocations: 0 / 0.6443 GB, free: 14.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6047, allocations: 0 / 0.6443 GB, free: 14.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.274e-05/0.6048, allocations: 2.719 kB / 0.6443 GB, free: 14.32 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003225/0.608, allocations: 1.773 MB / 0.6461 GB, free: 12.97 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.6081, allocations: 9.812 kB / 0.6461 GB, free: 12.97 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/0.6082, allocations: 151.9 kB / 0.6462 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007068/0.609, allocations: 240.8 kB / 0.6465 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.6111, allocations: 1.387 MB / 0.6478 GB, free: 11.63 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.6112, allocations: 73.78 kB / 0.6479 GB, free: 11.6 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.6113, allocations: 103.2 kB / 0.648 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.6131, allocations: 1.105 MB / 0.6491 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.6131, allocations: 2.656 kB / 0.6491 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.242e-05/0.6132, allocations: 41.81 kB / 0.6491 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.6132, allocations: 32.27 kB / 0.6491 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.615, allocations: 0.9217 MB / 0.65 GB, free: 10.39 MB / 478.1 MB 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.005843/0.6208, allocations: 4.956 MB / 0.6549 GB, free: 5.156 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.6222, allocations: 0.64 MB / 0.6555 GB, free: 4.508 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005586/0.6228, allocations: 0.8277 MB / 0.6563 GB, free: 3.496 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.6228, allocations: 43.12 kB / 0.6563 GB, free: 3.445 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 2.405e-06/0.6229, allocations: 0 / 0.6563 GB, free: 3.445 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.007102/0.63, allocations: 1.885 MB / 0.6582 GB, free: 1.535 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.63, allocations: 63.91 kB / 0.6582 GB, free: 1.461 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.6319, allocations: 1.245 MB / 0.6595 GB, free: 204 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.632, allocations: 45.7 kB / 0.6595 GB, free: 152 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005111/0.6325, allocations: 0.595 MB / 0.6601 GB, free: 15.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.6328, allocations: 216.8 kB / 0.6603 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.445e-05/0.6328, allocations: 12 kB / 0.6603 GB, free: 15.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.633, allocations: 338 kB / 0.6606 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006567/0.6336, allocations: 293.8 kB / 0.6609 GB, free: 14.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008122/0.6345, allocations: 0.5052 MB / 0.6614 GB, free: 14.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007177/0.6352, allocations: 355 kB / 0.6617 GB, free: 13.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6352, allocations: 0 / 0.6617 GB, free: 13.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004617/0.6398, allocations: 1.39 MB / 0.6631 GB, free: 12.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004731/0.6403, allocations: 1.423 MB / 0.6645 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.6403, allocations: 8 kB / 0.6645 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005739/0.6409, allocations: 152.6 kB / 0.6646 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.6416, allocations: 159.8 kB / 0.6648 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000821/0.6424, allocations: 0.7201 MB / 0.6655 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.6437, allocations: 182.8 kB / 0.6657 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/0.6437, allocations: 32 kB / 0.6657 GB, free: 9.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.6438, allocations: 4 kB / 0.6657 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004177/0.6479, allocations: 1.25 MB / 0.6669 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.648, allocations: 8.031 kB / 0.6669 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004755/0.6485, allocations: 146.2 kB / 0.6671 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/0.649, allocations: 163.8 kB / 0.6672 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007673/0.6498, allocations: 0.72 MB / 0.6679 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.6511, allocations: 159.2 kB / 0.6681 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/0.6511, allocations: 35.98 kB / 0.6681 GB, free: 7.074 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006106/0.6518, allocations: 409 kB / 0.6685 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.652, allocations: 138.3 kB / 0.6686 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/0.6564, allocations: 1.407 MB / 0.67 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.6564, allocations: 8 kB / 0.67 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.6565, allocations: 0 / 0.67 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003957/0.6604, allocations: 1.236 MB / 0.6712 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006561/0.667, allocations: 2.75 MB / 0.6739 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.667, allocations: 4.438 kB / 0.6739 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/0.6675, allocations: 123.9 kB / 0.674 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000457/0.668, allocations: 140.7 kB / 0.6742 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.668, allocations: 16 kB / 0.6742 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004679/0.6727, allocations: 2.555 MB / 0.6767 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.6727, allocations: 4 kB / 0.6767 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005303/0.6781, allocations: 2.058 MB / 0.6787 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008079/0.6789, allocations: 347 kB / 0.679 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.6791, allocations: 20.06 kB / 0.679 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008681/0.6799, allocations: 91.92 kB / 0.6791 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.6801, allocations: 68.19 kB / 0.6792 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.6801, allocations: 31.98 kB / 0.6792 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001198/0.6813, allocations: 0.8974 MB / 0.6801 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6813, allocations: 0 / 0.6801 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001894/0.6832, allocations: 0.7213 MB / 0.6808 GB, free: 9.512 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00687/0.6901, allocations: 3.851 MB / 0.6846 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002636/0.6928, allocations: 1.16 MB / 0.6857 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.6928, allocations: 4 kB / 0.6857 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/0.6944, allocations: 0.5956 MB / 0.6863 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004123/0.6985, allocations: 0.7577 MB / 0.687 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006395/0.7049, allocations: 5.939 MB / 0.6928 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/0.7057, allocations: 1.206 MB / 0.694 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001341/0.707, allocations: 310.9 kB / 0.6943 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006432/0.7077, allocations: 0.511 MB / 0.6948 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of SimCode: time 1.323e-06/0.7077, allocations: 3.938 kB / 0.6948 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3937/1.101, allocations: 42.02 MB / 0.7358 GB, free: 1.371 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/1.102, allocations: 246.5 kB / 0.7361 GB, free: 1.047 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.19/5.291, allocations: 3.625 kB / 0.7361 GB, free: 1.047 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) Environment - environmentSimulation: