Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") [: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.001137/0.001137, allocations: 188.8 kB / 8.132 MB, free: 2.199 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.214/1.214, allocations: 194.2 MB / 202.8 MB, free: 8.684 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.001673/0.001673, allocations: 122.7 kB / 247.8 MB, free: 6.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.265e-05/1.3e-05, allocations: 4 kB / 297.6 MB, free: 8.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08661/0.08665, allocations: 44.49 MB / 342 MB, free: 11.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.208/0.2947, allocations: 70.25 MB / 412.3 MB, free: 25.14 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.295, allocations: 70.97 kB / 412.4 MB, free: 25.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.004679/0.2997, allocations: 1.666 MB / 414 MB, free: 23.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.2997, allocations: 0 / 414 MB, free: 23.75 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002207/0.2999, allocations: 344.6 kB / 414.4 MB, free: 23.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.3, allocations: 10 kB / 414.4 MB, free: 23.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.3, allocations: 3.906 kB / 414.4 MB, free: 23.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.182e-05/0.3001, allocations: 165.6 kB / 414.5 MB, free: 23.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3001, allocations: 0 / 414.5 MB, free: 23.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.3001, allocations: 5.25 kB / 414.6 MB, free: 23.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.825e-05/0.3002, allocations: 7.469 kB / 414.6 MB, free: 23.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.513e-05/0.3002, allocations: 38.88 kB / 414.6 MB, free: 23.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.3003, allocations: 0 / 414.6 MB, free: 23.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.3003, allocations: 3.906 kB / 414.6 MB, free: 23.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3003, allocations: 0.5 kB / 414.6 MB, free: 23.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.3005, allocations: 213 kB / 414.8 MB, free: 22.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.883e-05/0.3005, allocations: 31.91 kB / 414.8 MB, free: 22.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.3005, allocations: 8.922 kB / 414.8 MB, free: 22.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.3005, allocations: 2.531 kB / 414.9 MB, free: 22.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.3006, allocations: 52.05 kB / 414.9 MB, free: 22.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3006, allocations: 0 / 414.9 MB, free: 22.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001207/0.3007, allocations: 45.38 kB / 414.9 MB, free: 22.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/0.3008, allocations: 51.41 kB / 415 MB, free: 22.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.602e-05/0.3008, allocations: 107.9 kB / 415.1 MB, free: 22.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.3008, allocations: 29.7 kB / 415.1 MB, free: 22.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.399e-05/0.3008, allocations: 80.14 kB / 415.2 MB, free: 22.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.3009, allocations: 3.906 kB / 415.2 MB, free: 22.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.3009, allocations: 0 / 415.2 MB, free: 22.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.786e-05/0.3009, allocations: 326.2 kB / 415.5 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/0.3009, allocations: 0 / 415.5 MB, free: 22.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.301, allocations: 21.09 kB / 415.6 MB, free: 22.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.751e-05/0.301, allocations: 11.56 kB / 415.6 MB, free: 22.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.301, allocations: 3.938 kB / 415.6 MB, free: 22.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.507e-05/0.3011, allocations: 49.19 kB / 415.6 MB, free: 22.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.567e-06/0.3011, allocations: 4 kB / 415.6 MB, free: 22.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3011, allocations: 0 / 415.6 MB, free: 22.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3011, allocations: 0 / 415.6 MB, free: 22.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.445e-05/0.3012, allocations: 11.98 kB / 415.6 MB, free: 22.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3012, allocations: 0 / 415.6 MB, free: 22.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.3012, allocations: 7.844 kB / 415.6 MB, free: 22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3013, allocations: 4 kB / 415.6 MB, free: 22 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.027e-05/0.3013, allocations: 116.7 kB / 415.8 MB, free: 21.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.3013, allocations: 7.906 kB / 415.8 MB, free: 21.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.3013, allocations: 7.375 kB / 415.8 MB, free: 21.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3014, allocations: 0 / 415.8 MB, free: 21.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3014, allocations: 2.25 kB / 415.8 MB, free: 21.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3014, allocations: 3.984 kB / 415.8 MB, free: 21.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.3015, allocations: 260.6 kB / 416 MB, free: 21.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3015, allocations: 3.906 kB / 416 MB, free: 21.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.261e-05/0.3015, allocations: 4 kB / 416 MB, free: 21.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3015, allocations: 4 kB / 416 MB, free: 21.56 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.3016, allocations: 0 / 416 MB, free: 21.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3016, allocations: 0 / 416 MB, free: 21.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3016, allocations: 0 / 416 MB, free: 21.56 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.557e-05/0.3016, allocations: 143 kB / 416.2 MB, free: 21.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.3017, allocations: 77.11 kB / 416.3 MB, free: 21.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.3017, allocations: 0 / 416.3 MB, free: 21.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.932e-05/0.3017, allocations: 4 kB / 416.3 MB, free: 21.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.3018, allocations: 7.984 kB / 416.3 MB, free: 21.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.3018, allocations: 6.531 kB / 416.3 MB, free: 21.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.236e-05/0.3018, allocations: 84.72 kB / 416.4 MB, free: 21.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002962/0.3021, allocations: 35.69 kB / 416.4 MB, free: 21.19 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0003274/0.3024, allocations: 177.4 kB / 416.6 MB, free: 21.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.421e-05/0.3025, allocations: 19.81 kB / 416.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3025, allocations: 0 / 416.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.3025, allocations: 4.188 kB / 416.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.3027, allocations: 7.875 kB / 416.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000158/0.3028, allocations: 65.47 kB / 416.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.55e-05/0.3029, allocations: 0.6876 MB / 417.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3029, allocations: 0 / 417.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of Templates: time 0.002869/0.3058, allocations: 1.14 MB / 418.5 MB, free: 19.1 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1)