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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 106.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.8628/0.8628, allocations: 134 MB / 436.6 MB, free: 1.273 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002615/0.002615, allocations: 68.98 kB / 0.6051 GB, free: 15.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1618, allocations: 84.66 MB / 0.6878 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.003106/0.1649, allocations: 1.552 MB / 0.6893 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003874/0.1653, allocations: 112.5 kB / 0.6894 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.1653, allocations: 0 / 0.6894 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.1655, allocations: 7.938 kB / 0.6894 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.3e-05/0.1655, allocations: 15.86 kB / 0.6894 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1658, allocations: 27.95 kB / 0.6895 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.1659, allocations: 51.78 kB / 0.6895 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.1661, allocations: 31.97 kB / 0.6896 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.06e-05/0.1661, allocations: 19.92 kB / 0.6896 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.134e-05/0.1662, allocations: 27.91 kB / 0.6896 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.1662, allocations: 11.98 kB / 0.6896 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-05/0.1663, allocations: 8 kB / 0.6896 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.1664, allocations: 19.92 kB / 0.6896 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.1664, allocations: 23.86 kB / 0.6897 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.1666, allocations: 60.02 kB / 0.6897 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1666, allocations: 3.938 kB / 0.6897 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1666, allocations: 0 / 0.6897 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.1666, allocations: 4 kB / 0.6897 GB, free: 9.105 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.0006633/0.1673, allocations: 383.2 kB / 0.6901 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1673, allocations: 8.031 kB / 0.6901 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.1673, allocations: 34.75 kB / 0.6901 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.1674, allocations: 12.89 kB / 0.6901 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.1676, allocations: 184.2 kB / 0.6903 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1676, allocations: 4.375 kB / 0.6903 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.1676, allocations: 4.375 kB / 0.6903 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.1679, allocations: 90.2 kB / 0.6904 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1679, allocations: 3.938 kB / 0.6904 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1679, allocations: 0 / 0.6904 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1679, allocations: 0 / 0.6904 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.1683, allocations: 87.84 kB / 0.6905 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006229/0.1689, allocations: 332.6 kB / 0.6908 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.1691, allocations: 62.56 kB / 0.6909 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.1692, allocations: 40.92 kB / 0.6909 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.735e-05/0.1693, allocations: 7.984 kB / 0.6909 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1693, allocations: 30.56 kB / 0.691 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1693, allocations: 3.938 kB / 0.691 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005797/0.1699, allocations: 141.5 kB / 0.6911 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.17, allocations: 55.34 kB / 0.6911 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.1701, allocations: 109.8 kB / 0.6912 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1701, allocations: 29.7 kB / 0.6913 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.1702, allocations: 96.08 kB / 0.6914 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.1702, allocations: 11.89 kB / 0.6914 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.1702, allocations: 13.72 kB / 0.6914 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.1704, allocations: 322.8 kB / 0.6917 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.1705, allocations: 35.97 kB / 0.6917 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.1707, allocations: 31.95 kB / 0.6918 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.1709, allocations: 76.78 kB / 0.6918 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1709, allocations: 4 kB / 0.6918 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003123/0.1712, allocations: 101.6 kB / 0.6919 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1713, allocations: 8 kB / 0.6919 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1713, allocations: 3.938 kB / 0.6919 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1713, allocations: 0 / 0.6919 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.1714, allocations: 15.98 kB / 0.692 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1714, allocations: 4 kB / 0.692 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.203e-05/0.1715, allocations: 7.984 kB / 0.692 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.1715, allocations: 4 kB / 0.692 GB, free: 6.555 MB / 0.5137 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.0001151/0.1716, allocations: 121.8 kB / 0.6921 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.1717, allocations: 0 / 0.6921 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003646/0.172, allocations: 113.5 kB / 0.6922 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.172, allocations: 3.984 kB / 0.6922 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.172, allocations: 0 / 0.6922 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.172, allocations: 0 / 0.6922 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.1722, allocations: 185.6 kB / 0.6924 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1722, allocations: 0 / 0.6924 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.625e-05/0.1723, allocations: 19.92 kB / 0.6924 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1723, allocations: 0 / 0.6924 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1724, allocations: 4 kB / 0.6924 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1724, allocations: 3.938 kB / 0.6924 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1724, allocations: 4 kB / 0.6924 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.1727, allocations: 203.7 kB / 0.6926 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.1728, allocations: 85.09 kB / 0.6927 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.1728, allocations: 0 / 0.6927 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1729, allocations: 19.92 kB / 0.6927 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.173, allocations: 11.98 kB / 0.6927 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.173, allocations: 0 / 0.6927 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.862e-05/0.1731, allocations: 94.11 kB / 0.6928 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1731, allocations: 0 / 0.6928 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000232/0.1733, allocations: 11.94 kB / 0.6928 GB, free: 5.582 MB / 0.5137 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.001042/0.1743, allocations: 0.7358 MB / 0.6935 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.1747, allocations: 75.91 kB / 0.6936 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1747, allocations: 4 kB / 0.6936 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.1748, allocations: 43.91 kB / 0.6937 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.1752, allocations: 7.984 kB / 0.6937 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.1773, allocations: 1.429 MB / 0.6951 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.1778, allocations: 0.6846 MB / 0.6957 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.443e-05/0.1779, allocations: 8.234 kB / 0.6957 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.1779, allocations: 19.42 kB / 0.6958 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.1779, allocations: 0 / 0.6958 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.2029, allocations: 1.802 MB / 0.6975 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.36, allocations: 14.16 kB / 0.6975 GB, free: 0.7148 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.9622672656551] Failed to read output from testmodel.py, exit status != 0: 8.426585481967777 8.440271132 8.270738683 Calling exit ...