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.0006839/0.0006835, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007563/0.0007565, allocations: 174.3 kB / 16.58 MB, free: 6.852 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.169/1.169, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6018/0.6018, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.000278, allocations: 8 kB / 493.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1162, allocations: 77.11 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.2674/0.3836, allocations: 56.46 MB / 0.612 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.396, allocations: 11.22 MB / 0.623 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.3973, allocations: 49.22 kB / 0.623 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.3985, allocations: 469.9 kB / 0.6235 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.4018, allocations: 1.525 MB / 0.625 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.4039, allocations: 0.861 MB / 0.6258 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003391/0.4073, allocations: 3.392 MB / 0.6291 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.4083, allocations: 0.7933 MB / 0.6299 GB, free: 9.543 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.4101, allocations: 1.041 MB / 0.6309 GB, free: 8.961 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009564/0.4111, allocations: 0.8025 MB / 0.6317 GB, free: 8.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.725e-05/0.4112, allocations: 46.61 kB / 0.6317 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.4133, allocations: 1.102 MB / 0.6328 GB, free: 7.902 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.4135, allocations: 200.2 kB / 0.633 GB, free: 7.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002805/0.4138, allocations: 287.5 kB / 0.6333 GB, free: 7.582 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.4153, allocations: 1.628 MB / 0.6349 GB, free: 6.516 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4154, allocations: 5.359 kB / 0.6349 GB, free: 6.512 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4154, allocations: 7.938 kB / 0.6349 GB, free: 6.504 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.4154, allocations: 0 / 0.6349 GB, free: 6.504 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.002189/0.4176, allocations: 1.508 MB / 0.6364 GB, free: 5.328 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.4176, allocations: 10.34 kB / 0.6364 GB, free: 5.328 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.4177, allocations: 123.8 kB / 0.6365 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.4195, allocations: 471.8 kB / 0.6369 GB, free: 5.031 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.4212, allocations: 1.089 MB / 0.638 GB, free: 4.152 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/0.4215, allocations: 121.8 kB / 0.6381 GB, free: 4.109 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.801e-05/0.4216, allocations: 82.12 kB / 0.6382 GB, free: 4.086 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.4232, allocations: 1.003 MB / 0.6392 GB, free: 3.449 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.4232, allocations: 3.984 kB / 0.6392 GB, free: 3.445 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.929e-05/0.4233, allocations: 37.62 kB / 0.6392 GB, free: 3.418 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.4233, allocations: 23.53 kB / 0.6392 GB, free: 3.414 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.4253, allocations: 0.9099 MB / 0.6401 GB, free: 2.988 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.00504/0.4304, allocations: 4.912 MB / 0.6449 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/0.4331, allocations: 0.8961 MB / 0.6458 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.4337, allocations: 325.4 kB / 0.6461 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005516/0.4343, allocations: 0.9044 MB / 0.647 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.4343, allocations: 37.88 kB / 0.647 GB, free: 12.96 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 1.503e-06/0.4343, allocations: 0 / 0.647 GB, free: 12.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.006853/0.4412, allocations: 2.163 MB / 0.6491 GB, free: 11.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.4412, allocations: 59.41 kB / 0.6492 GB, free: 11.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.4425, allocations: 1.044 MB / 0.6502 GB, free: 10.37 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.4425, allocations: 33.7 kB / 0.6502 GB, free: 10.33 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.4429, allocations: 0.5275 MB / 0.6508 GB, free: 9.801 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.443, allocations: 153.8 kB / 0.6509 GB, free: 9.648 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.443, allocations: 12 kB / 0.6509 GB, free: 9.637 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.4431, allocations: 325.9 kB / 0.6512 GB, free: 9.312 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007404/0.4439, allocations: 324.8 kB / 0.6515 GB, free: 8.992 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008637/0.4448, allocations: 0.5294 MB / 0.6521 GB, free: 8.383 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007805/0.4456, allocations: 367.9 kB / 0.6524 GB, free: 8.023 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.4456, allocations: 8 kB / 0.6524 GB, free: 8.016 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002175/0.4478, allocations: 1.031 MB / 0.6534 GB, free: 6.973 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.4479, allocations: 204.5 kB / 0.6536 GB, free: 6.715 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4479, allocations: 4 kB / 0.6536 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.449, allocations: 336.5 kB / 0.6539 GB, free: 6.379 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.4494, allocations: 123.9 kB / 0.6541 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.4507, allocations: 0.9425 MB / 0.655 GB, free: 5.289 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.4518, allocations: 191.9 kB / 0.6552 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.066e-05/0.4518, allocations: 31.98 kB / 0.6552 GB, free: 5.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.621e-06/0.4519, allocations: 0 / 0.6552 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002075/0.4539, allocations: 0.9179 MB / 0.6561 GB, free: 4.148 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.454, allocations: 7.984 kB / 0.6561 GB, free: 4.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009087/0.4549, allocations: 326.8 kB / 0.6564 GB, free: 3.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.4553, allocations: 135.8 kB / 0.6565 GB, free: 3.688 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.4565, allocations: 0.9309 MB / 0.6575 GB, free: 2.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008819/0.4574, allocations: 173.2 kB / 0.6576 GB, free: 2.562 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.4575, allocations: 35.98 kB / 0.6576 GB, free: 2.527 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.0003885/0.4579, allocations: 349 kB / 0.658 GB, free: 2.176 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.458, allocations: 106.7 kB / 0.6581 GB, free: 2.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003168/0.4612, allocations: 1.217 MB / 0.6593 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.4612, allocations: 8 kB / 0.6593 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4612, allocations: 0 / 0.6593 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.4612, allocations: 3.984 kB / 0.6593 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/0.4655, allocations: 2.28 MB / 0.6615 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.4655, allocations: 0 / 0.6615 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.4657, allocations: 71.89 kB / 0.6616 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008736/0.4666, allocations: 339.1 kB / 0.6619 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.4667, allocations: 15.95 kB / 0.6619 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.4679, allocations: 0.9583 MB / 0.6629 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4679, allocations: 4 kB / 0.6629 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/0.4709, allocations: 1.287 MB / 0.6641 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/0.4712, allocations: 283.4 kB / 0.6644 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.4713, allocations: 16 kB / 0.6644 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000761/0.4721, allocations: 107.9 kB / 0.6645 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.4722, allocations: 39.67 kB / 0.6645 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.4722, allocations: 23.98 kB / 0.6646 GB, free: 11.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009772/0.4732, allocations: 0.7389 MB / 0.6653 GB, free: 10.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4732, allocations: 0 / 0.6653 GB, free: 10.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001342/0.4746, allocations: 0.5652 MB / 0.6658 GB, free: 9.934 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.003874/0.4785, allocations: 2.089 MB / 0.6679 GB, free: 7.805 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002693/0.4812, allocations: 1.169 MB / 0.669 GB, free: 6.641 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.4812, allocations: 0 / 0.669 GB, free: 6.641 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007765/0.482, allocations: 378.9 kB / 0.6694 GB, free: 6.273 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.4839, allocations: 0.5015 MB / 0.6699 GB, free: 5.785 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.4971, allocations: 6.859 MB / 0.6766 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/0.4977, allocations: 1.073 MB / 0.6776 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007855/0.4985, allocations: 222.5 kB / 0.6778 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/0.499, allocations: 415.3 kB / 0.6782 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.499, allocations: 0 / 0.6782 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04702/0.546, allocations: 33.44 MB / 0.7109 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/0.5463, allocations: 251.7 kB / 0.7111 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/2.718, allocations: 0 / 0.7111 GB, free: 11.58 MB / 0.5294 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: