Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001269/0.001269, allocations: 119 kB / 19.69 MB, free: 2.199 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.001444/0.001444, allocations: 224.9 kB / 23.01 MB, free: 5.047 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.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9315/0.9315, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.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.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.001958/0.001958, allocations: 65.59 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1755, allocations: 89.16 MB / 0.7283 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003213/0.1787, allocations: 1.907 MB / 0.7302 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004398/0.1831, allocations: 3.686 MB / 0.7338 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1832, allocations: 3.938 kB / 0.7338 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007521/0.184, allocations: 183.5 kB / 0.734 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.1842, allocations: 79.52 kB / 0.7341 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.1843, allocations: 47.88 kB / 0.7341 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004818/0.1848, allocations: 271.1 kB / 0.7344 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1849, allocations: 21.72 kB / 0.7344 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.185, allocations: 75.72 kB / 0.7345 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1852, allocations: 79.67 kB / 0.7345 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.1852, allocations: 8 kB / 0.7345 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.103e-05/0.1853, allocations: 35.86 kB / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.1854, allocations: 59.8 kB / 0.7346 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.098e-05/0.1855, allocations: 83.48 kB / 0.7347 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.1857, allocations: 191 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1857, allocations: 0 / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1857, allocations: 3.938 kB / 0.7349 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.1857, allocations: 4 kB / 0.7349 GB, free: 10.45 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008698/0.1866, allocations: 472.8 kB / 0.7354 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1866, allocations: 12.03 kB / 0.7354 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.978e-05/0.1867, allocations: 34.75 kB / 0.7354 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008731/0.1876, allocations: 128.6 kB / 0.7355 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.1881, allocations: 201.5 kB / 0.7357 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1881, allocations: 7.938 kB / 0.7357 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.1881, allocations: 7.922 kB / 0.7357 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.1885, allocations: 157.4 kB / 0.7359 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1885, allocations: 0 / 0.7359 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.1885, allocations: 4 kB / 0.7359 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.1886, allocations: 15.97 kB / 0.7359 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.189, allocations: 143.9 kB / 0.736 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007513/0.1898, allocations: 435.6 kB / 0.7365 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.1902, allocations: 166.4 kB / 0.7366 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.1905, allocations: 108.8 kB / 0.7367 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1905, allocations: 0 / 0.7367 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1905, allocations: 38.56 kB / 0.7368 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 8.92e-07/0.1905, allocations: 0 / 0.7368 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0008598/0.1914, allocations: 309.5 kB / 0.737 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.1914, allocations: 63.28 kB / 0.7371 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.1917, allocations: 241.9 kB / 0.7373 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.1917, allocations: 29.7 kB / 0.7374 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1918, allocations: 136.1 kB / 0.7375 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.1918, allocations: 43.64 kB / 0.7375 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.1919, allocations: 37.69 kB / 0.7376 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1921, allocations: 326.8 kB / 0.7379 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.1923, allocations: 75.92 kB / 0.738 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.1925, allocations: 86.94 kB / 0.738 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.193, allocations: 164.7 kB / 0.7382 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.193, allocations: 0 / 0.7382 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005413/0.1935, allocations: 237.3 kB / 0.7384 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1935, allocations: 8 kB / 0.7384 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1935, allocations: 0 / 0.7384 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1935, allocations: 0 / 0.7384 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.1938, allocations: 31.97 kB / 0.7385 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1938, allocations: 3.938 kB / 0.7385 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.194, allocations: 31.86 kB / 0.7385 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.194, allocations: 4 kB / 0.7385 GB, free: 6.574 MB / 0.5606 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 (13): * Single equations (assignments): 13 * 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 0.000148/0.1942, allocations: 139.8 kB / 0.7386 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.1942, allocations: 23.84 kB / 0.7387 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.686e-05/0.1943, allocations: 25.78 kB / 0.7387 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1943, allocations: 4 kB / 0.7387 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1943, allocations: 7.875 kB / 0.7387 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1943, allocations: 3.984 kB / 0.7387 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.1946, allocations: 240.6 kB / 0.7389 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1946, allocations: 4 kB / 0.7389 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.1949, allocations: 47.95 kB / 0.739 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1949, allocations: 0 / 0.739 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.1949, allocations: 3.938 kB / 0.739 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1949, allocations: 4 kB / 0.739 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1949, allocations: 3.938 kB / 0.739 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.1955, allocations: 335.9 kB / 0.7393 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.03e-05/0.1956, allocations: 35.78 kB / 0.7393 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.1956, allocations: 3.984 kB / 0.7393 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.1959, allocations: 15.98 kB / 0.7394 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.1959, allocations: 11.92 kB / 0.7394 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.1959, allocations: 15.98 kB / 0.7394 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001653/0.1961, allocations: 177.2 kB / 0.7396 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1961, allocations: 0 / 0.7396 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002632/0.1964, allocations: 36 kB / 0.7396 GB, free: 5.395 MB / 0.5606 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 (13): * Single equations (assignments): 13 * 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.0009578/0.1973, allocations: 0.8595 MB / 0.7404 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005295/0.1979, allocations: 175.9 kB / 0.7406 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1979, allocations: 4 kB / 0.7406 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.1981, allocations: 99.84 kB / 0.7407 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.1985, allocations: 41.53 kB / 0.7407 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.2018, allocations: 2.422 MB / 0.7431 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.2022, allocations: 0.7435 MB / 0.7438 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002041/0.2024, allocations: 69.3 kB / 0.7439 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.2025, allocations: 63.41 kB / 0.744 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2025, allocations: 0 / 0.744 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.234, allocations: 4.926 MB / 0.7488 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.98, allocations: 10.23 kB / 0.7488 GB, free: 12.04 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.935277730000962] Failed to read output from testmodel.py, exit status != 0: 11.08584228899781 11.459767564 11.27042912 Calling exit ...