Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.968/1.968, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004617, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2952, allocations: 47.58 MB / 326.4 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001428/0.2967, allocations: 1.068 MB / 327.5 MB, free: 0.5703 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006375/0.2974, allocations: 341.1 kB / 327.8 MB, free: 328 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.2974, allocations: 1.438 kB / 327.8 MB, free: 328 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.2975, allocations: 0 / 327.8 MB, free: 328 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.11e-05/0.2975, allocations: 7.969 kB / 327.9 MB, free: 320 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.2979, allocations: 67.97 kB / 327.9 MB, free: 272 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 5.102e-05/0.298, allocations: 16.02 kB / 327.9 MB, free: 260 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.149e-05/0.2981, allocations: 2.531 kB / 327.9 MB, free: 260 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.839e-05/0.2981, allocations: 6.016 kB / 327.9 MB, free: 256 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.866e-05/0.2981, allocations: 14.73 kB / 328 MB, free: 244 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.2981, allocations: 0.6875 kB / 328 MB, free: 244 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.2983, allocations: 54.89 kB / 328 MB, free: 220 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.2983, allocations: 7.969 kB / 328 MB, free: 212 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.2984, allocations: 28.17 kB / 328 MB, free: 180 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.2985, allocations: 61.78 kB / 328.1 MB, free: 140 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.2985, allocations: 4 kB / 328.1 MB, free: 136 kB / 254.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.2985, allocations: 0 / 328.1 MB, free: 136 kB / 254.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2985, allocations: 3.938 kB / 328.1 MB, free: 132 kB / 254.1 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.0003886/0.2989, allocations: 336 kB / 328.4 MB, free: 15.77 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.299, allocations: 8.531 kB / 328.5 MB, free: 15.77 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.299, allocations: 2.219 kB / 328.5 MB, free: 15.77 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2992, allocations: 168.2 kB / 328.6 MB, free: 15.56 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.2992, allocations: 1 kB / 328.6 MB, free: 15.56 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.2992, allocations: 2.188 kB / 328.6 MB, free: 15.56 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.75e-05/0.2993, allocations: 37.09 kB / 328.7 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2993, allocations: 3.938 kB / 328.7 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.2993, allocations: 4.984 kB / 328.7 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2993, allocations: 0 / 328.7 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.565e-05/0.2994, allocations: 6.188 kB / 328.7 MB, free: 15.51 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.2997, allocations: 241.9 kB / 328.9 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.148e-05/0.2998, allocations: 33.06 kB / 328.9 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.2998, allocations: 0 / 328.9 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.3, allocations: 56.48 kB / 329 MB, free: 15.14 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3, allocations: 0 / 329 MB, free: 15.14 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001811/0.3002, allocations: 66.02 kB / 329.1 MB, free: 15.09 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3002, allocations: 51.41 kB / 329.1 MB, free: 15.02 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/0.3003, allocations: 104.9 kB / 329.2 MB, free: 14.92 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.3003, allocations: 29.69 kB / 329.2 MB, free: 14.88 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.3004, allocations: 91.8 kB / 329.3 MB, free: 14.79 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.3004, allocations: 7.844 kB / 329.3 MB, free: 14.79 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.3004, allocations: 0 / 329.3 MB, free: 14.79 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3005, allocations: 314.8 kB / 329.6 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.3006, allocations: 3.844 kB / 329.7 MB, free: 14.47 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.3006, allocations: 24.3 kB / 329.7 MB, free: 14.45 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.734e-05/0.3006, allocations: 7.812 kB / 329.7 MB, free: 14.44 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3006, allocations: 4 kB / 329.7 MB, free: 14.44 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.746e-05/0.3007, allocations: 58.67 kB / 329.7 MB, free: 14.39 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3007, allocations: 7.469 kB / 329.8 MB, free: 14.39 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3008, allocations: 0 / 329.8 MB, free: 14.39 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3008, allocations: 0 / 329.8 MB, free: 14.39 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.3008, allocations: 14.02 kB / 329.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3009, allocations: 0 / 329.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.3009, allocations: 11 kB / 329.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.3009, allocations: 240 / 329.8 MB, free: 14.38 MB / 270.1 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 () * Number of clocked 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 7.665e-05/0.301, allocations: 112.6 kB / 329.9 MB, free: 14.26 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.301, allocations: 5.297 kB / 329.9 MB, free: 14.25 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.301, allocations: 13.2 kB / 329.9 MB, free: 14.24 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.301, allocations: 0 / 329.9 MB, free: 14.24 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.301, allocations: 0 / 329.9 MB, free: 14.24 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.301, allocations: 1.188 kB / 329.9 MB, free: 14.24 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.3013, allocations: 288.2 kB / 330.2 MB, free: 13.92 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3013, allocations: 0 / 330.2 MB, free: 13.92 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.511e-05/0.3013, allocations: 5.812 kB / 330.2 MB, free: 13.91 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3013, allocations: 12.88 kB / 330.2 MB, free: 13.9 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.3014, allocations: 1.188 kB / 330.2 MB, free: 13.9 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3014, allocations: 0 / 330.2 MB, free: 13.9 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3014, allocations: 0 / 330.2 MB, free: 13.9 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.3015, allocations: 142.8 kB / 330.3 MB, free: 13.76 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.3015, allocations: 90.3 kB / 330.4 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.3016, allocations: 1.188 kB / 330.4 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.69e-05/0.3016, allocations: 0 / 330.4 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.3016, allocations: 5.062 kB / 330.4 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.3017, allocations: 2.75 kB / 330.4 MB, free: 13.65 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.502e-05/0.3017, allocations: 91.14 kB / 330.5 MB, free: 13.57 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3017, allocations: 0 / 330.5 MB, free: 13.57 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.302, allocations: 23.28 kB / 330.6 MB, free: 13.56 MB / 270.1 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 () * Number of clocked 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.0004076/0.3024, allocations: 172.8 kB / 330.7 MB, free: 13.43 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.3025, allocations: 24.27 kB / 330.7 MB, free: 13.41 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3025, allocations: 0 / 330.7 MB, free: 13.41 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 2.531e-05/0.3026, allocations: 6.719 kB / 330.8 MB, free: 13.41 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.3027, allocations: 3.984 kB / 330.8 MB, free: 13.41 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/0.303, allocations: 129.2 kB / 330.9 MB, free: 13.27 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.3033, allocations: 0.6839 MB / 331.6 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.328e-05/0.3033, allocations: 7.422 kB / 331.6 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.3033, allocations: 9.875 kB / 331.6 MB, free: 12.56 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3033, allocations: 0 / 331.6 MB, free: 12.56 MB / 270.1 MB Notification: Performance of Templates: time 0.003606/0.3069, allocations: 0.9218 MB / 332.5 MB, free: 12.07 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) Environment - environmentSimulation: