Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001758/0.001758, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.002085/0.002085, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.452/1.452, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.843/0.843, allocations: 133.9 MB / 442.8 MB, free: 11.29 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.Average,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Average,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001931/0.001931, allocations: 62.28 kB / 0.6134 GB, free: 8.703 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1745, allocations: 85.86 MB / 0.6973 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.00314/0.1777, allocations: 1.543 MB / 0.6988 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004456/0.1781, allocations: 108.6 kB / 0.6989 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.196e-05/0.1782, allocations: 7.938 kB / 0.6989 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.1784, allocations: 15.86 kB / 0.6989 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.377e-05/0.1784, allocations: 7.875 kB / 0.6989 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.1788, allocations: 23.97 kB / 0.6989 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.1789, allocations: 63.77 kB / 0.699 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.1791, allocations: 19.97 kB / 0.699 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1792, allocations: 27.92 kB / 0.699 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1793, allocations: 31.84 kB / 0.6991 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.1794, allocations: 4 kB / 0.6991 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.905e-05/0.1795, allocations: 12 kB / 0.6991 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.1795, allocations: 15.98 kB / 0.6991 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.1796, allocations: 31.8 kB / 0.6991 GB, free: 1 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.1798, allocations: 56.02 kB / 0.6992 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.1798, allocations: 4 kB / 0.6992 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.745e-06/0.1798, allocations: 0 / 0.6992 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.934e-06/0.1798, allocations: 0 / 0.6992 GB, free: 0.9414 MB / 0.5137 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.0007471/0.1806, allocations: 384.9 kB / 0.6996 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.1806, allocations: 17.11 kB / 0.6996 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.514e-05/0.1807, allocations: 30.75 kB / 0.6996 GB, free: 472 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.1807, allocations: 8.891 kB / 0.6996 GB, free: 464 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.181, allocations: 188.2 kB / 0.6998 GB, free: 236 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.181, allocations: 384 / 0.6998 GB, free: 236 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.181, allocations: 8.375 kB / 0.6998 GB, free: 228 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.1813, allocations: 86.19 kB / 0.6999 GB, free: 136 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1813, allocations: 3.938 kB / 0.6999 GB, free: 132 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.1813, allocations: 8 kB / 0.6999 GB, free: 124 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1813, allocations: 0 / 0.6999 GB, free: 124 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.1817, allocations: 83.84 kB / 0.7 GB, free: 40 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/0.1824, allocations: 332.7 kB / 0.7003 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.1827, allocations: 66.5 kB / 0.7004 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.1828, allocations: 40.92 kB / 0.7004 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.1829, allocations: 0 / 0.7004 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.1829, allocations: 34.55 kB / 0.7004 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1829, allocations: 8 kB / 0.7004 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005962/0.1835, allocations: 129.6 kB / 0.7006 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.1836, allocations: 55.34 kB / 0.7006 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.1837, allocations: 114.4 kB / 0.7007 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1837, allocations: 33.64 kB / 0.7008 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.1838, allocations: 96.08 kB / 0.7008 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.1838, allocations: 11.89 kB / 0.7009 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.1838, allocations: 13.72 kB / 0.7009 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.184, allocations: 326.8 kB / 0.7012 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.1841, allocations: 27.97 kB / 0.7012 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.1843, allocations: 39.95 kB / 0.7012 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.1846, allocations: 68.78 kB / 0.7013 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1846, allocations: 0 / 0.7013 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003613/0.1849, allocations: 109.6 kB / 0.7014 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.185, allocations: 7.984 kB / 0.7014 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.185, allocations: 3.938 kB / 0.7014 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.185, allocations: 4 kB / 0.7014 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.1851, allocations: 11.98 kB / 0.7014 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1851, allocations: 0 / 0.7014 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/0.1852, allocations: 11.98 kB / 0.7015 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.1852, allocations: 0 / 0.7015 GB, free: 14.39 MB / 0.5294 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.0001346/0.1854, allocations: 125.8 kB / 0.7016 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.1854, allocations: 7.953 kB / 0.7016 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004492/0.1859, allocations: 109.5 kB / 0.7017 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1859, allocations: 0 / 0.7017 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1859, allocations: 0 / 0.7017 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1859, allocations: 384 / 0.7017 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.1861, allocations: 177.6 kB / 0.7019 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1861, allocations: 7.938 kB / 0.7019 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.1862, allocations: 27.91 kB / 0.7019 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1862, allocations: 0 / 0.7019 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1862, allocations: 3.984 kB / 0.7019 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1862, allocations: 0 / 0.7019 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1862, allocations: 0 / 0.7019 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.1867, allocations: 203.4 kB / 0.7021 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.1867, allocations: 85.06 kB / 0.7022 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.1868, allocations: 4 kB / 0.7022 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1869, allocations: 11.98 kB / 0.7022 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.1869, allocations: 3.984 kB / 0.7022 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.1869, allocations: 4 kB / 0.7022 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.444e-05/0.187, allocations: 92.36 kB / 0.7023 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.187, allocations: 4 kB / 0.7023 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002412/0.1873, allocations: 15.94 kB / 0.7023 GB, free: 13.41 MB / 0.5294 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.0007544/0.188, allocations: 0.7358 MB / 0.703 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003614/0.1884, allocations: 75.86 kB / 0.7031 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1884, allocations: 0 / 0.7031 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.1885, allocations: 39.89 kB / 0.7031 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1889, allocations: 12 kB / 0.7031 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.1908, allocations: 1.428 MB / 0.7045 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1912, allocations: 0.6972 MB / 0.7052 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.212e-05/0.1912, allocations: 7.984 kB / 0.7052 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.1913, allocations: 15.44 kB / 0.7052 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.1913, allocations: 0 / 0.7052 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.2145, allocations: 1.81 MB / 0.707 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.042, allocations: 10.41 kB / 0.707 GB, free: 8.539 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Average.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Utilities_Math_Examples_Average.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.654260342009366] Failed to read output from testmodel.py, exit status != 0: 8.111259711004095 8.131799667 7.949001493 Calling exit ...