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.0006854/0.0006854, allocations: 92.86 kB / 15.7 MB, free: 472 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.0007605/0.0007605, allocations: 175.7 kB / 16.58 MB, free: 6.844 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.172/1.172, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5969/0.5969, allocations: 113.7 MB / 405.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002567/0.0002567, allocations: 8 kB / 493.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1171, allocations: 77.11 MB / 0.5569 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.2697/0.3867, allocations: 69.42 MB / 0.6247 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0165/0.4033, allocations: 14.2 MB / 0.6385 GB, free: 1.645 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.4051, allocations: 56.62 kB / 0.6386 GB, free: 1.621 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.4066, allocations: 0.5653 MB / 0.6392 GB, free: 1.137 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004637/0.4112, allocations: 1.985 MB / 0.6411 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.4137, allocations: 0.9677 MB / 0.642 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004216/0.4179, allocations: 4.803 MB / 0.6467 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.4192, allocations: 1.017 MB / 0.6477 GB, free: 11.4 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.4211, allocations: 1.283 MB / 0.649 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.4222, allocations: 1.08 MB / 0.65 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.4223, allocations: 56.69 kB / 0.6501 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.4243, allocations: 0.9409 MB / 0.651 GB, free: 9.602 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.4245, allocations: 273.9 kB / 0.6513 GB, free: 9.398 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.4248, allocations: 357.2 kB / 0.6516 GB, free: 9.195 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.4267, allocations: 2.088 MB / 0.6536 GB, free: 7.758 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4267, allocations: 0 / 0.6536 GB, free: 7.758 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4267, allocations: 4 kB / 0.6536 GB, free: 7.754 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.803e-05/0.4267, allocations: 0 / 0.6536 GB, free: 7.754 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.00267/0.4294, allocations: 1.81 MB / 0.6554 GB, free: 5.879 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.4294, allocations: 8.031 kB / 0.6554 GB, free: 5.871 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000154/0.4296, allocations: 151.9 kB / 0.6556 GB, free: 5.715 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006144/0.4302, allocations: 234 kB / 0.6558 GB, free: 5.484 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.4321, allocations: 1.447 MB / 0.6572 GB, free: 3.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.323e-05/0.4322, allocations: 78 kB / 0.6573 GB, free: 3.906 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.4323, allocations: 100 kB / 0.6574 GB, free: 3.809 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.4341, allocations: 1.12 MB / 0.6585 GB, free: 2.652 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.4341, allocations: 0 / 0.6585 GB, free: 2.652 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.4342, allocations: 40 kB / 0.6585 GB, free: 2.613 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.4343, allocations: 27.98 kB / 0.6585 GB, free: 2.586 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.4359, allocations: 0.9251 MB / 0.6594 GB, free: 1.664 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.004739/0.4406, allocations: 4.931 MB / 0.6642 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.4419, allocations: 0.632 MB / 0.6649 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006267/0.4425, allocations: 374.3 kB / 0.6652 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005569/0.4431, allocations: 0.8316 MB / 0.666 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.4431, allocations: 43.12 kB / 0.6661 GB, free: 10.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=62): time 1.814e-06/0.4431, allocations: 0 / 0.6661 GB, free: 10.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=62): time 0.003946/0.4471, allocations: 1.506 MB / 0.6675 GB, free: 8.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.4471, allocations: 59.91 kB / 0.6676 GB, free: 8.766 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.4484, allocations: 1.202 MB / 0.6688 GB, free: 7.547 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.317e-05/0.4485, allocations: 45.7 kB / 0.6688 GB, free: 7.496 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004243/0.4489, allocations: 0.6026 MB / 0.6694 GB, free: 6.887 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.4491, allocations: 216.9 kB / 0.6696 GB, free: 6.672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.4491, allocations: 12 kB / 0.6696 GB, free: 6.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.672e-05/0.4492, allocations: 333.9 kB / 0.6699 GB, free: 6.328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005733/0.4498, allocations: 301.8 kB / 0.6702 GB, free: 6.031 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.4505, allocations: 0.5005 MB / 0.6707 GB, free: 5.457 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/0.4512, allocations: 367 kB / 0.6711 GB, free: 5.098 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4512, allocations: 0 / 0.6711 GB, free: 5.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003779/0.455, allocations: 1.387 MB / 0.6724 GB, free: 3.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.4551, allocations: 189.1 kB / 0.6726 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.4551, allocations: 0 / 0.6726 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/0.4557, allocations: 168.7 kB / 0.6728 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/0.4562, allocations: 167.7 kB / 0.6729 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007105/0.4569, allocations: 0.7241 MB / 0.6736 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009167/0.4579, allocations: 167 kB / 0.6738 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.458, allocations: 43.91 kB / 0.6738 GB, free: 2.176 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.458, allocations: 4 kB / 0.6738 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003602/0.4616, allocations: 1.245 MB / 0.6751 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4616, allocations: 4.375 kB / 0.6751 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000482/0.4621, allocations: 156.7 kB / 0.6752 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/0.4626, allocations: 163.8 kB / 0.6754 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006605/0.4633, allocations: 0.7327 MB / 0.6761 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008669/0.4642, allocations: 156 kB / 0.6762 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/0.4642, allocations: 35.94 kB / 0.6763 GB, free: 15.66 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 (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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005115/0.4647, allocations: 416.9 kB / 0.6767 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.4649, allocations: 134.3 kB / 0.6768 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/0.4687, allocations: 1.397 MB / 0.6782 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.4688, allocations: 8 kB / 0.6782 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.4688, allocations: 0 / 0.6782 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003366/0.4721, allocations: 1.217 MB / 0.6793 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003352/0.4755, allocations: 2.345 MB / 0.6816 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4755, allocations: 8.062 kB / 0.6816 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/0.476, allocations: 119.8 kB / 0.6818 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.4764, allocations: 160.7 kB / 0.6819 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.4765, allocations: 19.98 kB / 0.6819 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006585/0.4772, allocations: 0.7085 MB / 0.6826 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.4772, allocations: 4 kB / 0.6826 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.4794, allocations: 1.462 MB / 0.6841 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004447/0.4799, allocations: 335.1 kB / 0.6844 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.4801, allocations: 16 kB / 0.6844 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/0.4808, allocations: 103.8 kB / 0.6845 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.713e-05/0.4809, allocations: 56.27 kB / 0.6845 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/0.481, allocations: 31.97 kB / 0.6846 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001017/0.482, allocations: 0.8623 MB / 0.6854 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.482, allocations: 0 / 0.6854 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001507/0.4835, allocations: 0.6979 MB / 0.6861 GB, free: 5.297 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003227/0.4868, allocations: 2.322 MB / 0.6884 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002153/0.4889, allocations: 1.16 MB / 0.6895 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4889, allocations: 0 / 0.6895 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007833/0.4897, allocations: 427.2 kB / 0.6899 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.4925, allocations: 0.7597 MB / 0.6906 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/0.5087, allocations: 8.345 MB / 0.6988 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.5094, allocations: 1.176 MB / 0.6999 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001105/0.5105, allocations: 310.5 kB / 0.7002 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006201/0.5112, allocations: 0.511 MB / 0.7007 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.5112, allocations: 3.938 kB / 0.7007 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0619/0.5731, allocations: 41.99 MB / 0.7417 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.5733, allocations: 244.1 kB / 0.742 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/2.926, allocations: 0 / 0.742 GB, free: 12.04 MB / 0.5606 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/linux/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) Environment - environmentSimulation: