Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.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.001728/0.001728, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002134/0.002134, allocations: 208.8 kB / 22.24 MB, free: 5.262 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.738 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.8924/0.8924, allocations: 134 MB / 446.4 MB, free: 9.922 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.MovingAverage,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.MovingAverage,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage",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.002007/0.002007, allocations: 67.84 kB / 0.6185 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1723, allocations: 85.92 MB / 0.7024 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.003023/0.1753, allocations: 1.582 MB / 0.7039 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1764, allocations: 0.5259 MB / 0.7044 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.702e-05/0.1764, allocations: 0 / 0.7044 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.1765, allocations: 7.922 kB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.069e-05/0.1766, allocations: 19.81 kB / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.1768, allocations: 51.81 kB / 0.7045 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.177, allocations: 107.8 kB / 0.7046 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.472e-05/0.1771, allocations: 8.125 kB / 0.7046 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.895e-05/0.1772, allocations: 43.84 kB / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.734e-05/0.1773, allocations: 43.81 kB / 0.7047 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.1773, allocations: 8 kB / 0.7047 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.035e-05/0.1773, allocations: 8 kB / 0.7047 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.1774, allocations: 19.92 kB / 0.7047 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.1774, allocations: 27.92 kB / 0.7048 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.1776, allocations: 83.69 kB / 0.7049 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1776, allocations: 0 / 0.7049 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1776, allocations: 0 / 0.7049 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1776, allocations: 0 / 0.7049 GB, free: 14.48 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008023/0.1784, allocations: 415 kB / 0.7052 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1784, allocations: 12.03 kB / 0.7053 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.026e-05/0.1785, allocations: 42.72 kB / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.1785, allocations: 12.89 kB / 0.7053 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.1788, allocations: 126.5 kB / 0.7054 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.1789, allocations: 89.67 kB / 0.7055 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.1789, allocations: 8.125 kB / 0.7055 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.1792, allocations: 105.5 kB / 0.7056 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1792, allocations: 0 / 0.7056 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1792, allocations: 0 / 0.7056 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.1793, allocations: 4 kB / 0.7056 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.1796, allocations: 71.92 kB / 0.7057 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/0.1802, allocations: 295.8 kB / 0.706 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.1805, allocations: 90.59 kB / 0.7061 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.1807, allocations: 44.83 kB / 0.7061 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.1807, allocations: 0 / 0.7061 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003262/0.181, allocations: 127.2 kB / 0.7062 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.181, allocations: 0 / 0.7062 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0005957/0.1816, allocations: 173.5 kB / 0.7064 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.1817, allocations: 59.34 kB / 0.7065 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.1818, allocations: 126.1 kB / 0.7066 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.1818, allocations: 33.7 kB / 0.7066 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.1819, allocations: 96.08 kB / 0.7067 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.1819, allocations: 27.75 kB / 0.7067 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.298e-05/0.182, allocations: 33.7 kB / 0.7068 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.1822, allocations: 326.8 kB / 0.7071 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.1824, allocations: 107.4 kB / 0.7072 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.1826, allocations: 121.1 kB / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.183, allocations: 172.8 kB / 0.7075 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.183, allocations: 0 / 0.7075 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005272/0.1835, allocations: 276.3 kB / 0.7077 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.1836, allocations: 59.41 kB / 0.7078 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1836, allocations: 3.938 kB / 0.7078 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1836, allocations: 4.031 kB / 0.7078 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1837, allocations: 31.91 kB / 0.7078 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1837, allocations: 0 / 0.7078 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.1839, allocations: 23.88 kB / 0.7078 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1839, allocations: 4 kB / 0.7078 GB, free: 11.11 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,step.count,$PRE.step.count,step.T_start,$PRE.step.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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.0001075/0.184, allocations: 121.8 kB / 0.708 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.184, allocations: 7.953 kB / 0.708 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.925e-05/0.1841, allocations: 12.38 kB / 0.708 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1841, allocations: 8 kB / 0.708 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1841, allocations: 4 kB / 0.708 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1841, allocations: 3.938 kB / 0.708 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.1842, allocations: 152.7 kB / 0.7081 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1842, allocations: 0 / 0.7081 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.1844, allocations: 19.97 kB / 0.7082 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1844, allocations: 0 / 0.7082 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1844, allocations: 7.938 kB / 0.7082 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1844, allocations: 384 / 0.7082 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1844, allocations: 0 / 0.7082 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006097/0.185, allocations: 235.7 kB / 0.7084 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.185, allocations: 7.953 kB / 0.7084 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.185, allocations: 0 / 0.7084 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.1852, allocations: 20.02 kB / 0.7084 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.1852, allocations: 15.98 kB / 0.7084 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.1852, allocations: 11.92 kB / 0.7084 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.939e-05/0.1853, allocations: 99.27 kB / 0.7085 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1853, allocations: 0 / 0.7085 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002082/0.1855, allocations: 24 kB / 0.7086 GB, free: 10.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (movingAverage.iDelay,movingAverage.iStop,firstOrder.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,step.T_start,step.count) * Number of discrete states: 1 (step.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009173/0.1864, allocations: 0.7568 MB / 0.7093 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005134/0.1869, allocations: 282.1 kB / 0.7096 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.187, allocations: 0 / 0.7096 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.1871, allocations: 55.89 kB / 0.7096 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.1874, allocations: 25.95 kB / 0.7096 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.19, allocations: 1.936 MB / 0.7115 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.136e-05/0.1901, allocations: 83.08 kB / 0.7116 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.757e-05/0.1901, allocations: 4.438 kB / 0.7116 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.1902, allocations: 31.42 kB / 0.7116 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of SimCode: time 4.3e-07/0.1902, allocations: 3.938 kB / 0.7117 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.2201, allocations: 3.464 MB / 0.715 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.3, allocations: 4 kB / 0.715 GB, free: 3.582 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage.fmu > IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.946102205198258] Failed to read output from testmodel.py, exit status != 0: 11.40181735670194 11.420006543 11.239166885 Calling exit ...