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.00134/0.00134, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00153/0.00153, allocations: 214.7 kB / 22.25 MB, free: 5.125 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.961 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.002423/0.002423, allocations: 293.8 kB / 312.7 MB, free: 2.773 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.192/1.192, allocations: 180.6 MB / 0.5369 GB, free: 12.93 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.002801/0.002801, allocations: 105.6 kB / 0.7396 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1606, allocations: 95.38 MB / 0.8327 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001697/0.1623, allocations: 0.5321 MB / 0.8332 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001927/0.1624, allocations: 44.17 kB / 0.8333 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.1625, allocations: 0 / 0.8333 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.1625, allocations: 3.984 kB / 0.8333 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.1627, allocations: 11.94 kB / 0.8333 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 5.438e-05/0.1627, allocations: 7.922 kB / 0.8333 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.387e-05/0.1628, allocations: 11.94 kB / 0.8333 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.1628, allocations: 7.984 kB / 0.8333 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.1629, allocations: 4 kB / 0.8333 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.1629, allocations: 11.92 kB / 0.8333 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.163, allocations: 0 / 0.8333 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-06/0.163, allocations: 0 / 0.8333 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.163, allocations: 8 kB / 0.8333 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.163, allocations: 7.922 kB / 0.8333 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 5.857e-05/0.1631, allocations: 12.27 kB / 0.8334 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1631, allocations: 0 / 0.8334 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1631, allocations: 0 / 0.8334 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.1631, allocations: 0 / 0.8334 GB, free: 7.98 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.0004294/0.1635, allocations: 258.3 kB / 0.8336 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1636, allocations: 13.34 kB / 0.8336 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.1636, allocations: 30.75 kB / 0.8336 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.1636, allocations: 4.875 kB / 0.8337 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.1638, allocations: 122.5 kB / 0.8338 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1638, allocations: 12.36 kB / 0.8338 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1639, allocations: 384 / 0.8338 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.841e-05/0.1639, allocations: 38.19 kB / 0.8338 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1639, allocations: 3.938 kB / 0.8338 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.164, allocations: 0 / 0.8338 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.164, allocations: 0 / 0.8338 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.135e-05/0.164, allocations: 4 kB / 0.8338 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.1641, allocations: 124.8 kB / 0.8339 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.872e-05/0.1642, allocations: 22.58 kB / 0.834 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.889e-05/0.1642, allocations: 8.844 kB / 0.834 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.1642, allocations: 3.938 kB / 0.834 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1642, allocations: 34.62 kB / 0.834 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.1642, allocations: 0 / 0.834 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001385/0.1644, allocations: 45.62 kB / 0.8341 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1644, allocations: 51.41 kB / 0.8341 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1645, allocations: 114 kB / 0.8342 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1645, allocations: 25.7 kB / 0.8342 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.1646, allocations: 80.14 kB / 0.8343 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1646, allocations: 15.94 kB / 0.8343 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.1646, allocations: 9.719 kB / 0.8343 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1648, allocations: 314.8 kB / 0.8346 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.1648, allocations: 0 / 0.8346 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.881e-05/0.1648, allocations: 25.64 kB / 0.8347 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/0.1648, allocations: 21.78 kB / 0.8347 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1648, allocations: 3.938 kB / 0.8347 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.576e-05/0.1649, allocations: 49.62 kB / 0.8347 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1649, allocations: 13.81 kB / 0.8347 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1649, allocations: 0 / 0.8347 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.165, allocations: 3.984 kB / 0.8348 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.393e-05/0.165, allocations: 4 kB / 0.8348 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.165, allocations: 4.062 kB / 0.8348 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/0.165, allocations: 0 / 0.8348 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.1651, allocations: 4 kB / 0.8348 GB, free: 6.34 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 7.461e-05/0.1651, allocations: 106.5 kB / 0.8349 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.1651, allocations: 7.875 kB / 0.8349 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.805e-05/0.1652, allocations: 57.08 kB / 0.8349 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1652, allocations: 0 / 0.8349 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1652, allocations: 256 / 0.8349 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1652, allocations: 4.031 kB / 0.8349 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.1654, allocations: 136.7 kB / 0.8351 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1654, allocations: 0 / 0.8351 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.1654, allocations: 4 kB / 0.8351 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1654, allocations: 3.938 kB / 0.8351 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.1654, allocations: 0 / 0.8351 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1654, allocations: 3.984 kB / 0.8351 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1654, allocations: 0 / 0.8351 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.1655, allocations: 89.05 kB / 0.8352 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.1656, allocations: 0 / 0.8352 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1656, allocations: 11.95 kB / 0.8352 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.982e-05/0.1656, allocations: 0 / 0.8352 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.1656, allocations: 0 / 0.8352 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.1656, allocations: 0 / 0.8352 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.1657, allocations: 91.27 kB / 0.8353 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1657, allocations: 0 / 0.8353 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000174/0.1658, allocations: 4 kB / 0.8353 GB, free: 5.75 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.0004054/0.1663, allocations: 0.6164 MB / 0.8359 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.468e-05/0.1663, allocations: 11.94 kB / 0.8359 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1663, allocations: 0 / 0.8359 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/0.1663, allocations: 7.984 kB / 0.8359 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.1665, allocations: 4.281 kB / 0.8359 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.1675, allocations: 1.165 MB / 0.837 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.1678, allocations: 0.6768 MB / 0.8377 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.819e-05/0.1678, allocations: 4 kB / 0.8377 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.1678, allocations: 7.438 kB / 0.8377 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of SimCode: time 3.6e-07/0.1678, allocations: 0 / 0.8377 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.1964, allocations: 1.328 MB / 0.839 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.5, allocations: 7.891 kB / 0.839 GB, free: 1.918 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 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.415844566887245] Failed to read output from testmodel.py, exit status != 0: 10.603464412968606 10.620376454 10.454115578 Calling exit ...