Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean") translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01033/0.01033, allocations: 175.4 kB / 15.12 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.665/1.665, allocations: 194.5 MB / 210.3 MB, free: 7.629 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001589/0.001589, allocations: 128.5 kB / 255.6 MB, free: 10.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2015/0.2015, allocations: 40.02 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004541, allocations: 11.84 kB / 406.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 54.88 MB / 461 MB, free: 3.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.2319, allocations: 82.32 MB / 0.5306 GB, free: 0.918 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.2322, allocations: 59.97 kB / 0.5307 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2598/0.4921, allocations: 4.142 MB / 0.5347 GB, free: 83.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4921, allocations: 0 / 0.5347 GB, free: 83.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.12e-05/0.4921, allocations: 8.312 kB / 0.5347 GB, free: 83.03 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009591/0.4931, allocations: 0.548 MB / 0.5353 GB, free: 82.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4932, allocations: 16.19 kB / 0.5353 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.777e-05/0.4933, allocations: 36.34 kB / 0.5353 GB, free: 82.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.4937, allocations: 303.5 kB / 0.5356 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.4938, allocations: 19.73 kB / 0.5356 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.854e-05/0.4939, allocations: 30.14 kB / 0.5356 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006163/0.4945, allocations: 265.8 kB / 0.5359 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.4945, allocations: 5.125 kB / 0.5359 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.4946, allocations: 9.203 kB / 0.5359 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.4946, allocations: 5.5 kB / 0.5359 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.4951, allocations: 195.3 kB / 0.5361 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.4967, allocations: 0.7879 MB / 0.5369 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.4973, allocations: 218.8 kB / 0.5371 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.4973, allocations: 3.812 kB / 0.5371 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005006/0.4978, allocations: 235.7 kB / 0.5373 GB, free: 81.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.843e-06/0.4978, allocations: 0 / 0.5373 GB, free: 81.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008821/0.4987, allocations: 389.6 kB / 0.5377 GB, free: 81.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.4988, allocations: 65.06 kB / 0.5377 GB, free: 81.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.499, allocations: 200.9 kB / 0.5379 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.4991, allocations: 36.61 kB / 0.538 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4992, allocations: 163.4 kB / 0.5381 GB, free: 81.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.826e-05/0.4993, allocations: 97.33 kB / 0.5382 GB, free: 81.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/0.4993, allocations: 8.625 kB / 0.5382 GB, free: 81.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4994, allocations: 340.9 kB / 0.5385 GB, free: 81.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.4997, allocations: 98.28 kB / 0.5386 GB, free: 81.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.5, allocations: 224.5 kB / 0.5389 GB, free: 80.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.5003, allocations: 129.2 kB / 0.539 GB, free: 80.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.5003, allocations: 1.312 kB / 0.539 GB, free: 80.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008617/0.5011, allocations: 381.3 kB / 0.5393 GB, free: 80.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.5012, allocations: 7.156 kB / 0.5394 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.5012, allocations: 6.078 kB / 0.5394 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/0.5012, allocations: 6.719 kB / 0.5394 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.5016, allocations: 78.53 kB / 0.5394 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/0.5016, allocations: 11.64 kB / 0.5395 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.5018, allocations: 39.34 kB / 0.5395 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.5019, allocations: 18.47 kB / 0.5395 GB, free: 80.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.mean.y,mean.y,$PRE.rectifiedMean.mean.y,rectifiedMean.mean.y,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y,$PRE.harmonic.mean1.y,harmonic.mean1.y,$PRE.harmonic.mean2.y,harmonic.mean2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00023/0.5021, allocations: 168.1 kB / 0.5397 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.5022, allocations: 26.44 kB / 0.5397 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008619/0.503, allocations: 337.3 kB / 0.54 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.5031, allocations: 3.562 kB / 0.54 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.5031, allocations: 0 / 0.54 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.5031, allocations: 7.219 kB / 0.54 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.5042, allocations: 0.7222 MB / 0.5407 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5043, allocations: 0 / 0.5407 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.5046, allocations: 55.72 kB / 0.5408 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.5046, allocations: 1.344 kB / 0.5408 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.5047, allocations: 9.828 kB / 0.5408 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.5047, allocations: 1.219 kB / 0.5408 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5047, allocations: 7.922 kB / 0.5408 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009063/0.5056, allocations: 0.5412 MB / 0.5413 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.5057, allocations: 104 kB / 0.5414 GB, free: 79.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.5057, allocations: 7.688 kB / 0.5414 GB, free: 79.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.5059, allocations: 19.22 kB / 0.5415 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.506, allocations: 25.36 kB / 0.5415 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.506, allocations: 16.12 kB / 0.5415 GB, free: 79.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.5062, allocations: 161.4 kB / 0.5416 GB, free: 79.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5062, allocations: 0 / 0.5416 GB, free: 79.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004195/0.5066, allocations: 64.12 kB / 0.5417 GB, free: 79.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.x,rectifiedMean.mean.x,rootMeanSquare.mean.x,harmonic.mean1.x,harmonic.mean2.x) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y,rectifiedMean.mean.y,rootMeanSquare.mean.y,harmonic.mean1.y,harmonic.mean2.y) * Number of discrete states: 5 (harmonic.mean2.x,harmonic.mean1.x,rootMeanSquare.mean.x,rectifiedMean.mean.x,mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000171/0.5068, allocations: 134.6 kB / 0.5418 GB, free: 79.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006212/0.5074, allocations: 276.9 kB / 0.5421 GB, free: 79.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5074, allocations: 5.438 kB / 0.5421 GB, free: 79.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.5077, allocations: 128.6 kB / 0.5422 GB, free: 79.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.508, allocations: 27.14 kB / 0.5423 GB, free: 79.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.5091, allocations: 0.6711 MB / 0.5429 GB, free: 79.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.5094, allocations: 0.7799 MB / 0.5437 GB, free: 78.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.5095, allocations: 43.27 kB / 0.5437 GB, free: 78.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.5096, allocations: 33.25 kB / 0.5437 GB, free: 78.33 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5096, allocations: 0 / 0.5437 GB, free: 78.33 MB / 378.7 MB Notification: Performance of Templates: time 0.005915/0.5155, allocations: 2.21 MB / 0.5459 GB, free: 77.44 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean.pipe 2>&1)