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.0008695/0.0008696, allocations: 92.22 kB / 16.31 MB, free: 5.602 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.001191/0.001192, allocations: 181.3 kB / 17.21 MB, free: 5.52 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.585/1.585, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.0004566/0.0004566, allocations: 16 kB / 280.1 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1227, allocations: 47.58 MB / 327.7 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001613/0.1244, allocations: 1.065 MB / 328.8 MB, free: 2.996 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007199/0.1251, allocations: 352.6 kB / 329.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.1252, allocations: 0 / 329.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.1252, allocations: 0 / 329.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.1253, allocations: 3.938 kB / 329.1 MB, free: 2.645 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.1257, allocations: 67.86 kB / 329.2 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.343e-05/0.1258, allocations: 15.94 kB / 329.2 MB, free: 2.562 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.152e-05/0.1258, allocations: 0 / 329.2 MB, free: 2.562 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.763e-05/0.1259, allocations: 11.97 kB / 329.2 MB, free: 2.551 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.472e-05/0.1259, allocations: 7.938 kB / 329.2 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1259, allocations: 0 / 329.2 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.1261, allocations: 79.92 kB / 329.3 MB, free: 2.465 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.1261, allocations: 7.922 kB / 329.3 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.1262, allocations: 29.7 kB / 329.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.1263, allocations: 59.84 kB / 329.4 MB, free: 2.363 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1263, allocations: 0 / 329.4 MB, free: 2.363 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1263, allocations: 0 / 329.4 MB, free: 2.363 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1264, allocations: 4 kB / 329.4 MB, free: 2.359 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.0004029/0.1268, allocations: 335.6 kB / 329.7 MB, free: 1.984 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1268, allocations: 8.031 kB / 329.7 MB, free: 1.977 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.1269, allocations: 4 kB / 329.8 MB, free: 1.973 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.127, allocations: 171 kB / 329.9 MB, free: 1.766 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.127, allocations: 0 / 329.9 MB, free: 1.766 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.127, allocations: 4 kB / 329.9 MB, free: 1.762 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.1271, allocations: 33.66 kB / 330 MB, free: 1.723 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.1272, allocations: 0 / 330 MB, free: 1.723 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1272, allocations: 7.922 kB / 330 MB, free: 1.715 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1272, allocations: 0 / 330 MB, free: 1.715 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.42e-05/0.1272, allocations: 8 kB / 330 MB, free: 1.707 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.1276, allocations: 244.9 kB / 330.2 MB, free: 1.418 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.451e-05/0.1277, allocations: 26.53 kB / 330.2 MB, free: 1.383 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.411e-05/0.1277, allocations: 8.922 kB / 330.2 MB, free: 1.371 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.1277, allocations: 3.938 kB / 330.2 MB, free: 1.367 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.1279, allocations: 67.3 kB / 330.3 MB, free: 1.289 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.1279, allocations: 4 kB / 330.3 MB, free: 1.285 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001782/0.128, allocations: 61.62 kB / 330.4 MB, free: 1.219 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.1281, allocations: 51.41 kB / 330.4 MB, free: 1.156 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.475e-05/0.1282, allocations: 109.8 kB / 330.5 MB, free: 1.039 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1282, allocations: 25.7 kB / 330.6 MB, free: 1.008 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.1283, allocations: 84.14 kB / 330.6 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.1283, allocations: 3.906 kB / 330.6 MB, free: 0.918 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.1283, allocations: 3.938 kB / 330.7 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1284, allocations: 318.8 kB / 331 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.1284, allocations: 11.98 kB / 331 MB, free: 0.582 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.1285, allocations: 17.72 kB / 331 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.769e-05/0.1285, allocations: 4 kB / 331 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1285, allocations: 0 / 331 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.562e-05/0.1286, allocations: 65.58 kB / 331.1 MB, free: 496 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1286, allocations: 4 kB / 331.1 MB, free: 492 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1286, allocations: 0 / 331.1 MB, free: 492 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1287, allocations: 4.031 kB / 331.1 MB, free: 488 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.191e-05/0.1287, allocations: 11.98 kB / 331.1 MB, free: 476 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1287, allocations: 0 / 331.1 MB, free: 476 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.1288, allocations: 3.906 kB / 331.1 MB, free: 472 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1288, allocations: 4 kB / 331.1 MB, free: 468 kB / 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,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.884e-05/0.1289, allocations: 109.8 kB / 331.2 MB, free: 348 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.1289, allocations: 7.953 kB / 331.2 MB, free: 340 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.1289, allocations: 7.891 kB / 331.2 MB, free: 328 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1289, allocations: 0 / 331.2 MB, free: 328 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1289, allocations: 4 kB / 331.2 MB, free: 324 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1289, allocations: 0 / 331.2 MB, free: 324 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.1292, allocations: 290.5 kB / 331.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1292, allocations: 3.938 kB / 331.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.141e-05/0.1292, allocations: 0 / 331.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1292, allocations: 4 kB / 331.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1293, allocations: 0 / 331.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1293, allocations: 0 / 331.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1293, allocations: 0 / 331.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.1294, allocations: 155.5 kB / 331.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.1294, allocations: 84.95 kB / 331.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.1295, allocations: 0 / 331.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.041e-05/0.1295, allocations: 0 / 331.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.1295, allocations: 4 kB / 331.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.1295, allocations: 3.938 kB / 331.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.411e-05/0.1296, allocations: 87.64 kB / 331.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1296, allocations: 0 / 331.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1299, allocations: 24 kB / 331.9 MB, free: 15.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004032/0.1303, allocations: 188.9 kB / 332 MB, free: 15.4 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.1304, allocations: 31.98 kB / 332.1 MB, free: 15.37 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1304, allocations: 0 / 332.1 MB, free: 15.37 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.576e-05/0.1304, allocations: 11.94 kB / 332.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.1306, allocations: 0 / 332.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.1309, allocations: 116.8 kB / 332.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.1311, allocations: 0.6809 MB / 332.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.952e-05/0.1312, allocations: 7.984 kB / 332.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/0.1312, allocations: 11.5 kB / 332.9 MB, free: 14.49 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1312, allocations: 0 / 332.9 MB, free: 14.49 MB / 286.1 MB Notification: Performance of Templates: time 0.003275/0.1345, allocations: 0.9171 MB / 333.8 MB, free: 13.57 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)