Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_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_TCon_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_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.001314/0.001314, allocations: 96.03 kB / 15.68 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.00147/0.00147, allocations: 170.9 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.797/1.797, allocations: 223.2 MB / 240.5 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6503/0.6503, allocations: 113.7 MB / 405.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004933, allocations: 8 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1519, allocations: 77.12 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.2801/0.432, allocations: 51.27 MB / 0.6068 GB, free: 8.469 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.4457, allocations: 10.31 MB / 0.6169 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002227/0.448, allocations: 49.16 kB / 0.6169 GB, free: 1.129 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.45, allocations: 0.6255 MB / 0.6175 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006086/0.4561, allocations: 1.947 MB / 0.6194 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003918/0.46, allocations: 1.316 MB / 0.6207 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00483/0.4649, allocations: 1.845 MB / 0.6225 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.4664, allocations: 0.8146 MB / 0.6233 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.4692, allocations: 0.9858 MB / 0.6243 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.4704, allocations: 0.5915 MB / 0.6248 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.4705, allocations: 42.03 kB / 0.6249 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002805/0.4733, allocations: 1.003 MB / 0.6259 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.4735, allocations: 206 kB / 0.6261 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.4739, allocations: 278.7 kB / 0.6263 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.476, allocations: 1.589 MB / 0.6279 GB, free: 11.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.476, allocations: 1.219 kB / 0.6279 GB, free: 11.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.476, allocations: 0 / 0.6279 GB, free: 11.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.476, allocations: 0 / 0.6279 GB, free: 11.27 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00283/0.4789, allocations: 1.485 MB / 0.6293 GB, free: 10.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4789, allocations: 9.625 kB / 0.6293 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.4791, allocations: 128.8 kB / 0.6295 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.4812, allocations: 465.3 kB / 0.6299 GB, free: 9.816 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.4831, allocations: 1.053 MB / 0.6309 GB, free: 8.957 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003603/0.4835, allocations: 123.2 kB / 0.631 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.4837, allocations: 79.62 kB / 0.6311 GB, free: 8.891 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.4856, allocations: 1.003 MB / 0.6321 GB, free: 8.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.4857, allocations: 4.938 kB / 0.6321 GB, free: 8.246 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.888e-05/0.4857, allocations: 31.94 kB / 0.6321 GB, free: 8.223 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.4858, allocations: 18.72 kB / 0.6322 GB, free: 8.223 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.4879, allocations: 0.9202 MB / 0.6331 GB, free: 7.789 MB / 462.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.006557/0.4945, allocations: 4.93 MB / 0.6379 GB, free: 3.414 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.4978, allocations: 0.9063 MB / 0.6388 GB, free: 3.004 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007014/0.4986, allocations: 0.9126 MB / 0.6396 GB, free: 1.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.4986, allocations: 37.34 kB / 0.6397 GB, free: 1.887 MB / 462.1 MB Notification: Performance of pre-optimization done (n=44): time 2.024e-06/0.4986, allocations: 0 / 0.6397 GB, free: 1.887 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.008586/0.5072, allocations: 2.151 MB / 0.6418 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.5073, allocations: 54.66 kB / 0.6418 GB, free: 0.832 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.5096, allocations: 1.068 MB / 0.6429 GB, free: 240 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.5097, allocations: 40.86 kB / 0.6429 GB, free: 196 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005134/0.5103, allocations: 0.5226 MB / 0.6434 GB, free: 15.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.5105, allocations: 156.6 kB / 0.6436 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.5105, allocations: 8 kB / 0.6436 GB, free: 15.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.5107, allocations: 328.4 kB / 0.6439 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009348/0.5117, allocations: 323.2 kB / 0.6442 GB, free: 15.12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.5127, allocations: 0.5151 MB / 0.6447 GB, free: 14.73 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009463/0.5137, allocations: 373.8 kB / 0.6451 GB, free: 14.55 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.5137, allocations: 0 / 0.6451 GB, free: 14.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003057/0.5168, allocations: 1.042 MB / 0.6461 GB, free: 13.65 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009013/0.5177, allocations: 1.58 MB / 0.6476 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5177, allocations: 7.938 kB / 0.6476 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.5191, allocations: 328.6 kB / 0.6479 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005372/0.5196, allocations: 123.8 kB / 0.6481 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.5212, allocations: 0.9437 MB / 0.649 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.5226, allocations: 195.9 kB / 0.6492 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.357e-05/0.5227, allocations: 27.98 kB / 0.6492 GB, free: 10.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.5227, allocations: 4 kB / 0.6492 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002467/0.5252, allocations: 0.91 MB / 0.6501 GB, free: 9.395 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5252, allocations: 4 kB / 0.6501 GB, free: 9.391 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.5263, allocations: 330.2 kB / 0.6504 GB, free: 9.066 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.5269, allocations: 127.8 kB / 0.6505 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.5284, allocations: 0.9406 MB / 0.6514 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.5296, allocations: 171.3 kB / 0.6516 GB, free: 7.809 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-05/0.5297, allocations: 35.98 kB / 0.6516 GB, free: 7.773 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005582/0.5302, allocations: 345 kB / 0.652 GB, free: 7.426 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.5304, allocations: 106.7 kB / 0.6521 GB, free: 7.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003745/0.5342, allocations: 1.216 MB / 0.6533 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.5342, allocations: 4 kB / 0.6533 GB, free: 6.094 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5342, allocations: 0 / 0.6533 GB, free: 6.094 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.5342, allocations: 3.984 kB / 0.6533 GB, free: 6.09 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005146/0.5394, allocations: 2.323 MB / 0.6555 GB, free: 3.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5394, allocations: 0 / 0.6555 GB, free: 3.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.5397, allocations: 63.95 kB / 0.6556 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.5407, allocations: 339.4 kB / 0.6559 GB, free: 3.285 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.5408, allocations: 16 kB / 0.6559 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.5423, allocations: 0.9676 MB / 0.6569 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.5423, allocations: 3.938 kB / 0.6569 GB, free: 2.273 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003555/0.5458, allocations: 1.393 MB / 0.6582 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/0.5464, allocations: 295.4 kB / 0.6585 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.5466, allocations: 15.94 kB / 0.6585 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008649/0.5474, allocations: 115.8 kB / 0.6587 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.5475, allocations: 43.62 kB / 0.6587 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.193e-05/0.5476, allocations: 23.98 kB / 0.6587 GB, free: 292 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001215/0.5488, allocations: 0.7506 MB / 0.6595 GB, free: 15.53 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5488, allocations: 0 / 0.6595 GB, free: 15.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001737/0.5506, allocations: 0.5614 MB / 0.66 GB, free: 14.96 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004995/0.5556, allocations: 2.822 MB / 0.6628 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003299/0.5589, allocations: 1.173 MB / 0.6639 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5589, allocations: 0 / 0.6639 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009176/0.5599, allocations: 374.9 kB / 0.6643 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.5625, allocations: 0.4934 MB / 0.6647 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007552/0.57, allocations: 5.778 MB / 0.6704 GB, free: 4.098 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/0.5707, allocations: 1.085 MB / 0.6714 GB, free: 2.984 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001047/0.5718, allocations: 224.6 kB / 0.6717 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005687/0.5724, allocations: 411.3 kB / 0.6721 GB, free: 2.359 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5724, allocations: 8 kB / 0.6721 GB, free: 2.352 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3094/0.8818, allocations: 33.14 MB / 0.7044 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003355/0.8822, allocations: 250 kB / 0.7047 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/3.893, allocations: 0 / 0.7047 GB, free: 1.344 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) Environment - environmentSimulation: