Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.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) 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(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001655/0.001656, allocations: 190.7 kB / 8.136 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.269/1.269, allocations: 194.2 MB / 202.8 MB, free: 8.664 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.001732/0.001732, allocations: 122.1 kB / 247.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.136e-05/1.165e-05, allocations: 8 kB / 297.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08273/0.08276, allocations: 44.48 MB / 342 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2363/0.3191, allocations: 84.1 MB / 426.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.3194, allocations: 65.86 kB / 426.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02505/0.3444, allocations: 9.481 MB / 435.7 MB, free: 3.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.251e-05/0.3445, allocations: 12 kB / 435.7 MB, free: 3.441 MB / 314.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.000714/0.3452, allocations: 0.5193 MB / 436.2 MB, free: 2.891 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3453, allocations: 8.781 kB / 436.2 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.963e-05/0.3454, allocations: 35.61 kB / 436.3 MB, free: 2.848 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.3458, allocations: 347.8 kB / 436.6 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3459, allocations: 4 kB / 436.6 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.3459, allocations: 8 kB / 436.6 MB, free: 2.488 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001491/0.3461, allocations: 78.69 kB / 436.7 MB, free: 2.434 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.3463, allocations: 205.5 kB / 436.9 MB, free: 2.215 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3463, allocations: 0 / 436.9 MB, free: 2.215 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.3463, allocations: 7.844 kB / 436.9 MB, free: 2.211 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3463, allocations: 4 kB / 436.9 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.347, allocations: 471.4 kB / 437.4 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.3472, allocations: 158.7 kB / 437.5 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.87e-05/0.3473, allocations: 51.34 kB / 437.6 MB, free: 1.602 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.3473, allocations: 0 / 437.6 MB, free: 1.602 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.3473, allocations: 42.44 kB / 437.6 MB, free: 1.555 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.3473, allocations: 0 / 437.6 MB, free: 1.555 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.000266/0.3476, allocations: 157.6 kB / 437.8 MB, free: 1.418 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.3477, allocations: 286.7 kB / 438 MB, free: 1.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.3479, allocations: 232.3 kB / 438.3 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3479, allocations: 25.7 kB / 438.3 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.3479, allocations: 123.2 kB / 438.4 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.348, allocations: 42.05 kB / 438.5 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/0.348, allocations: 0 / 438.5 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.416e-05/0.348, allocations: 345 kB / 438.8 MB, free: 372 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.3482, allocations: 97.2 kB / 438.9 MB, free: 300 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.3484, allocations: 160.9 kB / 439 MB, free: 144 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.3486, allocations: 122.1 kB / 439.2 MB, free: 52 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3486, allocations: 7.938 kB / 439.2 MB, free: 44 kB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004825/0.3491, allocations: 267.9 kB / 439.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3491, allocations: 8 kB / 439.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.3492, allocations: 7.984 kB / 439.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3492, allocations: 3.906 kB / 439.5 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.3495, allocations: 51.41 kB / 439.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3495, allocations: 0 / 439.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.3496, allocations: 23.77 kB / 439.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.3497, allocations: 23.28 kB / 439.5 MB, free: 15.71 MB / 330.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 8.649e-05/0.3498, allocations: 108.8 kB / 439.7 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.3498, allocations: 23.72 kB / 439.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.3499, allocations: 27.47 kB / 439.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3499, allocations: 7.906 kB / 439.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3499, allocations: 0 / 439.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3499, allocations: 0.8125 kB / 439.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.3502, allocations: 228.6 kB / 439.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3502, allocations: 3.906 kB / 439.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.3504, allocations: 31.92 kB / 440 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.3504, allocations: 3.984 kB / 440 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.3504, allocations: 12.73 kB / 440 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3504, allocations: 0 / 440 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3504, allocations: 0 / 440 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003468/0.3508, allocations: 310.2 kB / 440.3 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.3509, allocations: 104.7 kB / 440.4 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.3509, allocations: 15.48 kB / 440.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.3511, allocations: 6.875 kB / 440.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.3511, allocations: 7.984 kB / 440.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.3512, allocations: 3.938 kB / 440.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001582/0.3513, allocations: 181.3 kB / 440.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000377/0.3517, allocations: 80.05 kB / 440.7 MB, free: 14.62 MB / 330.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.000276/0.352, allocations: 155.6 kB / 440.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003775/0.3524, allocations: 275.7 kB / 441.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3524, allocations: 0 / 441.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.707e-05/0.3525, allocations: 64.16 kB / 441.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.3529, allocations: 63.28 kB / 441.2 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008869/0.3538, allocations: 424.6 kB / 441.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.3542, allocations: 0.8056 MB / 442.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of SimCode: time 3e-07/0.3542, allocations: 0 / 442.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of Templates: time 0.007181/0.3614, allocations: 3.457 MB / 445.9 MB, free: 9.516 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1)