Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.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) 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(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001607/0.001608, allocations: 170.4 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.245/1.245, 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.001607/0.001607, allocations: 99.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.243e-05/2.254e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06837/0.06841, allocations: 38.78 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2651/0.3336, allocations: 79.65 MB / 387.3 MB, free: 12.78 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001671/0.3338, allocations: 66.41 kB / 387.3 MB, free: 12.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02592/0.3597, allocations: 9.885 MB / 397.2 MB, free: 4.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3598, allocations: 0 / 397.2 MB, free: 4.414 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.07e-05/0.3598, allocations: 19.94 kB / 397.2 MB, free: 4.395 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007045/0.3605, allocations: 0.5184 MB / 397.8 MB, free: 3.848 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3606, allocations: 8.031 kB / 397.8 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/0.3607, allocations: 31.62 kB / 397.8 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.3612, allocations: 348.2 kB / 398.1 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3612, allocations: 11.7 kB / 398.2 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.3613, allocations: 19.59 kB / 398.2 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.3616, allocations: 219.4 kB / 398.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3616, allocations: 0 / 398.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.3616, allocations: 3.562 kB / 398.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3617, allocations: 4 kB / 398.4 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.3618, allocations: 74.53 kB / 398.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000793/0.3626, allocations: 0.4945 MB / 399 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.3628, allocations: 158.4 kB / 399.1 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/0.3629, allocations: 54.7 kB / 399.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.363, allocations: 0 / 399.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.363, allocations: 45.91 kB / 399.2 MB, free: 2.457 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.363, allocations: 0 / 399.2 MB, free: 2.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002939/0.3633, allocations: 159.2 kB / 399.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.3635, allocations: 294.7 kB / 399.7 MB, free: 1.969 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.3637, allocations: 248.7 kB / 399.9 MB, free: 1.758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.3637, allocations: 33.14 kB / 399.9 MB, free: 1.723 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.586e-05/0.3638, allocations: 151 kB / 400.1 MB, free: 1.609 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.3639, allocations: 57.94 kB / 400.1 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.3639, allocations: 7.625 kB / 400.1 MB, free: 1.555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.364, allocations: 336.8 kB / 400.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.3642, allocations: 84.97 kB / 400.6 MB, free: 1.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.3644, allocations: 175.5 kB / 400.7 MB, free: 1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.3645, allocations: 106.6 kB / 400.8 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3645, allocations: 4 kB / 400.8 MB, free: 0.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003664/0.3649, allocations: 283.2 kB / 401.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3649, allocations: 4 kB / 401.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.365, allocations: 8 kB / 401.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.365, allocations: 4 kB / 401.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.3652, allocations: 51.2 kB / 401.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.3653, allocations: 11.98 kB / 401.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.3654, allocations: 27.2 kB / 401.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.3654, allocations: 4 kB / 401.2 MB, free: 0.5898 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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 7.852e-05/0.3655, allocations: 123.4 kB / 401.3 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/0.3656, allocations: 27.62 kB / 401.4 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.3657, allocations: 32.02 kB / 401.4 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3657, allocations: 0 / 401.4 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3657, allocations: 0 / 401.4 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3657, allocations: 3.984 kB / 401.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.366, allocations: 267 kB / 401.7 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.366, allocations: 4.109 kB / 401.7 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.3662, allocations: 34.98 kB / 401.7 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3662, allocations: 0 / 401.7 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.3662, allocations: 3.984 kB / 401.7 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3662, allocations: 4 kB / 401.7 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3662, allocations: 0 / 401.7 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.3666, allocations: 323.2 kB / 402 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.3667, allocations: 108 kB / 402.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.3668, allocations: 7.625 kB / 402.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.3669, allocations: 11.98 kB / 402.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.367, allocations: 15.36 kB / 402.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.367, allocations: 0 / 402.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.3671, allocations: 194.3 kB / 402.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3671, allocations: 0 / 402.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003814/0.3675, allocations: 104.4 kB / 402.5 MB, free: 15.41 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0002619/0.3678, allocations: 162.2 kB / 402.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003515/0.3682, allocations: 267.7 kB / 402.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3682, allocations: 0 / 402.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.401e-05/0.3683, allocations: 56.48 kB / 402.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.3686, allocations: 71.2 kB / 403 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008524/0.3695, allocations: 439.4 kB / 403.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.3699, allocations: 0.7748 MB / 404.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.3701, allocations: 50.03 kB / 404.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.3701, allocations: 26.44 kB / 404.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3701, allocations: 0 / 404.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of Templates: time 0.00669/0.3768, allocations: 3.456 MB / 407.7 MB, free: 10.19 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1)