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.001654/0.001654, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002193/0.002193, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.805 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.8815/0.8815, allocations: 134 MB / 446.4 MB, free: 9.93 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.002054/0.002054, allocations: 71.14 kB / 0.6185 GB, free: 6.859 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1687, allocations: 85.9 MB / 0.7024 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.003971/0.1727, allocations: 1.546 MB / 0.7039 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00043/0.1731, allocations: 116.5 kB / 0.704 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.1732, allocations: 3.938 kB / 0.704 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.1733, allocations: 11.94 kB / 0.704 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.573e-05/0.1734, allocations: 7.922 kB / 0.704 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.1736, allocations: 27.91 kB / 0.704 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.1738, allocations: 51.84 kB / 0.7041 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1739, allocations: 20.27 kB / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.78e-05/0.174, allocations: 23.91 kB / 0.7041 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.609e-05/0.1741, allocations: 31.84 kB / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1741, allocations: 8 kB / 0.7042 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.629e-05/0.1742, allocations: 15.98 kB / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.1742, allocations: 11.94 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.1743, allocations: 19.92 kB / 0.7042 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1744, allocations: 59.73 kB / 0.7043 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1744, allocations: 0 / 0.7043 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1744, allocations: 0 / 0.7043 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.1744, allocations: 4 kB / 0.7043 GB, free: 15.08 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.0006449/0.1751, allocations: 314 kB / 0.7046 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1751, allocations: 8.031 kB / 0.7046 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.1751, allocations: 38.75 kB / 0.7046 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.1752, allocations: 12.88 kB / 0.7046 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1754, allocations: 126.4 kB / 0.7048 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1754, allocations: 4.375 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.1754, allocations: 4.375 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.1757, allocations: 82.2 kB / 0.7048 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1757, allocations: 3.938 kB / 0.7048 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1757, allocations: 8 kB / 0.7049 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.1757, allocations: 0 / 0.7049 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.176, allocations: 83.84 kB / 0.7049 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.1766, allocations: 283.8 kB / 0.7052 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.1768, allocations: 62.56 kB / 0.7053 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.177, allocations: 36.92 kB / 0.7053 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.177, allocations: 7.938 kB / 0.7053 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.177, allocations: 34.55 kB / 0.7053 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.177, allocations: 0 / 0.7053 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0006029/0.1776, allocations: 137.6 kB / 0.7055 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.1777, allocations: 51.41 kB / 0.7055 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1778, allocations: 120.8 kB / 0.7056 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1778, allocations: 25.7 kB / 0.7057 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.1779, allocations: 100 kB / 0.7058 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.1779, allocations: 15.88 kB / 0.7058 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.178, allocations: 13.72 kB / 0.7058 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002127/0.1782, allocations: 326.8 kB / 0.7061 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.1783, allocations: 31.97 kB / 0.7061 GB, free: 13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1785, allocations: 35.95 kB / 0.7062 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.1788, allocations: 73.06 kB / 0.7062 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1788, allocations: 0 / 0.7062 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003424/0.1791, allocations: 109.6 kB / 0.7063 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1791, allocations: 11.98 kB / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1791, allocations: 0 / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1792, allocations: 0 / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.1793, allocations: 19.92 kB / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1793, allocations: 0 / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.133e-05/0.1794, allocations: 11.98 kB / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.1794, allocations: 8 kB / 0.7064 GB, free: 12.73 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.0001249/0.1795, allocations: 125.8 kB / 0.7065 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.1796, allocations: 3.953 kB / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/0.1799, allocations: 109.6 kB / 0.7066 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1799, allocations: 0 / 0.7066 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1799, allocations: 0 / 0.7066 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1799, allocations: 0 / 0.7066 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.1802, allocations: 152.7 kB / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1802, allocations: 0 / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.645e-05/0.1803, allocations: 19.91 kB / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1803, allocations: 4 kB / 0.7068 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1803, allocations: 0 / 0.7068 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1803, allocations: 0 / 0.7068 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1803, allocations: 0 / 0.7068 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.1807, allocations: 203.4 kB / 0.707 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.1807, allocations: 7.953 kB / 0.707 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.1807, allocations: 0 / 0.707 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1808, allocations: 19.92 kB / 0.707 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1808, allocations: 3.984 kB / 0.707 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1809, allocations: 0 / 0.707 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.407e-05/0.1809, allocations: 99.2 kB / 0.7071 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1809, allocations: 0 / 0.7071 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002298/0.1811, allocations: 11.94 kB / 0.7071 GB, free: 11.91 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.0007214/0.1819, allocations: 0.7358 MB / 0.7078 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.1822, allocations: 71.92 kB / 0.7079 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1822, allocations: 0 / 0.7079 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.1824, allocations: 47.89 kB / 0.7079 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.1827, allocations: 8 kB / 0.708 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.1847, allocations: 1.424 MB / 0.7093 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.131e-05/0.1847, allocations: 83.19 kB / 0.7094 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.777e-05/0.1848, allocations: 8.234 kB / 0.7094 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.1848, allocations: 11.44 kB / 0.7094 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.1848, allocations: 0 / 0.7094 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.2146, allocations: 2.389 MB / 0.7118 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.4, allocations: 8.297 kB / 0.7118 GB, free: 7.141 MB / 0.5294 GB " [Timeout remaining time 648] (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: 15.126513671129942] Failed to read output from testmodel.py, exit status != 0: 11.503785497974604 11.533128974 11.353598772 Calling exit ...