Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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.001228/0.001228, allocations: 113 kB / 18.94 MB, free: 2.934 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.00138/0.00138, allocations: 209 kB / 22.25 MB, free: 5.086 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.326/1.326, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] 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.00244/0.00244, allocations: 288.8 kB / 312.7 MB, free: 2.805 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.127/1.127, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",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.002756/0.002756, allocations: 105.2 kB / 0.7396 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1536, allocations: 95.37 MB / 0.8327 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001545/0.1551, allocations: 0.5341 MB / 0.8332 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000114/0.1552, allocations: 19.95 kB / 0.8332 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.1553, allocations: 7.938 kB / 0.8333 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.1553, allocations: 3.938 kB / 0.8333 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.1554, allocations: 4 kB / 0.8333 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.046e-06/0.1554, allocations: 0 / 0.8333 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.566e-05/0.1555, allocations: 4 kB / 0.8333 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.445e-05/0.1555, allocations: 0 / 0.8333 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.468e-05/0.1556, allocations: 7.938 kB / 0.8333 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.324e-05/0.1556, allocations: 3.984 kB / 0.8333 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.1556, allocations: 0 / 0.8333 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.669e-06/0.1556, allocations: 0 / 0.8333 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.917e-06/0.1556, allocations: 0 / 0.8333 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.1556, allocations: 15.92 kB / 0.8333 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 3.911e-05/0.1557, allocations: 0 / 0.8333 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1557, allocations: 0 / 0.8333 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1557, allocations: 0 / 0.8333 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1557, allocations: 0 / 0.8333 GB, free: 8.066 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000269/0.156, allocations: 238.7 kB / 0.8335 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.156, allocations: 13.34 kB / 0.8335 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.156, allocations: 34.73 kB / 0.8336 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.766e-05/0.156, allocations: 0.9375 kB / 0.8336 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.065e-05/0.1561, allocations: 102.5 kB / 0.8337 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1561, allocations: 8.375 kB / 0.8337 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-06/0.1562, allocations: 384 / 0.8337 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.258e-05/0.1562, allocations: 48.33 kB / 0.8337 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1563, allocations: 3.938 kB / 0.8337 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.1563, allocations: 0 / 0.8337 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1563, allocations: 0 / 0.8337 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.076e-05/0.1563, allocations: 7.984 kB / 0.8337 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.1564, allocations: 129.6 kB / 0.8339 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.155e-05/0.1565, allocations: 45.14 kB / 0.8339 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.1565, allocations: 17.84 kB / 0.8339 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.1566, allocations: 3.984 kB / 0.8339 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1566, allocations: 34.56 kB / 0.834 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1566, allocations: 0 / 0.834 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000142/0.1567, allocations: 45.58 kB / 0.834 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.1568, allocations: 81.11 kB / 0.8341 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.592e-05/0.1568, allocations: 93.84 kB / 0.8342 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1569, allocations: 29.64 kB / 0.8342 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.1569, allocations: 80.14 kB / 0.8343 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.1569, allocations: 12.27 kB / 0.8343 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.1569, allocations: 17.72 kB / 0.8343 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.1571, allocations: 314.8 kB / 0.8346 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.1571, allocations: 0 / 0.8346 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.604e-05/0.1571, allocations: 13.72 kB / 0.8346 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.353e-05/0.1571, allocations: 21.7 kB / 0.8346 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1571, allocations: 4.062 kB / 0.8346 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.135e-05/0.1572, allocations: 37.64 kB / 0.8347 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1572, allocations: 7.938 kB / 0.8347 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1572, allocations: 8 kB / 0.8347 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1572, allocations: 0 / 0.8347 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.1573, allocations: 7.984 kB / 0.8347 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1573, allocations: 0 / 0.8347 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.679e-05/0.1573, allocations: 3.953 kB / 0.8347 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1573, allocations: 0 / 0.8347 GB, free: 6.398 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.216e-05/0.1574, allocations: 118.6 kB / 0.8348 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.1574, allocations: 3.938 kB / 0.8348 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.1575, allocations: 48.62 kB / 0.8349 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.1575, allocations: 0 / 0.8349 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1575, allocations: 4 kB / 0.8349 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1575, allocations: 0 / 0.8349 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.671e-05/0.1576, allocations: 120.7 kB / 0.835 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1576, allocations: 8.062 kB / 0.835 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.1576, allocations: 3.938 kB / 0.835 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.1577, allocations: 7.938 kB / 0.835 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.1577, allocations: 3.938 kB / 0.835 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1577, allocations: 0 / 0.835 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1577, allocations: 0 / 0.835 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.004e-05/0.1577, allocations: 69.98 kB / 0.8351 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.1578, allocations: 8.031 kB / 0.8351 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1578, allocations: 3.938 kB / 0.8351 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.478e-05/0.1578, allocations: 0 / 0.8351 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.1578, allocations: 7.984 kB / 0.8351 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.1578, allocations: 0 / 0.8351 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.1578, allocations: 79.22 kB / 0.8352 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1578, allocations: 0 / 0.8352 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001757/0.158, allocations: 4 kB / 0.8352 GB, free: 5.836 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0003754/0.1584, allocations: 0.6017 MB / 0.8358 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.064e-05/0.1585, allocations: 11.94 kB / 0.8358 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1585, allocations: 0 / 0.8358 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.1585, allocations: 12.09 kB / 0.8358 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.1586, allocations: 1.031 kB / 0.8358 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.1589, allocations: 115.6 kB / 0.8359 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1592, allocations: 0.6729 MB / 0.8365 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.003e-05/0.1592, allocations: 7.922 kB / 0.8366 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.1592, allocations: 7.438 kB / 0.8366 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.1592, allocations: 0 / 0.8366 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.1858, allocations: 1.055 MB / 0.8376 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.951/10.14, allocations: 5.188 kB / 0.8376 GB, free: 3.379 MB / 0.5762 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.966263113998139] Failed to read output from testmodel.py, exit status != 0: 10.232610342998669 10.247450369 10.088933433 Calling exit ...