Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.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.00133/0.00133, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001416/0.001416, allocations: 210.3 kB / 23.77 MB, free: 4.559 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.9563/0.9563, allocations: 150 MB / 464 MB, free: 10.2 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.Utilities.Math.Examples.Average,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Average",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Average",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.00203/0.00203, allocations: 70.77 kB / 0.642 GB, free: 9.902 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1717, allocations: 89.18 MB / 0.729 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.00309/0.1748, allocations: 1.526 MB / 0.7305 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003759/0.1752, allocations: 111.7 kB / 0.7306 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.1752, allocations: 0 / 0.7306 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.1753, allocations: 19.86 kB / 0.7307 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.903e-05/0.1754, allocations: 7.922 kB / 0.7307 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.1756, allocations: 31.91 kB / 0.7307 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1757, allocations: 55.84 kB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1758, allocations: 11.98 kB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.569e-05/0.1759, allocations: 35.84 kB / 0.7308 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.176, allocations: 31.84 kB / 0.7308 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.176, allocations: 4 kB / 0.7308 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.098e-05/0.176, allocations: 11.98 kB / 0.7308 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.1761, allocations: 23.98 kB / 0.7309 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.1761, allocations: 15.88 kB / 0.7309 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.1763, allocations: 67.94 kB / 0.7309 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1763, allocations: 0 / 0.7309 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1763, allocations: 0 / 0.7309 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.1763, allocations: 0 / 0.7309 GB, free: 14.84 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006091/0.1769, allocations: 306.1 kB / 0.7312 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.1769, allocations: 11.97 kB / 0.7313 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.435e-05/0.177, allocations: 8.188 kB / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.177, allocations: 34.75 kB / 0.7313 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.1771, allocations: 8.891 kB / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.1773, allocations: 123.6 kB / 0.7314 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1773, allocations: 384 / 0.7314 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.1773, allocations: 8.375 kB / 0.7314 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.1776, allocations: 89.89 kB / 0.7315 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1776, allocations: 0 / 0.7315 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1776, allocations: 4 kB / 0.7315 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1776, allocations: 0 / 0.7315 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000323/0.1779, allocations: 87.91 kB / 0.7316 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006217/0.1786, allocations: 283.7 kB / 0.7319 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.1788, allocations: 58.53 kB / 0.7319 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.179, allocations: 44.91 kB / 0.732 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.179, allocations: 0 / 0.732 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.1791, allocations: 42.59 kB / 0.732 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1791, allocations: 0 / 0.732 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005861/0.1796, allocations: 137.5 kB / 0.7321 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.1797, allocations: 51.41 kB / 0.7322 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.1798, allocations: 116.4 kB / 0.7323 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1798, allocations: 29.7 kB / 0.7323 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.1799, allocations: 92.08 kB / 0.7324 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.1799, allocations: 11.89 kB / 0.7324 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.18, allocations: 17.72 kB / 0.7324 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1802, allocations: 322.7 kB / 0.7328 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.1803, allocations: 43.89 kB / 0.7328 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1805, allocations: 31.97 kB / 0.7328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.1807, allocations: 77 kB / 0.7329 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1807, allocations: 0 / 0.7329 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003721/0.1811, allocations: 113.5 kB / 0.733 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1811, allocations: 4 kB / 0.733 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1811, allocations: 0 / 0.733 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1811, allocations: 0 / 0.733 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1813, allocations: 15.98 kB / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1813, allocations: 0 / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.1814, allocations: 19.97 kB / 0.733 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.1814, allocations: 3.938 kB / 0.733 GB, free: 12.49 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 (3): * Single equations (assignments): 3 * 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.000107/0.1815, allocations: 117.8 kB / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.1815, allocations: 4 kB / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.182, allocations: 113.6 kB / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.182, allocations: 0 / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.182, allocations: 4 kB / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.182, allocations: 0 / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.1822, allocations: 156.6 kB / 0.7334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1822, allocations: 0 / 0.7334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.825e-05/0.1823, allocations: 19.98 kB / 0.7334 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.1823, allocations: 0 / 0.7334 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1823, allocations: 0 / 0.7334 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1823, allocations: 0 / 0.7334 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1823, allocations: 0 / 0.7334 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.1827, allocations: 203.3 kB / 0.7336 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.1827, allocations: 7.953 kB / 0.7336 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.1827, allocations: 4 kB / 0.7337 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1828, allocations: 15.97 kB / 0.7337 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.1828, allocations: 4 kB / 0.7337 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.1829, allocations: 4 kB / 0.7337 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.1829, allocations: 95.2 kB / 0.7338 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1829, allocations: 0 / 0.7338 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002267/0.1831, allocations: 11.94 kB / 0.7338 GB, free: 11.66 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 (3): * Single equations (assignments): 3 * 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.0007518/0.1839, allocations: 0.7397 MB / 0.7345 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003526/0.1842, allocations: 79.91 kB / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1842, allocations: 0 / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.1844, allocations: 35.97 kB / 0.7346 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1847, allocations: 13.95 kB / 0.7346 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.1867, allocations: 1.435 MB / 0.736 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.162e-05/0.1868, allocations: 71.33 kB / 0.7361 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.281e-05/0.1868, allocations: 4 kB / 0.7361 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.1868, allocations: 23.47 kB / 0.7361 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.1868, allocations: 0 / 0.7361 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.209, allocations: 2.028 MB / 0.7381 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.64, allocations: 7.812 kB / 0.7381 GB, free: 7.27 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Average.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.509287893073633] Failed to read output from testmodel.py, exit status != 0: 11.79551549803 11.816294291 11.636890523 Calling exit ...