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.001322/0.001322, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.721/1.721, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.001664/0.001665, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3385, allocations: 46.64 MB / 325.3 MB, free: 2.066 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.003259/0.3418, allocations: 1.331 MB / 326.6 MB, free: 1.012 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009599/0.3428, allocations: 352.5 kB / 327 MB, free: 0.75 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.3429, allocations: 4 kB / 327 MB, free: 0.7461 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.566e-05/0.3429, allocations: 5.125 kB / 327 MB, free: 0.7422 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 7.85e-05/0.343, allocations: 0 / 327 MB, free: 0.7422 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:994:5-1084:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.3436, allocations: 89.52 kB / 327.1 MB, free: 0.6797 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 7.78e-05/0.3437, allocations: 19.27 kB / 327.1 MB, free: 0.668 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.463e-05/0.3438, allocations: 2.562 kB / 327.1 MB, free: 0.668 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.141e-05/0.3438, allocations: 2.094 kB / 327.1 MB, free: 0.668 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.818e-05/0.3438, allocations: 19.19 kB / 327.1 MB, free: 0.6523 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.3439, allocations: 1.406 kB / 327.1 MB, free: 0.6523 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.3441, allocations: 81.92 kB / 327.2 MB, free: 0.6094 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.3441, allocations: 1.281 kB / 327.2 MB, free: 0.6094 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.3441, allocations: 18.05 kB / 327.2 MB, free: 0.5938 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.3443, allocations: 92.06 kB / 327.3 MB, free: 0.5352 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3443, allocations: 0 / 327.3 MB, free: 0.5352 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3443, allocations: 0 / 327.3 MB, free: 0.5352 MB / 254.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.3444, allocations: 1.344 kB / 327.3 MB, free: 0.5352 MB / 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.000357/0.3447, allocations: 349.9 kB / 327.7 MB, free: 160 kB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3448, allocations: 8.906 kB / 327.7 MB, free: 160 kB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.3448, allocations: 3.125 kB / 327.7 MB, free: 160 kB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.345, allocations: 169.8 kB / 327.8 MB, free: 15.95 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.345, allocations: 4.375 kB / 327.8 MB, free: 15.95 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.345, allocations: 1.875 kB / 327.8 MB, free: 15.95 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.3451, allocations: 38.53 kB / 327.9 MB, free: 15.91 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3451, allocations: 192 / 327.9 MB, free: 15.91 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3452, allocations: 5.438 kB / 327.9 MB, free: 15.91 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3452, allocations: 0 / 327.9 MB, free: 15.91 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.459e-05/0.3452, allocations: 6.906 kB / 327.9 MB, free: 15.9 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.3456, allocations: 236.8 kB / 328.1 MB, free: 15.63 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.208e-05/0.3456, allocations: 27.95 kB / 328.1 MB, free: 15.6 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.3457, allocations: 17.17 kB / 328.2 MB, free: 15.58 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.3457, allocations: 1.562 kB / 328.2 MB, free: 15.58 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.3458, allocations: 54.48 kB / 328.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3458, allocations: 0 / 328.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001769/0.346, allocations: 58.09 kB / 328.3 MB, free: 15.48 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.3461, allocations: 52.62 kB / 328.3 MB, free: 15.41 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/0.3462, allocations: 113.7 kB / 328.4 MB, free: 15.3 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3462, allocations: 25.7 kB / 328.5 MB, free: 15.27 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.3462, allocations: 85.33 kB / 328.5 MB, free: 15.18 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.3463, allocations: 9 kB / 328.6 MB, free: 15.18 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.3463, allocations: 22.8 kB / 328.6 MB, free: 15.15 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002424/0.3466, allocations: 316.2 kB / 328.9 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.3466, allocations: 12.06 kB / 328.9 MB, free: 14.83 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.195e-05/0.3466, allocations: 19.08 kB / 328.9 MB, free: 14.81 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.024e-05/0.3467, allocations: 27.72 kB / 328.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3467, allocations: 0 / 328.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002372/0.3469, allocations: 66.08 kB / 329 MB, free: 14.73 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.347, allocations: 5.781 kB / 329 MB, free: 14.73 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.347, allocations: 0 / 329 MB, free: 14.73 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.347, allocations: 5.656 kB / 329 MB, free: 14.73 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.3471, allocations: 10.47 kB / 329 MB, free: 14.72 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3471, allocations: 3.984 kB / 329 MB, free: 14.72 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.3471, allocations: 5.406 kB / 329 MB, free: 14.71 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3471, allocations: 1.406 kB / 329 MB, free: 14.71 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.492e-05/0.3472, allocations: 120.3 kB / 329.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.3473, allocations: 1.594 kB / 329.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.3473, allocations: 9.281 kB / 329.2 MB, free: 14.58 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.3473, allocations: 0 / 329.2 MB, free: 14.58 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3473, allocations: 5.469 kB / 329.2 MB, free: 14.57 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.3473, allocations: 0 / 329.2 MB, free: 14.57 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.3477, allocations: 284.4 kB / 329.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3477, allocations: 0 / 329.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.26e-05/0.3477, allocations: 2.062 kB / 329.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3477, allocations: 1.219 kB / 329.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.3477, allocations: 0 / 329.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.3477, allocations: 1.156 kB / 329.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3477, allocations: 7.875 kB / 329.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.3479, allocations: 155.4 kB / 329.6 MB, free: 14.1 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.348, allocations: 81.09 kB / 329.7 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.3481, allocations: 1.312 kB / 329.7 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.059e-05/0.3481, allocations: 0 / 329.7 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.3481, allocations: 2.125 kB / 329.7 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.3481, allocations: 1 kB / 329.7 MB, free: 14 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.853e-05/0.3482, allocations: 84.03 kB / 329.8 MB, free: 13.92 MB / 270.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3482, allocations: 0 / 329.8 MB, free: 13.92 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.3485, allocations: 31.02 kB / 329.8 MB, free: 13.91 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.000464/0.349, allocations: 178.4 kB / 330 MB, free: 13.77 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.3491, allocations: 30.2 kB / 330 MB, free: 13.75 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3491, allocations: 0 / 330 MB, free: 13.75 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 2.682e-05/0.3491, allocations: 5.531 kB / 330 MB, free: 13.75 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.3494, allocations: 5.156 kB / 330 MB, free: 13.75 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.3497, allocations: 106.8 kB / 330.1 MB, free: 13.64 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.35, allocations: 0.6785 MB / 330.8 MB, free: 12.94 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.254e-05/0.35, allocations: 11.02 kB / 330.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.35, allocations: 13.5 kB / 330.8 MB, free: 12.92 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.35, allocations: 0 / 330.8 MB, free: 12.92 MB / 270.1 MB Notification: Performance of Templates: time 0.004289/0.3543, allocations: 0.9523 MB / 331.8 MB, free: 12.41 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)