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.001334/0.001334, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.002073/0.002073, allocations: 164.5 kB / 22.46 MB, free: 5.375 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.457/1.457, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 1.208/1.208, allocations: 154.6 MB / 413.7 MB, free: 5.32 MB / 382.1 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 178] 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: translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.6185 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.942e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.00339/0.003419, allocations: 1.588 MB / 0.6201 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.004647, allocations: 0.5314 MB / 0.6206 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.004729, allocations: 4.844 kB / 0.6206 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.004761, allocations: 3.938 kB / 0.6206 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.004869, allocations: 15.81 kB / 0.6206 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.005162, allocations: 59.73 kB / 0.6207 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.005384, allocations: 111.7 kB / 0.6208 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.005485, allocations: 8.172 kB / 0.6208 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.005601, allocations: 51.89 kB / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.005702, allocations: 39.88 kB / 0.6209 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.005734, allocations: 8 kB / 0.6209 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.268e-05/0.005757, allocations: 8 kB / 0.6209 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.005802, allocations: 19.92 kB / 0.6209 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.00586, allocations: 23.97 kB / 0.6209 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.006031, allocations: 95.73 kB / 0.621 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.006034, allocations: 0 / 0.621 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.92e-07/0.006035, allocations: 0 / 0.621 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.00604, allocations: 4 kB / 0.621 GB, free: 2.109 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.0008547/0.006894, allocations: 403.1 kB / 0.6214 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.006929, allocations: 9.469 kB / 0.6214 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.006984, allocations: 8.891 kB / 0.6214 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.007233, allocations: 137.6 kB / 0.6216 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.007362, allocations: 93.66 kB / 0.6217 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.00739, allocations: 4.375 kB / 0.6217 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/0.007707, allocations: 94.19 kB / 0.6218 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.007721, allocations: 4.188 kB / 0.6218 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.00774, allocations: 3.938 kB / 0.6218 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.007745, allocations: 3.938 kB / 0.6218 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.008086, allocations: 79.86 kB / 0.6218 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.008702, allocations: 268.4 kB / 0.6221 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.009149, allocations: 90.5 kB / 0.6222 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.009335, allocations: 52.86 kB / 0.6222 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.009356, allocations: 0 / 0.6222 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003357/0.009692, allocations: 123.2 kB / 0.6223 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.009693, allocations: 0 / 0.6223 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0007008/0.01039, allocations: 177.5 kB / 0.6225 GB, free: 444 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.01044, allocations: 55.41 kB / 0.6226 GB, free: 376 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.01056, allocations: 125.3 kB / 0.6227 GB, free: 244 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.01059, allocations: 29.7 kB / 0.6227 GB, free: 208 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.01066, allocations: 100.1 kB / 0.6228 GB, free: 104 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.01069, allocations: 27.75 kB / 0.6228 GB, free: 76 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.01076, allocations: 29.7 kB / 0.6229 GB, free: 40 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.01092, allocations: 322.8 kB / 0.6232 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.01117, allocations: 103.4 kB / 0.6233 GB, free: 15.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.01141, allocations: 133 kB / 0.6234 GB, free: 15.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.0118, allocations: 157 kB / 0.6236 GB, free: 15.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.01181, allocations: 7.938 kB / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005533/0.01236, allocations: 282.7 kB / 0.6238 GB, free: 14.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.018e-05/0.01242, allocations: 63.41 kB / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.01243, allocations: 0 / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.01244, allocations: 4 kB / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.01259, allocations: 23.97 kB / 0.6239 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.01259, allocations: 3.984 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.01273, allocations: 19.94 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.01275, allocations: 8 kB / 0.6239 GB, free: 14.84 MB / 0.545 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.0001111/0.01286, allocations: 130.6 kB / 0.6241 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.01289, allocations: 11.94 kB / 0.6241 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/0.01293, allocations: 8.438 kB / 0.6241 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.01294, allocations: 4 kB / 0.6241 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.01294, allocations: 0 / 0.6241 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01295, allocations: 0 / 0.6241 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.01311, allocations: 133.3 kB / 0.6242 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.01312, allocations: 11.88 kB / 0.6242 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.01327, allocations: 16.36 kB / 0.6242 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01327, allocations: 4 kB / 0.6243 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.01329, allocations: 7.984 kB / 0.6243 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.01329, allocations: 0 / 0.6243 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01329, allocations: 3.938 kB / 0.6243 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006648/0.01395, allocations: 216.9 kB / 0.6245 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.01398, allocations: 11.92 kB / 0.6245 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.01401, allocations: 8 kB / 0.6245 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.01414, allocations: 15.98 kB / 0.6245 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.01421, allocations: 15.97 kB / 0.6245 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.01422, allocations: 4 kB / 0.6245 GB, free: 14.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.685e-05/0.01429, allocations: 99.2 kB / 0.6246 GB, free: 14.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01429, allocations: 0 / 0.6246 GB, free: 14.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002194/0.01451, allocations: 20 kB / 0.6246 GB, free: 14.07 MB / 0.545 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.0001412/0.01465, allocations: 103.2 kB / 0.6247 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005535/0.01521, allocations: 278.1 kB / 0.625 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.01521, allocations: 4 kB / 0.625 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.01542, allocations: 51.89 kB / 0.6251 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.01568, allocations: 28 kB / 0.6251 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.01635, allocations: 225.1 kB / 0.6253 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.622e-05/0.01643, allocations: 79.33 kB / 0.6254 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.833e-05/0.01648, allocations: 8.484 kB / 0.6254 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.01653, allocations: 12.78 kB / 0.6254 GB, free: 13.2 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.01653, allocations: 0 / 0.6254 GB, free: 13.2 MB / 0.545 GB Notification: Performance of Templates: time 0.00481/0.02134, allocations: 1.632 MB / 0.627 GB, free: 11.61 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.947446878999472] Failed to read output from testmodel.py, exit status != 0: 0.029811911284923553 0.044321381 0.035245609000000004 Calling exit ...