Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL",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.0009088/0.0009089, allocations: 98.97 kB / 16.02 MB, free: 80 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.00104/0.00104, allocations: 183 kB / 16.92 MB, free: 6.754 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.279/1.279, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6415/0.6415, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002946, allocations: 8 kB / 496 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1195, allocations: 77.53 MB / 0.56 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.276/0.3956, allocations: 73.44 MB / 0.6318 GB, free: 5.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01701/0.4127, allocations: 15.05 MB / 0.6465 GB, free: 10.23 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.4145, allocations: 56.16 kB / 0.6465 GB, free: 10.21 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.4162, allocations: 0.6769 MB / 0.6472 GB, free: 9.633 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005303/0.4216, allocations: 2.374 MB / 0.6495 GB, free: 7.723 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.4243, allocations: 1.28 MB / 0.6507 GB, free: 6.754 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005054/0.4293, allocations: 5.555 MB / 0.6562 GB, free: 3.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.4309, allocations: 1.158 MB / 0.6573 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.4331, allocations: 1.329 MB / 0.6586 GB, free: 1.824 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.4344, allocations: 1.147 MB / 0.6597 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.4345, allocations: 56 kB / 0.6598 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.4367, allocations: 1.259 MB / 0.661 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.4369, allocations: 286.6 kB / 0.6613 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006631/0.4376, allocations: 0.7984 MB / 0.6621 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.44, allocations: 2.734 MB / 0.6647 GB, free: 11.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.44, allocations: 0 / 0.6647 GB, free: 11.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.44, allocations: 0 / 0.6647 GB, free: 11.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.44, allocations: 4 kB / 0.6647 GB, free: 11.52 MB / 494.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.002731/0.4427, allocations: 1.787 MB / 0.6665 GB, free: 9.668 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.4428, allocations: 12.03 kB / 0.6665 GB, free: 9.656 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.443, allocations: 156.1 kB / 0.6666 GB, free: 9.496 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006894/0.4436, allocations: 234.8 kB / 0.6669 GB, free: 9.266 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.4456, allocations: 1.493 MB / 0.6683 GB, free: 7.715 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/0.4457, allocations: 78 kB / 0.6684 GB, free: 7.641 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.4458, allocations: 100 kB / 0.6685 GB, free: 7.543 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.4476, allocations: 1.124 MB / 0.6696 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.4476, allocations: 0 / 0.6696 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.338e-05/0.4477, allocations: 40 kB / 0.6696 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.4478, allocations: 27.98 kB / 0.6696 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.4495, allocations: 0.9329 MB / 0.6706 GB, free: 5.387 MB / 494.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.004793/0.4543, allocations: 4.931 MB / 0.6754 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.4556, allocations: 0.6323 MB / 0.676 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006768/0.4563, allocations: 378.3 kB / 0.6763 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00053/0.4568, allocations: 0.8354 MB / 0.6772 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.4569, allocations: 43.12 kB / 0.6772 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 1.533e-06/0.4569, allocations: 0 / 0.6772 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62): time 0.004486/0.4614, allocations: 1.518 MB / 0.6787 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.4614, allocations: 63.97 kB / 0.6787 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.4627, allocations: 1.21 MB / 0.6799 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.862e-05/0.4628, allocations: 41.7 kB / 0.68 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004347/0.4632, allocations: 0.6104 MB / 0.6806 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.4634, allocations: 208.9 kB / 0.6808 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/0.4635, allocations: 65.69 kB / 0.6808 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.4636, allocations: 337.9 kB / 0.6812 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006333/0.4642, allocations: 301.8 kB / 0.6814 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007646/0.465, allocations: 0.5038 MB / 0.6819 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.4663, allocations: 0.7587 MB / 0.6827 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4663, allocations: 4 kB / 0.6827 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00447/0.4708, allocations: 1.394 MB / 0.684 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-05/0.4709, allocations: 189.5 kB / 0.6842 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4709, allocations: 4 kB / 0.6842 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/0.4715, allocations: 164.7 kB / 0.6844 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/0.4721, allocations: 163.7 kB / 0.6845 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00076/0.4728, allocations: 0.7312 MB / 0.6852 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009195/0.4738, allocations: 167 kB / 0.6854 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.4738, allocations: 35.98 kB / 0.6854 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/0.4739, allocations: 7.938 kB / 0.6855 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004267/0.4781, allocations: 1.253 MB / 0.6867 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4781, allocations: 4 kB / 0.6867 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005057/0.4787, allocations: 165.1 kB / 0.6868 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.4792, allocations: 159.8 kB / 0.687 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007293/0.4799, allocations: 0.724 MB / 0.6877 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008628/0.4808, allocations: 170.2 kB / 0.6879 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.4809, allocations: 28 kB / 0.6879 GB, free: 2.828 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004235/0.4813, allocations: 426.4 kB / 0.6883 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.4815, allocations: 138.3 kB / 0.6884 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004458/0.4859, allocations: 1.39 MB / 0.6898 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.486, allocations: 11.94 kB / 0.6898 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.486, allocations: 0 / 0.6898 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004054/0.49, allocations: 1.221 MB / 0.691 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.4933, allocations: 2.352 MB / 0.6933 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.4933, allocations: 4 kB / 0.6933 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/0.4938, allocations: 124.2 kB / 0.6934 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004978/0.4943, allocations: 160.7 kB / 0.6936 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.4943, allocations: 16 kB / 0.6936 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007069/0.4951, allocations: 0.7246 MB / 0.6943 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.4951, allocations: 7.984 kB / 0.6943 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.4975, allocations: 1.462 MB / 0.6957 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/0.4979, allocations: 339 kB / 0.696 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.498, allocations: 19.98 kB / 0.6961 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000803/0.4989, allocations: 91.28 kB / 0.6961 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.499, allocations: 56.31 kB / 0.6962 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/0.499, allocations: 35.97 kB / 0.6962 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009776/0.5, allocations: 0.87 MB / 0.6971 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5, allocations: 0 / 0.6971 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001352/0.5014, allocations: 0.7056 MB / 0.6978 GB, free: 8.41 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003261/0.5046, allocations: 2.331 MB / 0.7 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002245/0.5069, allocations: 1.18 MB / 0.7012 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5069, allocations: 0 / 0.7012 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008571/0.5078, allocations: 419.3 kB / 0.7016 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003652/0.5114, allocations: 0.7841 MB / 0.7024 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/0.5331, allocations: 11.24 MB / 0.7133 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/0.5337, allocations: 1.173 MB / 0.7145 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001103/0.5348, allocations: 311 kB / 0.7148 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006456/0.5355, allocations: 0.5188 MB / 0.7153 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of SimCode: time 7.02e-07/0.5355, allocations: 0 / 0.7153 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.547/3.083, allocations: 42.35 MB / 0.7567 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/3.083, allocations: 269.5 kB / 0.7569 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/5.641, allocations: 7.312 kB / 0.7569 GB, free: 11.69 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)