Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001314/0.001314, allocations: 110.5 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.001465/0.001465, allocations: 211.2 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.499/1.499, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 1.046/1.046, allocations: 150 MB / 459.5 MB, free: 5.324 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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.002128/0.002128, allocations: 70.22 kB / 0.6361 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1568, allocations: 89.13 MB / 0.7232 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003184/0.16, allocations: 1.911 MB / 0.725 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004902/0.1649, allocations: 3.721 MB / 0.7287 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.165, allocations: 7.938 kB / 0.7287 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00084/0.1659, allocations: 182.4 kB / 0.7288 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.1661, allocations: 91.45 kB / 0.7289 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.1663, allocations: 47.92 kB / 0.729 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005239/0.1668, allocations: 275.1 kB / 0.7292 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1669, allocations: 25.53 kB / 0.7293 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.167, allocations: 83.64 kB / 0.7293 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.1672, allocations: 75.67 kB / 0.7294 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.1672, allocations: 8 kB / 0.7294 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1673, allocations: 35.92 kB / 0.7294 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.562e-05/0.1674, allocations: 63.73 kB / 0.7295 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.775e-05/0.1675, allocations: 91.42 kB / 0.7296 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.1678, allocations: 202.9 kB / 0.7298 GB, free: 13.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1678, allocations: 0 / 0.7298 GB, free: 13.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1678, allocations: 4 kB / 0.7298 GB, free: 13.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.1678, allocations: 0 / 0.7298 GB, free: 13.21 MB / 0.545 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.0009672/0.1688, allocations: 0.5448 MB / 0.7303 GB, free: 12.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1688, allocations: 8.031 kB / 0.7303 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.489e-05/0.1689, allocations: 38.75 kB / 0.7304 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008909/0.1698, allocations: 120.6 kB / 0.7305 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.1703, allocations: 271.7 kB / 0.7307 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1703, allocations: 11.91 kB / 0.7308 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.1704, allocations: 4 kB / 0.7308 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.1708, allocations: 160.9 kB / 0.7309 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1708, allocations: 0 / 0.7309 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.1708, allocations: 0 / 0.7309 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.1708, allocations: 15.98 kB / 0.7309 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/0.1713, allocations: 161.2 kB / 0.7311 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000829/0.1721, allocations: 480.4 kB / 0.7315 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.1726, allocations: 178.5 kB / 0.7317 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.1729, allocations: 104.8 kB / 0.7318 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.1729, allocations: 0 / 0.7318 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.173, allocations: 38.55 kB / 0.7318 GB, free: 10.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.173, allocations: 0 / 0.7318 GB, free: 10.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0009583/0.1739, allocations: 329.5 kB / 0.7322 GB, free: 10.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.174, allocations: 55.34 kB / 0.7322 GB, free: 10.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.1742, allocations: 251 kB / 0.7325 GB, free: 10.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.1742, allocations: 25.7 kB / 0.7325 GB, free: 10.26 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.908e-05/0.1743, allocations: 144.1 kB / 0.7326 GB, free: 10.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.639e-05/0.1744, allocations: 47.62 kB / 0.7327 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.1745, allocations: 33.7 kB / 0.7327 GB, free: 10.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1746, allocations: 334.8 kB / 0.733 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.1749, allocations: 79.92 kB / 0.7331 GB, free: 9.617 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.1751, allocations: 79.94 kB / 0.7332 GB, free: 9.539 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005111/0.1756, allocations: 191.3 kB / 0.7333 GB, free: 9.352 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.1757, allocations: 4 kB / 0.7334 GB, free: 9.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006267/0.1763, allocations: 241.3 kB / 0.7336 GB, free: 9.105 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1763, allocations: 4 kB / 0.7336 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1763, allocations: 0 / 0.7336 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1763, allocations: 0 / 0.7336 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.1766, allocations: 35.95 kB / 0.7336 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.1766, allocations: 7.938 kB / 0.7336 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.1768, allocations: 23.86 kB / 0.7336 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.1768, allocations: 7.984 kB / 0.7337 GB, free: 9.027 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 (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.0001423/0.177, allocations: 137.8 kB / 0.7338 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.177, allocations: 27.81 kB / 0.7338 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.849e-05/0.1771, allocations: 33.86 kB / 0.7338 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1771, allocations: 0 / 0.7338 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1771, allocations: 3.938 kB / 0.7339 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1771, allocations: 3.938 kB / 0.7339 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.1775, allocations: 273.5 kB / 0.7341 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1775, allocations: 4 kB / 0.7341 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.1777, allocations: 39.95 kB / 0.7342 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1777, allocations: 0 / 0.7342 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1778, allocations: 0 / 0.7342 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.1778, allocations: 4 kB / 0.7342 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1778, allocations: 3.938 kB / 0.7342 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/0.1784, allocations: 339.2 kB / 0.7345 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1786, allocations: 120.8 kB / 0.7346 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.1786, allocations: 4 kB / 0.7346 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.1788, allocations: 15.98 kB / 0.7346 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.1789, allocations: 15.92 kB / 0.7346 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.1789, allocations: 11.98 kB / 0.7346 GB, free: 7.918 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001696/0.1791, allocations: 178 kB / 0.7348 GB, free: 7.746 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1791, allocations: 0 / 0.7348 GB, free: 7.746 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002875/0.1793, allocations: 40 kB / 0.7349 GB, free: 7.707 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 (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.0009993/0.1803, allocations: 0.8748 MB / 0.7357 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005715/0.1809, allocations: 183.9 kB / 0.7359 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1809, allocations: 0 / 0.7359 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.1812, allocations: 99.84 kB / 0.736 GB, free: 6.527 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.1816, allocations: 66.61 kB / 0.736 GB, free: 6.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.1853, allocations: 2.478 MB / 0.7385 GB, free: 3.902 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.1857, allocations: 0.7474 MB / 0.7392 GB, free: 3.129 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002273/0.1859, allocations: 65.38 kB / 0.7393 GB, free: 3.062 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.186, allocations: 63.41 kB / 0.7393 GB, free: 3 MB / 0.545 GB Notification: Performance of SimCode: time 4.1e-07/0.186, allocations: 0 / 0.7393 GB, free: 3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03728/0.2233, allocations: 5.093 MB / 0.7443 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.409, allocations: 17.22 kB / 0.7443 GB, free: 14.07 MB / 0.5606 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_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_EN12975HeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.434416322037578] Failed to read output from testmodel.py, exit status != 0: 8.477382994024083 8.493053335 8.322242916 Calling exit ...