Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007915/0.0007915, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008325/0.0008325, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.8791/0.8791, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7051/0.7051, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Math.Examples.MovingAverage,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.MovingAverage,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.759e-05, allocations: 6.281 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002142/0.00217, allocations: 1.585 MB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007584/0.002928, allocations: 0.5336 MB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.002999, allocations: 4 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.003028, allocations: 7.875 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.745e-05/0.003115, allocations: 19.81 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.003384, allocations: 51.8 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.003563, allocations: 103.8 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.003671, allocations: 12.17 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.719e-05/0.003768, allocations: 47.91 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.42e-05/0.003842, allocations: 35.88 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.003867, allocations: 8 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.532e-05/0.003882, allocations: 12 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.003912, allocations: 19.92 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.56e-05/0.003958, allocations: 31.95 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.00413, allocations: 99.61 kB / 0.6206 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.004133, allocations: 0 / 0.6206 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004134, allocations: 0 / 0.6206 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.004139, allocations: 0 / 0.6206 GB, free: 11.13 MB / 0.5886 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.0006349/0.004774, allocations: 395.2 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.004814, allocations: 17.47 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.911e-05/0.004843, allocations: 34.75 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.004884, allocations: 12.89 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.005087, allocations: 133.4 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-05/0.005176, allocations: 93.59 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.0052, allocations: 12.33 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.005464, allocations: 98.12 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.005478, allocations: 3.938 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.00549, allocations: 0 / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.005494, allocations: 4 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.005671, allocations: 75.92 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.006113, allocations: 295.7 kB / 0.6217 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.006373, allocations: 90.58 kB / 0.6218 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.52e-05/0.006458, allocations: 48.81 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.006476, allocations: 0 / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.006696, allocations: 123.3 kB / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.006697, allocations: 0 / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0003869/0.007084, allocations: 177.5 kB / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.007122, allocations: 55.41 kB / 0.6221 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.387e-05/0.007206, allocations: 134 kB / 0.6223 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.007222, allocations: 29.7 kB / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.007273, allocations: 84.14 kB / 0.6224 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.007301, allocations: 35.73 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.007351, allocations: 33.7 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.026e-05/0.007441, allocations: 322.8 kB / 0.6228 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.007574, allocations: 107.4 kB / 0.6229 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.007859, allocations: 128.6 kB / 0.623 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.008056, allocations: 161 kB / 0.6231 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.008059, allocations: 0 / 0.6231 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002847/0.008343, allocations: 280.4 kB / 0.6234 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.008391, allocations: 63.39 kB / 0.6235 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.008398, allocations: 0 / 0.6235 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.008414, allocations: 0 / 0.6235 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.648e-05/0.00849, allocations: 23.92 kB / 0.6235 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.008497, allocations: 4 kB / 0.6235 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.008566, allocations: 27.95 kB / 0.6235 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.008576, allocations: 4 kB / 0.6235 GB, free: 7.777 MB / 0.5886 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 8.52e-05/0.008662, allocations: 122.8 kB / 0.6236 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.008675, allocations: 11.95 kB / 0.6236 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.008702, allocations: 12.38 kB / 0.6237 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.008703, allocations: 0 / 0.6237 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.008711, allocations: 7.984 kB / 0.6237 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.008715, allocations: 0 / 0.6237 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.00883, allocations: 160.6 kB / 0.6238 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.008831, allocations: 4 kB / 0.6238 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.008896, allocations: 20.3 kB / 0.6238 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.008897, allocations: 0 / 0.6238 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.008911, allocations: 11.98 kB / 0.6239 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008912, allocations: 0 / 0.6239 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.008914, allocations: 3.938 kB / 0.6239 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.009258, allocations: 228.8 kB / 0.6241 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.00927, allocations: 3.953 kB / 0.6241 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.009287, allocations: 8.031 kB / 0.6241 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.646e-05/0.009344, allocations: 15.98 kB / 0.6241 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.009405, allocations: 19.97 kB / 0.6241 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.009413, allocations: 0 / 0.6241 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.48e-05/0.009457, allocations: 99.27 kB / 0.6242 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009458, allocations: 0 / 0.6242 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001454/0.009603, allocations: 24 kB / 0.6242 GB, free: 6.965 MB / 0.5886 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.0005169/0.01012, allocations: 0.7489 MB / 0.625 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.01044, allocations: 289.3 kB / 0.6252 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01044, allocations: 0 / 0.6252 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.01055, allocations: 55.91 kB / 0.6253 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.01075, allocations: 25.03 kB / 0.6253 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.01291, allocations: 1.913 MB / 0.6272 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.327e-05/0.01296, allocations: 79.31 kB / 0.6273 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.641e-05/0.01301, allocations: 8.5 kB / 0.6273 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.01307, allocations: 28.48 kB / 0.6273 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.01307, allocations: 4 kB / 0.6273 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.03095, allocations: 3.603 MB / 0.6308 GB, free: 168 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.824/6.855, allocations: 3.625 kB / 0.6308 GB, free: 168 kB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_MovingAverage_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_MovingAverage.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.517431466840208] Failed to read output from testmodel.py, exit status != 0: 6.94018598459661 6.949124187 6.94327452 Calling exit ...