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.001425/0.001425, allocations: 110.4 kB / 17.12 MB, free: 5.926 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.002621/0.002621, allocations: 204 kB / 20.09 MB, free: 2.977 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.554/1.554, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.029/1.029, allocations: 150 MB / 459.5 MB, free: 5.336 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.Utilities.Math.Examples.Average,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Average",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.002054/0.002054, allocations: 85.33 kB / 0.6361 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.17, allocations: 89.13 MB / 0.7232 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.003065/0.1731, allocations: 1.55 MB / 0.7247 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003649/0.1735, allocations: 109.6 kB / 0.7248 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.1735, allocations: 4 kB / 0.7248 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.1737, allocations: 7.922 kB / 0.7248 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.751e-05/0.1737, allocations: 11.88 kB / 0.7248 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.1739, allocations: 31.95 kB / 0.7248 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.1741, allocations: 63.77 kB / 0.7249 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1742, allocations: 15.98 kB / 0.7249 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.293e-05/0.1743, allocations: 27.92 kB / 0.7249 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.1743, allocations: 27.84 kB / 0.725 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1743, allocations: 4 kB / 0.725 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.1744, allocations: 12 kB / 0.725 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.1745, allocations: 23.97 kB / 0.725 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.1745, allocations: 27.8 kB / 0.725 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1747, allocations: 56.03 kB / 0.7251 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1747, allocations: 0 / 0.7251 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1747, allocations: 0 / 0.7251 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.1747, allocations: 0 / 0.7251 GB, free: 2.078 MB / 0.5294 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.0007297/0.1754, allocations: 383.1 kB / 0.7255 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1754, allocations: 12.03 kB / 0.7255 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.1755, allocations: 42.69 kB / 0.7255 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.1755, allocations: 4.938 kB / 0.7255 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.1757, allocations: 192.2 kB / 0.7257 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1757, allocations: 384 / 0.7257 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.1758, allocations: 4.375 kB / 0.7257 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.1761, allocations: 86.2 kB / 0.7258 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1761, allocations: 3.938 kB / 0.7258 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1761, allocations: 0 / 0.7258 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1761, allocations: 4 kB / 0.7258 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003752/0.1765, allocations: 91.78 kB / 0.7259 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.177, allocations: 320.7 kB / 0.7262 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.1773, allocations: 66.56 kB / 0.7262 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.1774, allocations: 36.92 kB / 0.7263 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.1775, allocations: 3.984 kB / 0.7263 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.1775, allocations: 38.56 kB / 0.7263 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1775, allocations: 0 / 0.7263 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005811/0.1781, allocations: 137.7 kB / 0.7264 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.1781, allocations: 55.34 kB / 0.7265 GB, free: 440 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.763e-05/0.1782, allocations: 117.2 kB / 0.7266 GB, free: 316 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1782, allocations: 25.7 kB / 0.7266 GB, free: 284 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.1783, allocations: 100.1 kB / 0.7267 GB, free: 180 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.1783, allocations: 7.891 kB / 0.7267 GB, free: 172 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.1784, allocations: 17.72 kB / 0.7268 GB, free: 148 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002434/0.1786, allocations: 322.8 kB / 0.7271 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.1788, allocations: 31.97 kB / 0.7271 GB, free: 15.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.1789, allocations: 39.94 kB / 0.7271 GB, free: 15.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.1792, allocations: 72.78 kB / 0.7272 GB, free: 15.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1792, allocations: 0 / 0.7272 GB, free: 15.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003724/0.1796, allocations: 109.5 kB / 0.7273 GB, free: 15.56 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1796, allocations: 9.562 kB / 0.7273 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1796, allocations: 4 kB / 0.7273 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1796, allocations: 0 / 0.7273 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.1798, allocations: 11.98 kB / 0.7273 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1798, allocations: 0 / 0.7273 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.536e-05/0.1799, allocations: 19.98 kB / 0.7274 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.1799, allocations: 4 kB / 0.7274 GB, free: 15.52 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 (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.0001027/0.18, allocations: 125.7 kB / 0.7275 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.18, allocations: 0 / 0.7275 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/0.1804, allocations: 117.5 kB / 0.7276 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1804, allocations: 0 / 0.7276 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1804, allocations: 0 / 0.7276 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1805, allocations: 11.86 kB / 0.7276 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.1807, allocations: 173.6 kB / 0.7278 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1807, allocations: 3.984 kB / 0.7278 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1808, allocations: 19.98 kB / 0.7278 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1808, allocations: 0 / 0.7278 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.1808, allocations: 0 / 0.7278 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1808, allocations: 0 / 0.7278 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1808, allocations: 4 kB / 0.7278 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.1812, allocations: 203.4 kB / 0.728 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.1813, allocations: 81.06 kB / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.1813, allocations: 0 / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1814, allocations: 15.98 kB / 0.7281 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.1814, allocations: 3.984 kB / 0.7281 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.1814, allocations: 4 kB / 0.7281 GB, free: 14.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.019e-05/0.1815, allocations: 91.27 kB / 0.7282 GB, free: 14.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1815, allocations: 0 / 0.7282 GB, free: 14.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002313/0.1817, allocations: 19.88 kB / 0.7282 GB, free: 14.55 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 (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.0008518/0.1826, allocations: 0.728 MB / 0.7289 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.183, allocations: 84.19 kB / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.183, allocations: 0 / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.1832, allocations: 39.91 kB / 0.729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.1835, allocations: 4 kB / 0.729 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.1857, allocations: 1.431 MB / 0.7304 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.1861, allocations: 0.6924 MB / 0.7311 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.377e-05/0.1861, allocations: 7.984 kB / 0.7311 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.1862, allocations: 19.44 kB / 0.7311 GB, free: 11.42 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.1862, allocations: 0 / 0.7311 GB, free: 11.42 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.2135, allocations: 1.834 MB / 0.7329 GB, free: 9.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.305, allocations: 1.469 kB / 0.7329 GB, free: 9.68 MB / 0.545 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 12.391907843993977] Failed to read output from testmodel.py, exit status != 0: 8.375729979015887 8.4008741 8.221753223 Calling exit ...