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.00109/0.001089, 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.001305/0.001305, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.703/1.703, allocations: 205.1 MB / 222 MB, free: 4.953 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.001208/0.001208, allocations: 47.94 kB / 278 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3178, allocations: 46.63 MB / 324.7 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.003328/0.3212, allocations: 1.42 MB / 326.1 MB, free: 0.7109 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009322/0.3221, allocations: 361.7 kB / 326.4 MB, free: 460 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.319e-05/0.3222, allocations: 0 / 326.4 MB, free: 460 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.883e-05/0.3222, allocations: 3.938 kB / 326.5 MB, free: 456 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.3223, allocations: 5.359 kB / 326.5 MB, free: 452 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.3228, allocations: 66.06 kB / 326.5 MB, free: 408 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 6.251e-05/0.3228, allocations: 17.86 kB / 326.5 MB, free: 396 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.3229, allocations: 2.469 kB / 326.5 MB, free: 396 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.834e-05/0.3229, allocations: 6.656 kB / 326.5 MB, free: 392 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.884e-05/0.323, allocations: 18.59 kB / 326.6 MB, free: 376 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.323, allocations: 1.312 kB / 326.6 MB, free: 376 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.3232, allocations: 80.05 kB / 326.6 MB, free: 332 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.3232, allocations: 4.719 kB / 326.6 MB, free: 328 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.3233, allocations: 14.42 kB / 326.7 MB, free: 316 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3235, allocations: 83.22 kB / 326.7 MB, free: 264 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3235, allocations: 0 / 326.7 MB, free: 264 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3235, allocations: 0 / 326.7 MB, free: 264 kB / 254.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3235, allocations: 1.094 kB / 326.7 MB, free: 264 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.0006003/0.3241, allocations: 341.9 kB / 327.1 MB, free: 15.89 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.3242, allocations: 12.91 kB / 327.1 MB, free: 15.88 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.3242, allocations: 2.062 kB / 327.1 MB, free: 15.88 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.3244, allocations: 170.5 kB / 327.3 MB, free: 15.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3244, allocations: 1.688 kB / 327.3 MB, free: 15.68 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.3245, allocations: 1.469 kB / 327.3 MB, free: 15.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.3246, allocations: 33.89 kB / 327.3 MB, free: 15.64 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3246, allocations: 5.156 kB / 327.3 MB, free: 15.64 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3247, allocations: 7.875 kB / 327.3 MB, free: 15.63 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.3247, allocations: 5.047 kB / 327.3 MB, free: 15.63 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.061e-05/0.3247, allocations: 10.23 kB / 327.3 MB, free: 15.62 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.3252, allocations: 244.8 kB / 327.6 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.9e-05/0.3253, allocations: 20.3 kB / 327.6 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.3254, allocations: 17.36 kB / 327.6 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.3254, allocations: 1.281 kB / 327.6 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.3257, allocations: 62.45 kB / 327.7 MB, free: 15.23 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3257, allocations: 0 / 327.7 MB, free: 15.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002315/0.3259, allocations: 50.34 kB / 327.7 MB, free: 15.2 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.326, allocations: 52.5 kB / 327.8 MB, free: 15.13 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3261, allocations: 110 kB / 327.9 MB, free: 15.02 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3261, allocations: 29.7 kB / 327.9 MB, free: 14.99 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.3262, allocations: 85.23 kB / 328 MB, free: 14.9 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.3262, allocations: 8.969 kB / 328 MB, free: 14.89 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.3262, allocations: 22.09 kB / 328 MB, free: 14.87 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3264, allocations: 319.9 kB / 328.3 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.3264, allocations: 4.875 kB / 328.3 MB, free: 14.55 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.745e-05/0.3265, allocations: 20.91 kB / 328.4 MB, free: 14.53 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.938e-05/0.3265, allocations: 26.39 kB / 328.4 MB, free: 14.51 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3265, allocations: 0 / 328.4 MB, free: 14.51 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001004/0.3266, allocations: 69.69 kB / 328.4 MB, free: 14.45 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3266, allocations: 7.094 kB / 328.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.3267, allocations: 0 / 328.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3267, allocations: 0 / 328.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.3267, allocations: 7.094 kB / 328.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3268, allocations: 0 / 328.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.3268, allocations: 3.656 kB / 328.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3268, allocations: 3.984 kB / 328.5 MB, free: 14.45 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 9.527e-05/0.3269, allocations: 121.6 kB / 328.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.3269, allocations: 4.031 kB / 328.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.327, allocations: 3.906 kB / 328.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.327, allocations: 7.5 kB / 328.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.327, allocations: 0 / 328.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.327, allocations: 0 / 328.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.3272, allocations: 288.5 kB / 328.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3273, allocations: 0 / 328.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.141e-05/0.3273, allocations: 0 / 328.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3273, allocations: 6.312 kB / 328.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.3273, allocations: 4 kB / 328.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3273, allocations: 0 / 328.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3273, allocations: 0 / 328.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.3274, allocations: 156.1 kB / 329 MB, free: 13.82 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.3275, allocations: 77.11 kB / 329.1 MB, free: 13.73 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.3275, allocations: 11.86 kB / 329.1 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.566e-05/0.3276, allocations: 0 / 329.1 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.3276, allocations: 4 kB / 329.1 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.3276, allocations: 5 kB / 329.1 MB, free: 13.71 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.472e-05/0.3277, allocations: 79.62 kB / 329.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3277, allocations: 0 / 329.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.328, allocations: 30.55 kB / 329.2 MB, free: 13.63 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.000477/0.3284, allocations: 177.7 kB / 329.4 MB, free: 13.49 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.3286, allocations: 25.19 kB / 329.4 MB, free: 13.48 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3286, allocations: 0 / 329.4 MB, free: 13.48 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 3.26e-05/0.3286, allocations: 13.58 kB / 329.5 MB, free: 13.47 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.3288, allocations: 1.469 kB / 329.5 MB, free: 13.47 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.3291, allocations: 117.8 kB / 329.6 MB, free: 13.35 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.3295, allocations: 0.6774 MB / 330.3 MB, free: 12.65 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.626e-05/0.3295, allocations: 3.969 kB / 330.3 MB, free: 12.65 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.3295, allocations: 13.55 kB / 330.3 MB, free: 12.64 MB / 270.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3295, allocations: 0 / 330.3 MB, free: 12.64 MB / 270.1 MB Notification: Performance of Templates: time 0.003734/0.3333, allocations: 0.942 MB / 331.2 MB, free: 12.13 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)