Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 112.9 kB / 17.12 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 212.3 kB / 20.1 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.95/0.95, allocations: 150 MB / 459.5 MB, free: 5.312 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.42 kB / 0.6361 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1579, allocations: 89.14 MB / 0.7232 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002792/0.1607, allocations: 1.601 MB / 0.7247 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1623, allocations: 0.9873 MB / 0.7257 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.171e-05/0.1624, allocations: 3.938 kB / 0.7257 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.1624, allocations: 3.938 kB / 0.7257 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.1626, allocations: 31.78 kB / 0.7257 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.163, allocations: 151.6 kB / 0.7259 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1631, allocations: 83.64 kB / 0.726 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.607e-05/0.1632, allocations: 8.266 kB / 0.726 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.1634, allocations: 43.8 kB / 0.726 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.13e-05/0.1635, allocations: 43.83 kB / 0.726 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1635, allocations: 4 kB / 0.7261 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004036/0.1639, allocations: 287.6 kB / 0.7263 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.1639, allocations: 15.92 kB / 0.7263 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.1639, allocations: 31.8 kB / 0.7264 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.1642, allocations: 159.4 kB / 0.7265 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1642, allocations: 0 / 0.7265 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1642, allocations: 3.938 kB / 0.7265 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.1642, allocations: 0 / 0.7265 GB, free: 0.5703 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005837/0.1648, allocations: 426.7 kB / 0.7269 GB, free: 108 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1648, allocations: 12.03 kB / 0.7269 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.1649, allocations: 30.75 kB / 0.727 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/0.1651, allocations: 32.86 kB / 0.727 GB, free: 24 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.1654, allocations: 194.1 kB / 0.7272 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1654, allocations: 20.06 kB / 0.7272 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.1654, allocations: 0 / 0.7272 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1656, allocations: 61.66 kB / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1656, allocations: 0 / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1656, allocations: 0 / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1656, allocations: 4 kB / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.1658, allocations: 43.91 kB / 0.7273 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.1663, allocations: 304.8 kB / 0.7276 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.1664, allocations: 46.56 kB / 0.7277 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.325e-05/0.1665, allocations: 28.97 kB / 0.7277 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.1665, allocations: 0 / 0.7277 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1665, allocations: 42.5 kB / 0.7277 GB, free: 15.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1665, allocations: 0 / 0.7277 GB, free: 15.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0003727/0.1669, allocations: 113.6 kB / 0.7278 GB, free: 15.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1669, allocations: 51.41 kB / 0.7279 GB, free: 15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.1671, allocations: 140.2 kB / 0.728 GB, free: 14.85 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1671, allocations: 25.7 kB / 0.728 GB, free: 14.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.1671, allocations: 96.12 kB / 0.7281 GB, free: 14.72 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.1672, allocations: 19.84 kB / 0.7281 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.1672, allocations: 21.7 kB / 0.7282 GB, free: 14.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1673, allocations: 322.8 kB / 0.7285 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-05/0.1674, allocations: 23.97 kB / 0.7285 GB, free: 14.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.1675, allocations: 19.98 kB / 0.7285 GB, free: 14.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.1677, allocations: 56.77 kB / 0.7286 GB, free: 14.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1677, allocations: 4 kB / 0.7286 GB, free: 14.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002287/0.1679, allocations: 89.62 kB / 0.7287 GB, free: 14.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1679, allocations: 4 kB / 0.7287 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1679, allocations: 4 kB / 0.7287 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1679, allocations: 0 / 0.7287 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.168, allocations: 11.98 kB / 0.7287 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.168, allocations: 0 / 0.7287 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.505e-05/0.1681, allocations: 15.88 kB / 0.7287 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1681, allocations: 4 kB / 0.7287 GB, free: 14.11 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.604e-05/0.1682, allocations: 121.8 kB / 0.7288 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.1682, allocations: 7.953 kB / 0.7288 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.1685, allocations: 97.95 kB / 0.7289 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1685, allocations: 4.438 kB / 0.7289 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1685, allocations: 7.922 kB / 0.7289 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1685, allocations: 7.938 kB / 0.7289 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.1687, allocations: 177.6 kB / 0.7291 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.1687, allocations: 8 kB / 0.7291 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.453e-05/0.1688, allocations: 15.98 kB / 0.7291 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1688, allocations: 0 / 0.7291 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1688, allocations: 0 / 0.7291 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1688, allocations: 3.938 kB / 0.7291 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1688, allocations: 0 / 0.7291 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.1691, allocations: 195.4 kB / 0.7293 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.1691, allocations: 81.06 kB / 0.7294 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.1692, allocations: 7.984 kB / 0.7294 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.1692, allocations: 0 / 0.7294 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.1693, allocations: 11.98 kB / 0.7294 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.1693, allocations: 3.938 kB / 0.7294 GB, free: 13.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.398e-05/0.1694, allocations: 103.3 kB / 0.7295 GB, free: 13.17 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1694, allocations: 0 / 0.7295 GB, free: 13.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002662/0.1696, allocations: 23.94 kB / 0.7295 GB, free: 13.15 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006333/0.1703, allocations: 0.7359 MB / 0.7303 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.1705, allocations: 51.97 kB / 0.7303 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1705, allocations: 0 / 0.7303 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-05/0.1706, allocations: 31.92 kB / 0.7303 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.1709, allocations: 17.64 kB / 0.7304 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.1726, allocations: 1.485 MB / 0.7318 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1729, allocations: 0.7025 MB / 0.7325 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.559e-05/0.1729, allocations: 0 / 0.7325 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.173, allocations: 27.42 kB / 0.7325 GB, free: 9.973 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.173, allocations: 0 / 0.7325 GB, free: 9.973 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.198, allocations: 2.384 MB / 0.7348 GB, free: 7.727 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.157, allocations: 7.156 kB / 0.7349 GB, free: 7.723 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.906004132004455] Failed to read output from testmodel.py, exit status != 0: 8.223812704905868 8.239954663 8.072663574 Calling exit ...