Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.00136/0.00136, allocations: 113.7 kB / 17.12 MB, free: 5.945 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.001528/0.001528, allocations: 208 kB / 20.09 MB, free: 2.996 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.439/1.439, 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 0.9265/0.9265, allocations: 150 MB / 459.5 MB, free: 5.266 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.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.001909/0.001909, allocations: 72.11 kB / 0.6361 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1516, allocations: 89.13 MB / 0.7232 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003596/0.1552, allocations: 2.203 MB / 0.7253 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00541/0.1606, allocations: 4.219 MB / 0.7294 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.1607, allocations: 7.938 kB / 0.7294 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000732/0.1614, allocations: 191.3 kB / 0.7296 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.1616, allocations: 79.28 kB / 0.7297 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.1623, allocations: 319.3 kB / 0.73 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006658/0.163, allocations: 462.5 kB / 0.7304 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1631, allocations: 44.72 kB / 0.7305 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.1633, allocations: 139.5 kB / 0.7306 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.1635, allocations: 159.3 kB / 0.7308 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.1636, allocations: 20 kB / 0.7308 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.1641, allocations: 339.5 kB / 0.7311 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.1642, allocations: 107.6 kB / 0.7312 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.1644, allocations: 178.9 kB / 0.7314 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007065/0.1651, allocations: 0.5915 MB / 0.732 GB, free: 10.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1651, allocations: 0 / 0.732 GB, free: 10.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1651, allocations: 0 / 0.732 GB, free: 10.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.1651, allocations: 4 kB / 0.732 GB, free: 10.97 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001496/0.1666, allocations: 0.8223 MB / 0.7328 GB, free: 10.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1666, allocations: 8.031 kB / 0.7328 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.1667, allocations: 46.67 kB / 0.7328 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.1687, allocations: 316.2 kB / 0.7331 GB, free: 9.719 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.1697, allocations: 426 kB / 0.7335 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.1697, allocations: 12 kB / 0.7335 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.1698, allocations: 8 kB / 0.7336 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007394/0.1705, allocations: 261.4 kB / 0.7338 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1705, allocations: 0 / 0.7338 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.1705, allocations: 4 kB / 0.7338 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1705, allocations: 3.938 kB / 0.7338 GB, free: 8.977 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.1717, allocations: 347.7 kB / 0.7341 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.1732, allocations: 0.7031 MB / 0.7348 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006384/0.1739, allocations: 218.4 kB / 0.735 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.1744, allocations: 188.7 kB / 0.7352 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-05/0.1745, allocations: 16 kB / 0.7352 GB, free: 7.457 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.1745, allocations: 38.48 kB / 0.7353 GB, free: 7.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.1745, allocations: 4 kB / 0.7353 GB, free: 7.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.001917/0.1765, allocations: 0.5894 MB / 0.7358 GB, free: 6.812 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.1765, allocations: 59.41 kB / 0.7359 GB, free: 6.742 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/0.177, allocations: 449.8 kB / 0.7363 GB, free: 6.297 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.177, allocations: 29.7 kB / 0.7364 GB, free: 6.262 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.1772, allocations: 200.5 kB / 0.7366 GB, free: 6.062 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.111e-05/0.1772, allocations: 43.59 kB / 0.7366 GB, free: 6.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.1774, allocations: 53.67 kB / 0.7366 GB, free: 5.961 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1775, allocations: 354.8 kB / 0.737 GB, free: 5.605 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007095/0.1782, allocations: 304 kB / 0.7373 GB, free: 5.309 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006834/0.1789, allocations: 309.8 kB / 0.7376 GB, free: 5.008 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.1802, allocations: 0.521 MB / 0.7381 GB, free: 4.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1802, allocations: 0 / 0.7381 GB, free: 4.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001598/0.1818, allocations: 0.7308 MB / 0.7388 GB, free: 3.738 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/0.1819, allocations: 45.69 kB / 0.7388 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1819, allocations: 4 kB / 0.7388 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1819, allocations: 3.938 kB / 0.7388 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.1824, allocations: 71.84 kB / 0.7389 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1824, allocations: 0 / 0.7389 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.1828, allocations: 55.8 kB / 0.739 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.1828, allocations: 11.98 kB / 0.739 GB, free: 3.543 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001964/0.183, allocations: 157.8 kB / 0.7391 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.1831, allocations: 39.72 kB / 0.7392 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.1845, allocations: 476.8 kB / 0.7396 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1846, allocations: 7.938 kB / 0.7396 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1846, allocations: 0 / 0.7396 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1846, allocations: 0 / 0.7396 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.185, allocations: 389.2 kB / 0.74 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.185, allocations: 0 / 0.74 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.1855, allocations: 63.92 kB / 0.7401 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1855, allocations: 4 kB / 0.7401 GB, free: 2.359 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.1855, allocations: 7.984 kB / 0.7401 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.1855, allocations: 7.938 kB / 0.7401 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1855, allocations: 0 / 0.7401 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.1868, allocations: 0.5184 MB / 0.7406 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.187, allocations: 132.8 kB / 0.7407 GB, free: 1.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.1871, allocations: 8 kB / 0.7407 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.1874, allocations: 35.89 kB / 0.7408 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.1875, allocations: 23.95 kB / 0.7408 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.1875, allocations: 4 kB / 0.7408 GB, free: 1.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003357/0.1879, allocations: 315.1 kB / 0.7411 GB, free: 1.285 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1879, allocations: 0 / 0.7411 GB, free: 1.285 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004756/0.1884, allocations: 131.7 kB / 0.7412 GB, free: 1.156 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.001867/0.1902, allocations: 1.128 MB / 0.7423 GB, free: 4 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.1917, allocations: 0.6474 MB / 0.7429 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1917, allocations: 0 / 0.7429 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000594/0.1923, allocations: 183.8 kB / 0.7431 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.1928, allocations: 61.81 kB / 0.7432 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008192/0.201, allocations: 5.324 MB / 0.7484 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.2015, allocations: 0.7948 MB / 0.7492 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000301/0.2018, allocations: 69.91 kB / 0.7492 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.202, allocations: 119.4 kB / 0.7493 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.202, allocations: 0 / 0.7493 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.2385, allocations: 9.439 MB / 0.7585 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.605/8.844, allocations: 17.2 kB / 0.7586 GB, free: 15.41 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.677188250003383] Failed to read output from testmodel.py, exit status != 0: 8.913713064044714 8.92901822 8.761000268 Calling exit ...