Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",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.0008477/0.0008478, allocations: 92.95 kB / 16.02 MB, free: 84 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.0008862/0.0008862, allocations: 183.9 kB / 16.92 MB, free: 6.934 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.178/1.178, allocations: 223.3 MB / 241 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.609/0.609, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000257/0.000257, allocations: 8 kB / 495.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1224, allocations: 77.54 MB / 0.56 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.2928/0.4152, allocations: 73.42 MB / 0.6317 GB, free: 5.613 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01874/0.434, allocations: 15.04 MB / 0.6464 GB, free: 10.15 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.4356, allocations: 57.72 kB / 0.6465 GB, free: 10.12 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.4371, allocations: 0.683 MB / 0.6471 GB, free: 9.539 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004694/0.4418, allocations: 2.375 MB / 0.6495 GB, free: 7.629 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.4444, allocations: 1.276 MB / 0.6507 GB, free: 6.664 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004674/0.4491, allocations: 5.557 MB / 0.6561 GB, free: 3.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.4504, allocations: 1.167 MB / 0.6573 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001896/0.4523, allocations: 1.32 MB / 0.6586 GB, free: 1.75 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.4535, allocations: 1.155 MB / 0.6597 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.4537, allocations: 56 kB / 0.6597 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.4559, allocations: 1.239 MB / 0.661 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.4562, allocations: 282.7 kB / 0.6612 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006843/0.4569, allocations: 0.8022 MB / 0.662 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.4594, allocations: 2.722 MB / 0.6647 GB, free: 11.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4594, allocations: 0 / 0.6647 GB, free: 11.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4594, allocations: 0 / 0.6647 GB, free: 11.47 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.4594, allocations: 4 kB / 0.6647 GB, free: 11.47 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.002839/0.4622, allocations: 1.776 MB / 0.6664 GB, free: 9.629 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.4623, allocations: 12.03 kB / 0.6664 GB, free: 9.617 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001581/0.4625, allocations: 148.1 kB / 0.6666 GB, free: 9.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006999/0.4632, allocations: 234.9 kB / 0.6668 GB, free: 9.234 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.4652, allocations: 1.501 MB / 0.6682 GB, free: 7.676 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.4653, allocations: 78 kB / 0.6683 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.4655, allocations: 100 kB / 0.6684 GB, free: 7.504 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.4674, allocations: 1.116 MB / 0.6695 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.4674, allocations: 0 / 0.6695 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.934e-05/0.4675, allocations: 43.98 kB / 0.6695 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.4675, allocations: 27.98 kB / 0.6696 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.4694, allocations: 0.9329 MB / 0.6705 GB, free: 5.352 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.005132/0.4745, allocations: 4.916 MB / 0.6753 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.476, allocations: 0.6441 MB / 0.6759 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/0.4767, allocations: 366.3 kB / 0.6763 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005466/0.4773, allocations: 0.8238 MB / 0.6771 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.4773, allocations: 51.05 kB / 0.6771 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 1.694e-06/0.4773, allocations: 3.938 kB / 0.6771 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.00742/0.4847, allocations: 1.892 MB / 0.679 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.4848, allocations: 59.97 kB / 0.679 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.4862, allocations: 1.21 MB / 0.6802 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.4863, allocations: 37.7 kB / 0.6802 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/0.4867, allocations: 0.6065 MB / 0.6808 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.4869, allocations: 209 kB / 0.681 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.56e-05/0.487, allocations: 73.61 kB / 0.6811 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.4871, allocations: 334 kB / 0.6814 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006847/0.4878, allocations: 301.8 kB / 0.6817 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000817/0.4886, allocations: 0.5085 MB / 0.6822 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.4901, allocations: 0.7595 MB / 0.683 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4901, allocations: 0 / 0.683 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004806/0.4949, allocations: 1.41 MB / 0.6843 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.841e-05/0.495, allocations: 198.2 kB / 0.6845 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.495, allocations: 4 kB / 0.6845 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005444/0.4955, allocations: 148.7 kB / 0.6847 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.4961, allocations: 167.7 kB / 0.6848 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007904/0.4969, allocations: 0.7135 MB / 0.6855 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009835/0.4979, allocations: 171.8 kB / 0.6857 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.317e-05/0.498, allocations: 35.98 kB / 0.6857 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.709e-06/0.498, allocations: 0 / 0.6857 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004675/0.5027, allocations: 1.261 MB / 0.6869 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5027, allocations: 4 kB / 0.687 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004761/0.5032, allocations: 150.4 kB / 0.6871 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/0.5038, allocations: 163.8 kB / 0.6873 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007714/0.5046, allocations: 0.7162 MB / 0.688 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/0.5055, allocations: 155.2 kB / 0.6881 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.884e-05/0.5056, allocations: 31.98 kB / 0.6881 GB, free: 2.457 MB / 0.4981 GB 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 (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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004479/0.506, allocations: 420.8 kB / 0.6885 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.5062, allocations: 138.2 kB / 0.6887 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004865/0.5111, allocations: 1.404 MB / 0.69 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.5111, allocations: 7.984 kB / 0.69 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5111, allocations: 0 / 0.69 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004407/0.5155, allocations: 1.24 MB / 0.6913 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0063/0.5219, allocations: 2.743 MB / 0.6939 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.5219, allocations: 4 kB / 0.6939 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.5223, allocations: 119.9 kB / 0.694 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/0.5228, allocations: 144.7 kB / 0.6942 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/0.5229, allocations: 23.92 kB / 0.6942 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004701/0.5276, allocations: 2.485 MB / 0.6966 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5276, allocations: 4 kB / 0.6966 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005365/0.533, allocations: 1.852 MB / 0.6984 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.5334, allocations: 331 kB / 0.6988 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.5335, allocations: 19.94 kB / 0.6988 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008725/0.5344, allocations: 99.88 kB / 0.6989 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.5345, allocations: 56.25 kB / 0.6989 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/0.5346, allocations: 35.97 kB / 0.699 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001042/0.5356, allocations: 0.8662 MB / 0.6998 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5356, allocations: 0 / 0.6998 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001535/0.5372, allocations: 0.7096 MB / 0.7005 GB, free: 5.371 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006291/0.5435, allocations: 2.728 MB / 0.7032 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002392/0.5459, allocations: 1.168 MB / 0.7043 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5459, allocations: 0 / 0.7043 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.5474, allocations: 0.6072 MB / 0.7049 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/0.5513, allocations: 0.7937 MB / 0.7057 GB, free: 16 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02274/0.574, allocations: 11.21 MB / 0.7166 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006647/0.5747, allocations: 1.175 MB / 0.7178 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001003/0.5757, allocations: 307 kB / 0.7181 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006646/0.5764, allocations: 0.5188 MB / 0.7186 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.5764, allocations: 4 kB / 0.7186 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.982/4.559, allocations: 42.45 MB / 0.76 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/4.559, allocations: 259.1 kB / 0.7603 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/7.55, allocations: 0 / 0.7603 GB, free: 8.027 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)