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.01046/0.01046, allocations: 100.9 kB / 15.73 MB, free: 6.035 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.001761/0.001761, allocations: 198.5 kB / 16.68 MB, free: 5.953 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.704/1.704, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.002307/0.002307, allocations: 51.48 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.144, allocations: 46.64 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.003096/0.1472, allocations: 1.309 MB / 374.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009552/0.1482, allocations: 355.9 kB / 374.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.1483, allocations: 0 / 374.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.5e-05/0.1483, allocations: 4 kB / 374.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.817e-05/0.1484, allocations: 7.938 kB / 374.8 MB, free: 15.61 MB / 318.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.0007114/0.1492, allocations: 91.64 kB / 374.9 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.326e-05/0.1493, allocations: 15.94 kB / 375 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.1493, allocations: 7.938 kB / 375 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.1494, allocations: 15.97 kB / 375 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.017e-05/0.1494, allocations: 7.938 kB / 375 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.1494, allocations: 0 / 375 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.1497, allocations: 83.91 kB / 375.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.1497, allocations: 4 kB / 375.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.1497, allocations: 7.938 kB / 375.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.15, allocations: 95.75 kB / 375.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.15, allocations: 0 / 375.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.15, allocations: 0 / 375.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.15, allocations: 0 / 375.2 MB, free: 15.29 MB / 318.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.0004907/0.1505, allocations: 347.4 kB / 375.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1506, allocations: 12.03 kB / 375.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.1506, allocations: 4.875 kB / 375.5 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.1508, allocations: 164.4 kB / 375.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1508, allocations: 4.375 kB / 375.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.1508, allocations: 8.359 kB / 375.7 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.1509, allocations: 38.25 kB / 375.7 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1509, allocations: 192 / 375.7 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1509, allocations: 3.938 kB / 375.7 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.151, allocations: 0 / 375.7 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.193e-05/0.151, allocations: 7.938 kB / 375.7 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.1514, allocations: 241 kB / 376 MB, free: 14.33 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.682e-05/0.1515, allocations: 26.56 kB / 376 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.1515, allocations: 16.86 kB / 376 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.1515, allocations: 4 kB / 376 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.1517, allocations: 51.34 kB / 376.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.1517, allocations: 0 / 376.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002007/0.1519, allocations: 57.59 kB / 376.1 MB, free: 14.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.152, allocations: 55.39 kB / 376.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.1521, allocations: 105.9 kB / 376.3 MB, free: 13.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1521, allocations: 25.7 kB / 376.3 MB, free: 13.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.1521, allocations: 88.12 kB / 376.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.1522, allocations: 7.906 kB / 376.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.1522, allocations: 17.72 kB / 376.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1523, allocations: 310.8 kB / 376.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.1524, allocations: 11.98 kB / 376.7 MB, free: 13.49 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.1524, allocations: 25.66 kB / 376.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.172e-05/0.1525, allocations: 29.66 kB / 376.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1525, allocations: 0 / 376.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001007/0.1526, allocations: 61.56 kB / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1526, allocations: 11.98 kB / 376.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1526, allocations: 0 / 376.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1526, allocations: 3.938 kB / 376.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.1527, allocations: 4 kB / 376.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1527, allocations: 8.031 kB / 376.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.1528, allocations: 3.906 kB / 376.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1528, allocations: 0 / 376.9 MB, free: 13.33 MB / 318.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 7.907e-05/0.1529, allocations: 117.8 kB / 377 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.1529, allocations: 0 / 377 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.1529, allocations: 11.89 kB / 377 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1529, allocations: 0 / 377 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1529, allocations: 0 / 377 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1529, allocations: 0 / 377 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.1532, allocations: 291.1 kB / 377.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1532, allocations: 4.047 kB / 377.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.1532, allocations: 7.984 kB / 377.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1533, allocations: 0 / 377.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1533, allocations: 4 kB / 377.3 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1533, allocations: 3.984 kB / 377.3 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1533, allocations: 4 kB / 377.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.1534, allocations: 143.4 kB / 377.5 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.1535, allocations: 92.95 kB / 377.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.1535, allocations: 0 / 377.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.538e-05/0.1535, allocations: 0 / 377.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.1536, allocations: 4 kB / 377.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1536, allocations: 7.984 kB / 377.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.425e-05/0.1536, allocations: 79.28 kB / 377.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1536, allocations: 0 / 377.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.1539, allocations: 28 kB / 377.7 MB, free: 12.44 MB / 318.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.0004233/0.1544, allocations: 182.6 kB / 377.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.1545, allocations: 19.98 kB / 377.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1545, allocations: 0 / 377.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.845e-05/0.1545, allocations: 20 kB / 377.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.1547, allocations: 3.984 kB / 377.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.1551, allocations: 117.4 kB / 378 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.1553, allocations: 0.6729 MB / 378.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.623e-05/0.1554, allocations: 8.172 kB / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.1554, allocations: 11.44 kB / 378.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1554, allocations: 0 / 378.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of Templates: time 0.003657/0.1591, allocations: 0.9568 MB / 379.7 MB, free: 10.39 MB / 318.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)