Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001238/0.001238, allocations: 111.7 kB / 16.51 MB, free: 6.707 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.001181/0.001182, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.774/1.774, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.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.00128/0.00128, allocations: 51.92 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1322, allocations: 46.63 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002637/0.1349, allocations: 1.404 MB / 327.4 MB, free: 3.465 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008126/0.1357, allocations: 368.3 kB / 327.7 MB, free: 3.102 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.1357, allocations: 4 kB / 327.7 MB, free: 3.098 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.1358, allocations: 4 kB / 327.7 MB, free: 3.094 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.436e-05/0.1359, allocations: 0 / 327.7 MB, free: 3.094 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.1363, allocations: 71.8 kB / 327.8 MB, free: 3.023 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.091e-05/0.1363, allocations: 15.98 kB / 327.8 MB, free: 3.008 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.1364, allocations: 0 / 327.8 MB, free: 3.008 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.386e-05/0.1364, allocations: 7.938 kB / 327.8 MB, free: 3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.923e-05/0.1365, allocations: 15.92 kB / 327.8 MB, free: 2.984 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1365, allocations: 0 / 327.8 MB, free: 2.984 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.1366, allocations: 79.86 kB / 327.9 MB, free: 2.906 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.1367, allocations: 3.984 kB / 327.9 MB, free: 2.902 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.1367, allocations: 19.92 kB / 327.9 MB, free: 2.883 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.1369, allocations: 79.83 kB / 328 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1369, allocations: 0 / 328 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1369, allocations: 0 / 328 MB, free: 2.805 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1369, allocations: 0 / 328 MB, free: 2.805 MB / 270.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.0004449/0.1374, allocations: 339.8 kB / 328.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1374, allocations: 12.03 kB / 328.4 MB, free: 2.41 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.1375, allocations: 0.9375 kB / 328.4 MB, free: 2.41 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.1376, allocations: 180.1 kB / 328.5 MB, free: 2.195 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1376, allocations: 8.375 kB / 328.5 MB, free: 2.188 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.1377, allocations: 4.375 kB / 328.5 MB, free: 2.184 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.083e-05/0.1377, allocations: 34.25 kB / 328.6 MB, free: 2.145 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1378, allocations: 192 / 328.6 MB, free: 2.145 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1378, allocations: 3.938 kB / 328.6 MB, free: 2.141 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1378, allocations: 3.938 kB / 328.6 MB, free: 2.137 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.192e-05/0.1378, allocations: 4 kB / 328.6 MB, free: 2.133 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.1382, allocations: 245 kB / 328.8 MB, free: 1.844 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.182e-05/0.1382, allocations: 26.52 kB / 328.9 MB, free: 1.809 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.57e-05/0.1383, allocations: 24.8 kB / 328.9 MB, free: 1.781 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-06/0.1383, allocations: 0 / 328.9 MB, free: 1.781 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.1384, allocations: 55.39 kB / 328.9 MB, free: 1.715 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.1384, allocations: 0 / 328.9 MB, free: 1.715 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001762/0.1386, allocations: 53.62 kB / 329 MB, free: 1.656 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.1387, allocations: 55.41 kB / 329 MB, free: 1.59 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.1388, allocations: 109.8 kB / 329.2 MB, free: 1.473 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1388, allocations: 25.7 kB / 329.2 MB, free: 1.441 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1389, allocations: 80.14 kB / 329.3 MB, free: 1.359 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.1389, allocations: 7.906 kB / 329.3 MB, free: 1.352 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.139, allocations: 21.7 kB / 329.3 MB, free: 1.324 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1391, allocations: 314.8 kB / 329.6 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.434e-05/0.1391, allocations: 8 kB / 329.6 MB, free: 1 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.1392, allocations: 25.7 kB / 329.6 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.614e-05/0.1392, allocations: 29.84 kB / 329.7 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1392, allocations: 0 / 329.7 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001163/0.1394, allocations: 65.52 kB / 329.7 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1394, allocations: 8 kB / 329.7 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1394, allocations: 0 / 329.7 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1394, allocations: 0 / 329.7 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.1395, allocations: 11.97 kB / 329.7 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1395, allocations: 7.984 kB / 329.7 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.1395, allocations: 0 / 329.7 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.1395, allocations: 0 / 329.7 MB, free: 0.8359 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 8.16e-05/0.1396, allocations: 121.7 kB / 329.9 MB, free: 0.707 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-06/0.1396, allocations: 0 / 329.9 MB, free: 0.707 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.403e-05/0.1397, allocations: 7.906 kB / 329.9 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1397, allocations: 0 / 329.9 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1397, allocations: 0 / 329.9 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1397, allocations: 4 kB / 329.9 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.1399, allocations: 294.5 kB / 330.2 MB, free: 356 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1399, allocations: 0 / 330.2 MB, free: 356 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-05/0.14, allocations: 0 / 330.2 MB, free: 356 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.14, allocations: 0 / 330.2 MB, free: 356 kB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.14, allocations: 384 / 330.2 MB, free: 356 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.14, allocations: 4 kB / 330.2 MB, free: 352 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.14, allocations: 0 / 330.2 MB, free: 352 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.1401, allocations: 155.4 kB / 330.3 MB, free: 180 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.1402, allocations: 85.05 kB / 330.4 MB, free: 76 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1402, allocations: 3.984 kB / 330.4 MB, free: 72 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.184e-05/0.1402, allocations: 0 / 330.4 MB, free: 72 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.1403, allocations: 0 / 330.4 MB, free: 72 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1403, allocations: 4 kB / 330.4 MB, free: 68 kB / 270.1 MB Notification: Performance of sorting global known variables: time 5.241e-05/0.1403, allocations: 83.28 kB / 330.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 8.456e-06/0.1403, allocations: 0 / 330.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1406, allocations: 31.92 kB / 330.5 MB, free: 15.95 MB / 286.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.000391/0.141, allocations: 189.5 kB / 330.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.1411, allocations: 19.98 kB / 330.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1411, allocations: 4.062 kB / 330.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.546e-05/0.1412, allocations: 8 kB / 330.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.1414, allocations: 0 / 330.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.1417, allocations: 123.1 kB / 330.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.142, allocations: 0.6809 MB / 331.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.152e-05/0.142, allocations: 7.984 kB / 331.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.1421, allocations: 7.438 kB / 331.6 MB, free: 14.87 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1421, allocations: 4 kB / 331.6 MB, free: 14.87 MB / 286.1 MB Notification: Performance of Templates: time 0.003699/0.1458, allocations: 0.9335 MB / 332.5 MB, free: 13.93 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1)