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.001309/0.00131, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.275/1.275, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001612/0.001612, allocations: 107.4 kB / 223.2 MB, free: 4.113 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.1801/0.1801, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.427e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.08988, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3377/0.4277, allocations: 73.86 MB / 479.5 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001695/0.4279, allocations: 64.45 kB / 479.6 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002763/0.4307, allocations: 0.9445 MB / 480.6 MB, free: 18.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4307, allocations: 1.094 kB / 480.6 MB, free: 18.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.4307, allocations: 0 / 480.6 MB, free: 18.29 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.0003283/0.4311, allocations: 343.1 kB / 480.9 MB, free: 17.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.4311, allocations: 9.25 kB / 480.9 MB, free: 17.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.4312, allocations: 6.812 kB / 480.9 MB, free: 17.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.4313, allocations: 179.6 kB / 481.1 MB, free: 17.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.4314, allocations: 3.422 kB / 481.1 MB, free: 17.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.4314, allocations: 4.688 kB / 481.1 MB, free: 17.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.4315, allocations: 50.77 kB / 481.1 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4315, allocations: 0 / 481.1 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.4315, allocations: 0 / 481.1 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4316, allocations: 5.469 kB / 481.1 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.099e-05/0.4316, allocations: 9.812 kB / 481.2 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.432, allocations: 275.4 kB / 481.4 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.922e-05/0.4321, allocations: 30.11 kB / 481.5 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.4321, allocations: 12.92 kB / 481.5 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.4322, allocations: 5.5 kB / 481.5 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.4323, allocations: 59.59 kB / 481.5 MB, free: 17.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.4323, allocations: 1.156 kB / 481.5 MB, free: 17.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001906/0.4325, allocations: 58.83 kB / 481.6 MB, free: 17.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.4326, allocations: 52.66 kB / 481.6 MB, free: 17.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.4327, allocations: 112.2 kB / 481.8 MB, free: 17.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.4327, allocations: 33.33 kB / 481.8 MB, free: 17.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.4327, allocations: 85.73 kB / 481.9 MB, free: 17.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.4327, allocations: 16.3 kB / 481.9 MB, free: 17.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.4328, allocations: 0 / 481.9 MB, free: 17.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.4328, allocations: 322.4 kB / 482.2 MB, free: 16.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.4329, allocations: 9.219 kB / 482.2 MB, free: 16.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.289e-05/0.4329, allocations: 40.36 kB / 482.2 MB, free: 16.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.455e-05/0.433, allocations: 17.34 kB / 482.3 MB, free: 16.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.433, allocations: 1.125 kB / 482.3 MB, free: 16.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001287/0.4331, allocations: 76.95 kB / 482.3 MB, free: 16.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4331, allocations: 9.812 kB / 482.3 MB, free: 16.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.4331, allocations: 8.75 kB / 482.4 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.4332, allocations: 2.125 kB / 482.4 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.4333, allocations: 11.92 kB / 482.4 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4333, allocations: 1.312 kB / 482.4 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.4333, allocations: 14.28 kB / 482.4 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.4334, allocations: 2.812 kB / 482.4 MB, free: 16.61 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 6.537e-05/0.4334, allocations: 115.4 kB / 482.5 MB, free: 16.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.4335, allocations: 4.188 kB / 482.5 MB, free: 16.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.4335, allocations: 9.406 kB / 482.5 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4335, allocations: 1.406 kB / 482.5 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4335, allocations: 0 / 482.5 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4335, allocations: 0 / 482.5 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.152e-05/0.4336, allocations: 171 kB / 482.7 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4337, allocations: 0 / 482.7 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.889e-05/0.4337, allocations: 7.578 kB / 482.7 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4337, allocations: 0 / 482.7 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.4338, allocations: 4.438 kB / 482.7 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4338, allocations: 1.875 kB / 482.7 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4338, allocations: 5.578 kB / 482.7 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.4339, allocations: 105.1 kB / 482.8 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.434, allocations: 90.89 kB / 482.9 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.434, allocations: 1.281 kB / 482.9 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.424e-05/0.4341, allocations: 6.062 kB / 482.9 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.4341, allocations: 4.312 kB / 482.9 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.4341, allocations: 3.188 kB / 482.9 MB, free: 16.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.987e-05/0.4342, allocations: 91.5 kB / 483 MB, free: 16.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4342, allocations: 0 / 483 MB, free: 16.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.4344, allocations: 13.91 kB / 483 MB, free: 16.03 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.00013/0.4345, allocations: 94.19 kB / 483.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.4347, allocations: 29.81 kB / 483.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4347, allocations: 1.031 kB / 483.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.665e-05/0.4347, allocations: 13.91 kB / 483.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.4349, allocations: 14.08 kB / 483.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.4352, allocations: 102 kB / 483.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.4354, allocations: 0.6884 MB / 483.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.099e-05/0.4354, allocations: 2.125 kB / 484 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.4354, allocations: 9.625 kB / 484 MB, free: 15.14 MB / 330.7 MB Notification: Performance of SimCode: time 4.2e-07/0.4354, allocations: 0 / 484 MB, free: 15.14 MB / 330.7 MB Notification: Performance of Templates: time 0.002329/0.4378, allocations: 420.4 kB / 484.4 MB, free: 15.09 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)