Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0009775/0.0009779, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009697/0.009697, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.851/1.851, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0005747/0.0005747, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3577, allocations: 47.57 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001529/0.3593, allocations: 1.08 MB / 328.1 MB, free: 0.5391 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008609/0.3602, allocations: 366.4 kB / 328.5 MB, free: 276 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.3602, allocations: 0 / 328.5 MB, free: 276 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 1.265e-05/0.3603, allocations: 0 / 328.5 MB, free: 276 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 5.507e-05/0.3603, allocations: 1.156 kB / 328.5 MB, free: 276 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.3608, allocations: 74.27 kB / 328.5 MB, free: 224 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 5.286e-05/0.3609, allocations: 17.58 kB / 328.5 MB, free: 212 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.3609, allocations: 2.406 kB / 328.6 MB, free: 212 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.561e-05/0.3609, allocations: 2.719 kB / 328.6 MB, free: 212 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.32e-05/0.361, allocations: 6.469 kB / 328.6 MB, free: 208 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.361, allocations: 1.312 kB / 328.6 MB, free: 208 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.3612, allocations: 87.56 kB / 328.6 MB, free: 156 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.3612, allocations: 5.203 kB / 328.7 MB, free: 152 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.3613, allocations: 37.45 kB / 328.7 MB, free: 112 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.3615, allocations: 77.62 kB / 328.8 MB, free: 64 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3615, allocations: 5.312 kB / 328.8 MB, free: 60 kB / 254.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.3615, allocations: 0 / 328.8 MB, free: 60 kB / 254.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.3615, allocations: 0 / 328.8 MB, free: 60 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.0005394/0.3621, allocations: 343.1 kB / 329.1 MB, free: 15.68 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.3621, allocations: 9.781 kB / 329.1 MB, free: 15.68 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.3622, allocations: 2.375 kB / 329.1 MB, free: 15.68 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.3623, allocations: 165.9 kB / 329.3 MB, free: 15.48 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.3623, allocations: 5.859 kB / 329.3 MB, free: 15.48 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.3624, allocations: 9.781 kB / 329.3 MB, free: 15.47 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.3625, allocations: 33.2 kB / 329.3 MB, free: 15.44 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3625, allocations: 1.625 kB / 329.3 MB, free: 15.44 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3625, allocations: 3.938 kB / 329.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3625, allocations: 0 / 329.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.058e-05/0.3626, allocations: 10.5 kB / 329.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.363, allocations: 245.7 kB / 329.6 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.961e-05/0.3631, allocations: 36.28 kB / 329.6 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.3631, allocations: 13.52 kB / 329.6 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.3632, allocations: 0 / 329.6 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.3633, allocations: 50.62 kB / 329.7 MB, free: 15.04 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3634, allocations: 1.375 kB / 329.7 MB, free: 15.04 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002366/0.3636, allocations: 57.98 kB / 329.7 MB, free: 14.99 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.3637, allocations: 51.41 kB / 329.8 MB, free: 14.93 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.3638, allocations: 117.7 kB / 329.9 MB, free: 14.81 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.3638, allocations: 30.64 kB / 329.9 MB, free: 14.78 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.3639, allocations: 81.11 kB / 330 MB, free: 14.7 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.3639, allocations: 9.281 kB / 330 MB, free: 14.69 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.364, allocations: 15.19 kB / 330 MB, free: 14.67 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3641, allocations: 312.2 kB / 330.3 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.778e-05/0.3642, allocations: 11.95 kB / 330.4 MB, free: 14.35 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-05/0.3642, allocations: 19.06 kB / 330.4 MB, free: 14.33 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.981e-05/0.3643, allocations: 31.06 kB / 330.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3643, allocations: 1.531 kB / 330.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001082/0.3644, allocations: 57.31 kB / 330.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3644, allocations: 9.859 kB / 330.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3645, allocations: 0 / 330.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3645, allocations: 1 kB / 330.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.024e-05/0.3646, allocations: 8.344 kB / 330.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3646, allocations: 3.938 kB / 330.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.004e-05/0.3646, allocations: 7.938 kB / 330.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3646, allocations: 2.344 kB / 330.5 MB, free: 14.24 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.0001/0.3647, allocations: 116 kB / 330.6 MB, free: 14.12 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/0.3647, allocations: 1.219 kB / 330.6 MB, free: 14.12 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.3648, allocations: 9.297 kB / 330.6 MB, free: 14.11 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3648, allocations: 0 / 330.6 MB, free: 14.11 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3648, allocations: 0.9062 kB / 330.6 MB, free: 14.11 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3648, allocations: 0 / 330.6 MB, free: 14.11 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.3651, allocations: 285 kB / 330.9 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3651, allocations: 0 / 330.9 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/0.3651, allocations: 6.219 kB / 330.9 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3651, allocations: 384 / 330.9 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3652, allocations: 0.9688 kB / 330.9 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.3652, allocations: 9.047 kB / 330.9 MB, free: 13.78 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3652, allocations: 0 / 330.9 MB, free: 13.78 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.3653, allocations: 151.5 kB / 331.1 MB, free: 13.63 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.3654, allocations: 90.08 kB / 331.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.3654, allocations: 0 / 331.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.239e-05/0.3655, allocations: 1 kB / 331.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.3655, allocations: 0.9375 kB / 331.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.3655, allocations: 9.828 kB / 331.2 MB, free: 13.52 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.571e-05/0.3656, allocations: 80.81 kB / 331.2 MB, free: 13.44 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3656, allocations: 0 / 331.2 MB, free: 13.44 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.3659, allocations: 29.62 kB / 331.3 MB, free: 13.43 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.0004614/0.3663, allocations: 185 kB / 331.4 MB, free: 13.28 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.3665, allocations: 20.95 kB / 331.5 MB, free: 13.27 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3665, allocations: 0 / 331.5 MB, free: 13.27 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 2.945e-05/0.3665, allocations: 11 kB / 331.5 MB, free: 13.27 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.3667, allocations: 9.516 kB / 331.5 MB, free: 13.26 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.3671, allocations: 117.4 kB / 331.6 MB, free: 13.14 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.3674, allocations: 0.6786 MB / 332.3 MB, free: 12.44 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.891e-05/0.3675, allocations: 11.42 kB / 332.3 MB, free: 12.43 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.3675, allocations: 9.5 kB / 332.3 MB, free: 12.42 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3675, allocations: 0 / 332.3 MB, free: 12.42 MB / 270.1 MB Notification: Performance of Templates: time 0.00429/0.3718, allocations: 0.9272 MB / 333.2 MB, free: 11.93 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1)