Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.001538/0.001538, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001403/0.001403, allocations: 214.1 kB / 22.25 MB, free: 5.242 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002461/0.002461, allocations: 289.4 kB / 312.7 MB, free: 2.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.188/1.188, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002897/0.002897, allocations: 107.5 kB / 0.7395 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1625, allocations: 95.38 MB / 0.8326 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001638/0.1641, allocations: 0.5398 MB / 0.8332 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00017/0.1643, allocations: 36.23 kB / 0.8332 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.1643, allocations: 0 / 0.8332 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.1643, allocations: 0 / 0.8332 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.1645, allocations: 11.92 kB / 0.8332 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 5.686e-05/0.1645, allocations: 7.984 kB / 0.8332 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.701e-05/0.1646, allocations: 7.938 kB / 0.8332 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.1646, allocations: 0 / 0.8332 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.1646, allocations: 11.94 kB / 0.8332 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.327e-05/0.1647, allocations: 7.984 kB / 0.8332 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.1647, allocations: 4 kB / 0.8332 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.1647, allocations: 4 kB / 0.8332 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.1648, allocations: 7.969 kB / 0.8332 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.1648, allocations: 7.938 kB / 0.8333 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 5.992e-05/0.1649, allocations: 8.219 kB / 0.8333 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1649, allocations: 0 / 0.8333 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1649, allocations: 0 / 0.8333 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.1649, allocations: 0 / 0.8333 GB, free: 7.703 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004131/0.1653, allocations: 262.3 kB / 0.8335 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1653, allocations: 9.344 kB / 0.8335 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.985e-05/0.1654, allocations: 34.75 kB / 0.8336 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.1654, allocations: 4.938 kB / 0.8336 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.1656, allocations: 122.5 kB / 0.8337 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.1656, allocations: 4.312 kB / 0.8337 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.1656, allocations: 4.375 kB / 0.8337 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.848e-05/0.1657, allocations: 30.27 kB / 0.8337 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1657, allocations: 3.938 kB / 0.8337 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.1657, allocations: 0 / 0.8337 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1657, allocations: 0 / 0.8337 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.732e-05/0.1657, allocations: 3.984 kB / 0.8337 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.1658, allocations: 128.8 kB / 0.8338 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.369e-05/0.1659, allocations: 26.5 kB / 0.8339 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.1659, allocations: 8.844 kB / 0.8339 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.1659, allocations: 0 / 0.8339 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1659, allocations: 38.62 kB / 0.8339 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.1659, allocations: 0 / 0.8339 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001285/0.1661, allocations: 41.62 kB / 0.834 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1661, allocations: 55.39 kB / 0.834 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.1662, allocations: 113.8 kB / 0.8341 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1662, allocations: 25.7 kB / 0.8341 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.1663, allocations: 92.27 kB / 0.8342 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.1663, allocations: 3.953 kB / 0.8342 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.1663, allocations: 21.59 kB / 0.8343 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.1665, allocations: 314.8 kB / 0.8346 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.1665, allocations: 7.984 kB / 0.8346 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.379e-05/0.1665, allocations: 13.72 kB / 0.8346 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.1665, allocations: 25.64 kB / 0.8346 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1665, allocations: 0 / 0.8346 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.575e-05/0.1666, allocations: 53.69 kB / 0.8346 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1666, allocations: 7.938 kB / 0.8347 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.1666, allocations: 0 / 0.8347 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1666, allocations: 4 kB / 0.8347 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.242e-05/0.1667, allocations: 0 / 0.8347 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1667, allocations: 4 kB / 0.8347 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.201e-05/0.1667, allocations: 0 / 0.8347 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.1667, allocations: 0 / 0.8347 GB, free: 6.062 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.3e-05/0.1668, allocations: 114.5 kB / 0.8348 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.1668, allocations: 3.938 kB / 0.8348 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.482e-05/0.1669, allocations: 57.16 kB / 0.8348 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1669, allocations: 0 / 0.8348 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1669, allocations: 0 / 0.8348 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1669, allocations: 0 / 0.8348 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.167, allocations: 136.7 kB / 0.835 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.167, allocations: 0 / 0.835 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.1671, allocations: 4 kB / 0.835 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.1671, allocations: 3.938 kB / 0.835 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1671, allocations: 3.984 kB / 0.835 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1671, allocations: 0 / 0.835 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1671, allocations: 0 / 0.835 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.1672, allocations: 85.09 kB / 0.8351 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.1672, allocations: 3.984 kB / 0.8351 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.1673, allocations: 7.969 kB / 0.8351 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.006e-05/0.1673, allocations: 0 / 0.8351 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-06/0.1673, allocations: 0 / 0.8351 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.1673, allocations: 0 / 0.8351 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.624e-05/0.1674, allocations: 95.52 kB / 0.8352 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1674, allocations: 0 / 0.8352 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001901/0.1675, allocations: 4 kB / 0.8352 GB, free: 5.473 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.000414/0.168, allocations: 0.6164 MB / 0.8358 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.579e-05/0.168, allocations: 15.92 kB / 0.8358 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.168, allocations: 0 / 0.8358 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.49e-05/0.168, allocations: 8 kB / 0.8358 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.1682, allocations: 11.88 kB / 0.8358 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.1692, allocations: 1.143 MB / 0.8369 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.463e-05/0.1693, allocations: 67.56 kB / 0.837 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.674e-05/0.1693, allocations: 8 kB / 0.837 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.1693, allocations: 11.42 kB / 0.837 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1693, allocations: 0 / 0.837 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.1989, allocations: 1.72 MB / 0.8387 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.72, allocations: 9.203 kB / 0.8387 GB, free: 1.863 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.754982001148164] Failed to read output from testmodel.py, exit status != 0: 10.823341617826372 10.839631581 10.671781121 Calling exit ...