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.001406/0.001406, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001481/0.001481, allocations: 215.4 kB / 23.78 MB, free: 4.523 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.386/1.386, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.9097/0.9097, allocations: 150 MB / 464 MB, free: 10.25 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="cs",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.001869/0.001869, allocations: 62.81 kB / 0.642 GB, free: 9.914 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1653, allocations: 89.16 MB / 0.729 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003076/0.1684, allocations: 1.827 MB / 0.7308 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004202/0.1726, allocations: 3.398 MB / 0.7341 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.707e-05/0.1727, allocations: 7.938 kB / 0.7341 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007145/0.1734, allocations: 167.5 kB / 0.7343 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.1736, allocations: 67.55 kB / 0.7344 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.1738, allocations: 59.84 kB / 0.7344 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004621/0.1742, allocations: 267.1 kB / 0.7347 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.321e-05/0.1743, allocations: 17.73 kB / 0.7347 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1744, allocations: 79.69 kB / 0.7348 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1746, allocations: 79.62 kB / 0.7349 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.1746, allocations: 8 kB / 0.7349 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-05/0.1747, allocations: 31.92 kB / 0.7349 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.128e-05/0.1748, allocations: 51.81 kB / 0.7349 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.42e-05/0.1748, allocations: 71.61 kB / 0.735 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.1751, allocations: 191 kB / 0.7352 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1751, allocations: 4 kB / 0.7352 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1751, allocations: 0 / 0.7352 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1751, allocations: 0 / 0.7352 GB, free: 10.48 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.0008013/0.1759, allocations: 480.7 kB / 0.7357 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1759, allocations: 12.03 kB / 0.7357 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.509e-05/0.1759, allocations: 192 / 0.7357 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.176, allocations: 42.75 kB / 0.7357 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008639/0.1769, allocations: 120.6 kB / 0.7358 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.1773, allocations: 201.3 kB / 0.736 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1773, allocations: 8 kB / 0.736 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.1774, allocations: 11.97 kB / 0.736 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.1777, allocations: 151.4 kB / 0.7362 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1777, allocations: 0 / 0.7362 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.1777, allocations: 4 kB / 0.7362 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.1778, allocations: 11.98 kB / 0.7362 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.1782, allocations: 147.9 kB / 0.7363 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007045/0.1789, allocations: 415.7 kB / 0.7367 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.1794, allocations: 166.4 kB / 0.7369 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.1796, allocations: 112.7 kB / 0.737 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1796, allocations: 4 kB / 0.737 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.1797, allocations: 34.5 kB / 0.737 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.153e-06/0.1797, allocations: 0 / 0.737 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0008717/0.1805, allocations: 316.7 kB / 0.7373 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.1806, allocations: 59.28 kB / 0.7374 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.1808, allocations: 241.9 kB / 0.7376 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.1808, allocations: 33.7 kB / 0.7377 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.305e-05/0.1809, allocations: 128.1 kB / 0.7378 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.181, allocations: 43.64 kB / 0.7378 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-05/0.1811, allocations: 37.69 kB / 0.7379 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1812, allocations: 330.8 kB / 0.7382 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.1814, allocations: 79.92 kB / 0.7382 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.1817, allocations: 79.94 kB / 0.7383 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/0.1821, allocations: 168.7 kB / 0.7385 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1821, allocations: 0 / 0.7385 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005412/0.1827, allocations: 233.3 kB / 0.7387 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1827, allocations: 4 kB / 0.7387 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1827, allocations: 0 / 0.7387 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1827, allocations: 8 kB / 0.7387 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.183, allocations: 35.91 kB / 0.7387 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.183, allocations: 7.969 kB / 0.7388 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.1832, allocations: 23.88 kB / 0.7388 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.1832, allocations: 4 kB / 0.7388 GB, free: 6.613 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.000128/0.1833, allocations: 143.8 kB / 0.7389 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.1834, allocations: 19.86 kB / 0.7389 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.1834, allocations: 29.78 kB / 0.739 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1834, allocations: 3.938 kB / 0.739 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1835, allocations: 7.922 kB / 0.739 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1835, allocations: 4 kB / 0.739 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.1837, allocations: 224.6 kB / 0.7392 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1837, allocations: 0 / 0.7392 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.184, allocations: 35.97 kB / 0.7392 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.184, allocations: 0 / 0.7392 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.184, allocations: 7.984 kB / 0.7392 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.184, allocations: 7.875 kB / 0.7392 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.184, allocations: 8 kB / 0.7393 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.1846, allocations: 331 kB / 0.7396 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.944e-05/0.1847, allocations: 35.78 kB / 0.7396 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.1847, allocations: 4 kB / 0.7396 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.1849, allocations: 19.92 kB / 0.7396 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.185, allocations: 11.97 kB / 0.7396 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.185, allocations: 7.938 kB / 0.7396 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001603/0.1852, allocations: 181.2 kB / 0.7398 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1852, allocations: 0 / 0.7398 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002679/0.1854, allocations: 40 kB / 0.7399 GB, free: 5.453 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.0009162/0.1863, allocations: 0.8606 MB / 0.7407 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005274/0.1869, allocations: 175.9 kB / 0.7409 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1869, allocations: 0 / 0.7409 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.1871, allocations: 95.86 kB / 0.741 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.1875, allocations: 52.39 kB / 0.741 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.1908, allocations: 2.415 MB / 0.7434 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.191, allocations: 136 kB / 0.7435 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002028/0.1912, allocations: 61.38 kB / 0.7436 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.1913, allocations: 63.41 kB / 0.7436 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.1913, allocations: 0 / 0.7436 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.2165, allocations: 5.171 MB / 0.7487 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.48, allocations: 14.39 kB / 0.7487 GB, free: 12.52 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 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: 15.32864533807151] Failed to read output from testmodel.py, exit status != 0: 11.63329330610577 11.924387029 11.471710354 Calling exit ...