Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Mean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Mean") translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Mean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001748/0.001747, allocations: 163 kB / 7.635 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.321/1.321, allocations: 170.7 MB / 178.7 MB, free: 7.039 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001641/0.001641, allocations: 102.5 kB / 218 MB, free: 15.35 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1897/0.1897, allocations: 37.97 MB / 295.1 MB, free: 2.098 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.854e-05, allocations: 0 / 350 MB, free: 32.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2782, allocations: 48.69 MB / 398.7 MB, free: 6.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3849, allocations: 73.21 MB / 471.9 MB, free: 9.922 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.3852, allocations: 59.97 kB / 472 MB, free: 9.863 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002935/0.3882, allocations: 0.9364 MB / 472.9 MB, free: 8.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3882, allocations: 0 / 472.9 MB, free: 8.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3882, allocations: 4 kB / 472.9 MB, free: 8.926 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005049/0.3887, allocations: 338.4 kB / 473.3 MB, free: 8.551 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.3888, allocations: 8.031 kB / 473.3 MB, free: 8.543 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.3889, allocations: 8.531 kB / 473.3 MB, free: 8.535 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.3892, allocations: 186.9 kB / 473.5 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.3892, allocations: 8 kB / 473.5 MB, free: 8.305 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.3893, allocations: 0 / 473.5 MB, free: 8.305 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.187e-05/0.3893, allocations: 8 kB / 473.5 MB, free: 8.297 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.29e-05/0.3895, allocations: 41.69 kB / 473.5 MB, free: 8.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3895, allocations: 4 kB / 473.5 MB, free: 8.246 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3895, allocations: 0 / 473.5 MB, free: 8.246 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3895, allocations: 0 / 473.5 MB, free: 8.246 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.39, allocations: 257.9 kB / 473.8 MB, free: 7.957 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.47e-05/0.39, allocations: 30.58 kB / 473.8 MB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.3901, allocations: 12.86 kB / 473.8 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.3901, allocations: 0 / 473.8 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.3903, allocations: 59.48 kB / 473.9 MB, free: 7.832 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.3903, allocations: 0 / 473.9 MB, free: 7.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001897/0.3905, allocations: 57.53 kB / 473.9 MB, free: 7.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.3906, allocations: 55.41 kB / 474 MB, free: 7.703 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3907, allocations: 112.7 kB / 474.1 MB, free: 7.586 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.3907, allocations: 25.7 kB / 474.1 MB, free: 7.555 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.3908, allocations: 84.14 kB / 474.2 MB, free: 7.469 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.3908, allocations: 15.8 kB / 474.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.3908, allocations: 0 / 474.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.391, allocations: 318.8 kB / 474.5 MB, free: 7.133 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.391, allocations: 4 kB / 474.5 MB, free: 7.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.3911, allocations: 50.28 kB / 474.6 MB, free: 7.066 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.56e-05/0.3911, allocations: 8 kB / 474.6 MB, free: 7.059 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3911, allocations: 3.938 kB / 474.6 MB, free: 7.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001089/0.3913, allocations: 69.72 kB / 474.7 MB, free: 6.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3913, allocations: 8 kB / 474.7 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3913, allocations: 0 / 474.7 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3913, allocations: 384 / 474.7 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.3914, allocations: 15.98 kB / 474.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3914, allocations: 0 / 474.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/0.3915, allocations: 7.906 kB / 474.7 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3915, allocations: 7.938 kB / 474.7 MB, free: 6.941 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.mean.y,mean.y,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001043/0.3916, allocations: 116.9 kB / 474.8 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.3916, allocations: 11.98 kB / 474.8 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.3917, allocations: 4.344 kB / 474.8 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3917, allocations: 4 kB / 474.8 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3917, allocations: 0 / 474.8 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3917, allocations: 0 / 474.8 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.3918, allocations: 142.2 kB / 475 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3918, allocations: 48 / 475 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.3919, allocations: 12.81 kB / 475 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.3919, allocations: 3.984 kB / 475 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.392, allocations: 8 kB / 475 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.392, allocations: 4 kB / 475 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.392, allocations: 0 / 475 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.3922, allocations: 92.97 kB / 475.1 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-05/0.3923, allocations: 96.31 kB / 475.2 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.3923, allocations: 3.953 kB / 475.2 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.327e-05/0.3923, allocations: 4 kB / 475.2 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.3924, allocations: 4.047 kB / 475.2 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3924, allocations: 4 kB / 475.2 MB, free: 6.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.514e-05/0.3925, allocations: 87.28 kB / 475.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3925, allocations: 0 / 475.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000191/0.3927, allocations: 8 kB / 475.3 MB, free: 6.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mean.x) * Number of discrete variables: 2 ($whenCondition1,mean.y) * Number of discrete states: 1 (mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001453/0.3928, allocations: 99.23 kB / 475.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.3929, allocations: 27.94 kB / 475.4 MB, free: 6.133 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.652e-05/0.393, allocations: 320 / 475.4 MB, free: 6.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.185e-05/0.393, allocations: 19.98 kB / 475.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.3932, allocations: 0 / 475.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.3934, allocations: 93.88 kB / 475.5 MB, free: 6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.3937, allocations: 0.6885 MB / 476.2 MB, free: 5.285 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.783e-05/0.3938, allocations: 288 / 476.2 MB, free: 5.285 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.3938, allocations: 11.44 kB / 476.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3938, allocations: 0 / 476.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of Templates: time 0.002221/0.396, allocations: 397.5 kB / 476.6 MB, free: 4.891 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Mean.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Mean.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Mean.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Mean.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Mean.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Mean -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Mean.pipe 2>&1)