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.001701/0.001701, 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.002303/0.002303, 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9305/0.9305, allocations: 150 MB / 463.2 MB, free: 10.43 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.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.001947/0.001947, allocations: 66.45 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1782, allocations: 89.17 MB / 0.7283 GB, free: 1.188 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003175/0.1814, allocations: 1.923 MB / 0.7302 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004528/0.1859, allocations: 3.732 MB / 0.7339 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.186, allocations: 4 kB / 0.7339 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008657/0.1869, allocations: 203.4 kB / 0.7341 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.1871, allocations: 83.45 kB / 0.7341 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.1872, allocations: 55.81 kB / 0.7342 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005325/0.1878, allocations: 275.1 kB / 0.7345 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1879, allocations: 17.73 kB / 0.7345 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.188, allocations: 83.7 kB / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.1882, allocations: 83.55 kB / 0.7346 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.1882, allocations: 12 kB / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1883, allocations: 35.97 kB / 0.7347 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.619e-05/0.1884, allocations: 51.83 kB / 0.7347 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1885, allocations: 95.34 kB / 0.7348 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.1889, allocations: 199 kB / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1889, allocations: 4 kB / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1889, allocations: 0 / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.1889, allocations: 0 / 0.735 GB, free: 10.32 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.0009896/0.1899, allocations: 484.7 kB / 0.7355 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.1899, allocations: 8.031 kB / 0.7355 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.301e-05/0.19, allocations: 42.73 kB / 0.7355 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008695/0.1908, allocations: 112.7 kB / 0.7356 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005305/0.1914, allocations: 218.5 kB / 0.7358 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1914, allocations: 3.938 kB / 0.7359 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1914, allocations: 11.94 kB / 0.7359 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.1918, allocations: 157.4 kB / 0.736 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1918, allocations: 0 / 0.736 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.1918, allocations: 8 kB / 0.736 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.1918, allocations: 8 kB / 0.736 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/0.1923, allocations: 155.8 kB / 0.7362 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007739/0.1931, allocations: 447.6 kB / 0.7366 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.1935, allocations: 174.5 kB / 0.7368 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.1938, allocations: 112.8 kB / 0.7369 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1938, allocations: 0 / 0.7369 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.1938, allocations: 42.69 kB / 0.7369 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 8.61e-07/0.1938, allocations: 4 kB / 0.7369 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0008699/0.1947, allocations: 325.3 kB / 0.7372 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.1947, allocations: 55.34 kB / 0.7373 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.195, allocations: 256.2 kB / 0.7375 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.195, allocations: 25.7 kB / 0.7376 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.1951, allocations: 136.1 kB / 0.7377 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.1952, allocations: 39.64 kB / 0.7377 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/0.1953, allocations: 33.7 kB / 0.7378 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1954, allocations: 334.8 kB / 0.7381 GB, free: 7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.1956, allocations: 83.92 kB / 0.7382 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.1959, allocations: 83.92 kB / 0.7382 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.1963, allocations: 190.5 kB / 0.7384 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1963, allocations: 0 / 0.7384 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005515/0.1969, allocations: 229.4 kB / 0.7386 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1969, allocations: 15.98 kB / 0.7386 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.1969, allocations: 0 / 0.7386 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1969, allocations: 0 / 0.7386 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.1972, allocations: 35.91 kB / 0.7387 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1972, allocations: 3.938 kB / 0.7387 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.1974, allocations: 19.92 kB / 0.7387 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.1974, allocations: 7.984 kB / 0.7387 GB, free: 6.336 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.0001264/0.1976, allocations: 139.8 kB / 0.7388 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.1976, allocations: 23.86 kB / 0.7389 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.1977, allocations: 33.8 kB / 0.7389 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1977, allocations: 0 / 0.7389 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1977, allocations: 3.938 kB / 0.7389 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1977, allocations: 0 / 0.7389 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.198, allocations: 252.5 kB / 0.7391 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.198, allocations: 4 kB / 0.7391 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.1983, allocations: 39.89 kB / 0.7392 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1983, allocations: 4 kB / 0.7392 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.1983, allocations: 7.922 kB / 0.7392 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1983, allocations: 7.938 kB / 0.7392 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.1983, allocations: 7.922 kB / 0.7392 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.1989, allocations: 336.8 kB / 0.7395 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.33e-05/0.199, allocations: 39.73 kB / 0.7396 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.199, allocations: 8 kB / 0.7396 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.1993, allocations: 15.97 kB / 0.7396 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.1993, allocations: 15.92 kB / 0.7396 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.1993, allocations: 0 / 0.7396 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001721/0.1995, allocations: 191.1 kB / 0.7398 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1995, allocations: 0 / 0.7398 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002605/0.1998, allocations: 40 kB / 0.7398 GB, free: 5.129 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.0009044/0.2007, allocations: 0.8723 MB / 0.7407 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005431/0.2012, allocations: 182.7 kB / 0.7409 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2012, allocations: 0 / 0.7409 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.2015, allocations: 103.9 kB / 0.741 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.2019, allocations: 62.48 kB / 0.741 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.2053, allocations: 2.483 MB / 0.7434 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.2056, allocations: 0.7551 MB / 0.7442 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002043/0.2059, allocations: 61.39 kB / 0.7442 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.206, allocations: 67.39 kB / 0.7443 GB, free: 436 kB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.206, allocations: 0 / 0.7443 GB, free: 436 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.2369, allocations: 5.227 MB / 0.7494 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.06, allocations: 16.75 kB / 0.7494 GB, free: 11.38 MB / 0.5762 GB " [Timeout remaining time 649] (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: 15.1756869560013] Failed to read output from testmodel.py, exit status != 0: 11.162901610001427 11.522236608 11.330332382 Calling exit ...