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.001452/0.001452, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00178/0.001779, allocations: 196.7 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.1 MB / 222 MB, free: 4.781 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.001532/0.001532, allocations: 43.94 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3561, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002974/0.3592, allocations: 1.412 MB / 326.1 MB, free: 0.832 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008025/0.36, allocations: 374.4 kB / 326.5 MB, free: 0.5586 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.3601, allocations: 0 / 326.5 MB, free: 0.5586 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.779e-05/0.3601, allocations: 0 / 326.5 MB, free: 0.5586 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.917e-05/0.3602, allocations: 0 / 326.5 MB, free: 0.5586 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.3607, allocations: 71.31 kB / 326.5 MB, free: 0.5117 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 6.913e-05/0.3608, allocations: 15.23 kB / 326.5 MB, free: 0.5039 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.579e-05/0.3608, allocations: 0 / 326.5 MB, free: 0.5039 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.22e-05/0.3609, allocations: 15.77 kB / 326.6 MB, free: 0.4922 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.662e-05/0.3609, allocations: 7.422 kB / 326.6 MB, free: 500 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.3609, allocations: 0 / 326.6 MB, free: 500 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.3611, allocations: 87.05 kB / 326.6 MB, free: 448 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.3611, allocations: 5.656 kB / 326.7 MB, free: 444 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.3612, allocations: 11.89 kB / 326.7 MB, free: 436 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.3614, allocations: 81.19 kB / 326.7 MB, free: 384 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3614, allocations: 0 / 326.7 MB, free: 384 kB / 254.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3614, allocations: 1.125 kB / 326.7 MB, free: 384 kB / 254.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3614, allocations: 0 / 326.7 MB, free: 384 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.0004995/0.3619, allocations: 341.5 kB / 327.1 MB, free: 4 kB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.362, allocations: 10.03 kB / 327.1 MB, free: 4 kB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.3621, allocations: 6 kB / 327.1 MB, free: 0 / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.3622, allocations: 178.4 kB / 327.3 MB, free: 15.79 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3623, allocations: 1.438 kB / 327.3 MB, free: 15.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.3623, allocations: 1.344 kB / 327.3 MB, free: 15.79 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.3624, allocations: 30.98 kB / 327.3 MB, free: 15.76 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3625, allocations: 192 / 327.3 MB, free: 15.76 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.3625, allocations: 7.922 kB / 327.3 MB, free: 15.75 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.3625, allocations: 1.312 kB / 327.3 MB, free: 15.75 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.116e-05/0.3625, allocations: 6.656 kB / 327.3 MB, free: 15.75 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.363, allocations: 248.8 kB / 327.6 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.3631, allocations: 27.52 kB / 327.6 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.3632, allocations: 13.95 kB / 327.6 MB, free: 15.42 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.3632, allocations: 0 / 327.6 MB, free: 15.42 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.3633, allocations: 55.36 kB / 327.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3634, allocations: 7.938 kB / 327.7 MB, free: 15.35 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002181/0.3636, allocations: 58.81 kB / 327.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.3636, allocations: 51.41 kB / 327.8 MB, free: 15.24 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3637, allocations: 106 kB / 327.9 MB, free: 15.14 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3638, allocations: 25.7 kB / 327.9 MB, free: 15.11 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.3638, allocations: 81.33 kB / 328 MB, free: 15.02 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.3639, allocations: 13.81 kB / 328 MB, free: 15.01 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.3639, allocations: 22.23 kB / 328 MB, free: 14.99 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.364, allocations: 315.9 kB / 328.3 MB, free: 14.67 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.607e-05/0.3641, allocations: 4.25 kB / 328.3 MB, free: 14.67 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-05/0.3641, allocations: 22.73 kB / 328.3 MB, free: 14.65 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.65e-05/0.3642, allocations: 35.98 kB / 328.4 MB, free: 14.62 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3642, allocations: 0 / 328.4 MB, free: 14.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001144/0.3643, allocations: 57.91 kB / 328.4 MB, free: 14.57 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.3643, allocations: 5.938 kB / 328.4 MB, free: 14.57 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3644, allocations: 4 kB / 328.4 MB, free: 14.57 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.3644, allocations: 1.438 kB / 328.4 MB, free: 14.57 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.3645, allocations: 9.781 kB / 328.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3645, allocations: 1.156 kB / 328.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.3645, allocations: 8.859 kB / 328.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3645, allocations: 1.312 kB / 328.5 MB, free: 14.55 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,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.3647, allocations: 112.9 kB / 328.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.3647, allocations: 1 kB / 328.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.3647, allocations: 17.41 kB / 328.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3648, allocations: 0 / 328.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3648, allocations: 1.438 kB / 328.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3648, allocations: 0 / 328.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.3651, allocations: 293.2 kB / 328.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3651, allocations: 0 / 328.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.536e-05/0.3652, allocations: 2.094 kB / 328.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3652, allocations: 0 / 328.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3652, allocations: 1.188 kB / 328.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3652, allocations: 384 / 328.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3652, allocations: 4 kB / 328.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.3654, allocations: 151.5 kB / 329 MB, free: 13.94 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.3654, allocations: 78.14 kB / 329.1 MB, free: 13.85 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.3655, allocations: 7.984 kB / 329.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.903e-05/0.3655, allocations: 1.156 kB / 329.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.3656, allocations: 5.031 kB / 329.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.3656, allocations: 1.188 kB / 329.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.825e-05/0.3657, allocations: 88.28 kB / 329.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3657, allocations: 3.938 kB / 329.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.366, allocations: 26.3 kB / 329.2 MB, free: 13.74 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005691/0.3666, allocations: 182.2 kB / 329.4 MB, free: 13.6 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.3667, allocations: 20.73 kB / 329.4 MB, free: 13.59 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3667, allocations: 0 / 329.4 MB, free: 13.59 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 3.117e-05/0.3668, allocations: 5.594 kB / 329.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.367, allocations: 10.58 kB / 329.5 MB, free: 13.58 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.3674, allocations: 116.8 kB / 329.6 MB, free: 13.46 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.3678, allocations: 0.6819 MB / 330.3 MB, free: 12.76 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.666e-05/0.3678, allocations: 4.125 kB / 330.3 MB, free: 12.76 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.3679, allocations: 12.61 kB / 330.3 MB, free: 12.75 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3679, allocations: 0 / 330.3 MB, free: 12.75 MB / 270.1 MB Notification: Performance of Templates: time 0.00388/0.3717, allocations: 0.9387 MB / 331.2 MB, free: 12.25 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (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)