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.001386/0.001386, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001604/0.001604, allocations: 211.4 kB / 22.99 MB, free: 4.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.487/1.487, allocations: 230.6 MB / 256.8 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 1.026/1.026, allocations: 149.9 MB / 463 MB, free: 10.32 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="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.002407/0.002407, allocations: 66.72 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2155, allocations: 89.18 MB / 0.7282 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.003314/0.2188, allocations: 1.541 MB / 0.7297 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005018/0.2193, allocations: 115.7 kB / 0.7298 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.2194, allocations: 4 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.2195, allocations: 7.922 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.427e-05/0.2195, allocations: 7.875 kB / 0.7298 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.2198, allocations: 27.97 kB / 0.7298 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.2199, allocations: 63.77 kB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.22, allocations: 15.98 kB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.263e-05/0.2201, allocations: 27.91 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.2201, allocations: 31.84 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.2202, allocations: 8 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.32e-05/0.2202, allocations: 8 kB / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.2203, allocations: 15.98 kB / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.2203, allocations: 19.86 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.2205, allocations: 64.02 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2205, allocations: 0 / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2205, allocations: 0 / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2205, allocations: 0 / 0.7301 GB, free: 15.07 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.0005473/0.221, allocations: 302.1 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.221, allocations: 19.97 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.2211, allocations: 38.69 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.2211, allocations: 8.891 kB / 0.7304 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.2213, allocations: 122.5 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.2213, allocations: 384 / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.2213, allocations: 4.375 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.2216, allocations: 94.12 kB / 0.7306 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2216, allocations: 7.875 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2216, allocations: 4 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.2216, allocations: 4 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.222, allocations: 75.92 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.2225, allocations: 287.7 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.2228, allocations: 62.53 kB / 0.7311 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.2229, allocations: 40.91 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.2229, allocations: 0 / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.223, allocations: 34.56 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.223, allocations: 0 / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005601/0.2235, allocations: 145.6 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.2236, allocations: 51.41 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.2237, allocations: 117.8 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.2237, allocations: 29.7 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.2238, allocations: 88.09 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.2239, allocations: 15.88 kB / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.2239, allocations: 21.7 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.2241, allocations: 314.8 kB / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.2242, allocations: 43.95 kB / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.2243, allocations: 27.97 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.2247, allocations: 80.72 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.2247, allocations: 3.984 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003467/0.225, allocations: 109.8 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2251, allocations: 4 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2251, allocations: 0 / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2251, allocations: 0 / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.2252, allocations: 19.97 kB / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.2252, allocations: 0 / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.845e-05/0.2253, allocations: 11.98 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.2253, allocations: 7.984 kB / 0.7322 GB, free: 12.72 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.0001096/0.2254, allocations: 117.8 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.2255, allocations: 4 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.2258, allocations: 117.5 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.2258, allocations: 0 / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2259, allocations: 4 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2259, allocations: 0 / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.226, allocations: 152.6 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.226, allocations: 3.938 kB / 0.7325 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.17e-05/0.2261, allocations: 15.98 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2261, allocations: 0 / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.2261, allocations: 0 / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2261, allocations: 0 / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2261, allocations: 0 / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.2265, allocations: 203.4 kB / 0.7328 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.2266, allocations: 7.953 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.2266, allocations: 3.984 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2267, allocations: 11.98 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.2267, allocations: 3.938 kB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.2267, allocations: 8 kB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.342e-05/0.2268, allocations: 94.44 kB / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2268, allocations: 0 / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000232/0.227, allocations: 11.94 kB / 0.7329 GB, free: 11.89 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.0007753/0.2278, allocations: 0.7397 MB / 0.7336 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.2281, allocations: 75.86 kB / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2282, allocations: 0 / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.2283, allocations: 43.95 kB / 0.7337 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.2286, allocations: 10.19 kB / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.2306, allocations: 1.429 MB / 0.7351 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.61e-05/0.2307, allocations: 71.33 kB / 0.7352 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.451e-05/0.2307, allocations: 7.984 kB / 0.7352 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.2308, allocations: 19.44 kB / 0.7352 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.2308, allocations: 0 / 0.7352 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.2621, allocations: 2.381 MB / 0.7376 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.55, allocations: 9.594 kB / 0.7376 GB, free: 7.133 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 & 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: 15.563966481015086] Failed to read output from testmodel.py, exit status != 0: 11.661386447027326 11.689379712000001 11.463575445 Calling exit ...