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.001059/0.001059, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001337/0.001337, allocations: 191.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.194/2.194, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.001469/0.001469, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3616, allocations: 46.62 MB / 324.8 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002743/0.3643, allocations: 1.408 MB / 326.3 MB, free: 0.8359 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007417/0.3651, allocations: 370.7 kB / 326.6 MB, free: 0.5586 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.3652, allocations: 0 / 326.6 MB, free: 0.5586 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.879e-05/0.3652, allocations: 5.094 kB / 326.6 MB, free: 0.5547 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 5.662e-05/0.3653, allocations: 0 / 326.6 MB, free: 0.5547 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.3658, allocations: 78.88 kB / 326.7 MB, free: 0.5039 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 5.794e-05/0.3658, allocations: 14.75 kB / 326.7 MB, free: 0.4961 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.3659, allocations: 2.156 kB / 326.7 MB, free: 0.4961 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.978e-05/0.3659, allocations: 7.531 kB / 326.7 MB, free: 0.4922 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.563e-05/0.366, allocations: 10.17 kB / 326.7 MB, free: 496 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.366, allocations: 1.219 kB / 326.7 MB, free: 496 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.3661, allocations: 91.31 kB / 326.8 MB, free: 444 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.3662, allocations: 7.984 kB / 326.8 MB, free: 436 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.3662, allocations: 11.16 kB / 326.8 MB, free: 428 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.3664, allocations: 79.2 kB / 326.9 MB, free: 380 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3664, allocations: 0 / 326.9 MB, free: 380 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3664, allocations: 0 / 326.9 MB, free: 380 kB / 254.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3664, allocations: 3.438 kB / 326.9 MB, free: 380 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.000372/0.3668, allocations: 347.5 kB / 327.3 MB, free: 15.99 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3668, allocations: 11.69 kB / 327.3 MB, free: 15.99 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.3669, allocations: 0.9375 kB / 327.3 MB, free: 15.99 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.367, allocations: 174.1 kB / 327.4 MB, free: 15.78 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.367, allocations: 384 / 327.4 MB, free: 15.78 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.367, allocations: 3.469 kB / 327.4 MB, free: 15.78 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.3671, allocations: 42 kB / 327.5 MB, free: 15.74 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3672, allocations: 192 / 327.5 MB, free: 15.74 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.3672, allocations: 3.938 kB / 327.5 MB, free: 15.74 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3672, allocations: 0 / 327.5 MB, free: 15.74 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.269e-05/0.3672, allocations: 3.906 kB / 327.5 MB, free: 15.74 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.3676, allocations: 244.4 kB / 327.7 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.599e-05/0.3677, allocations: 23.55 kB / 327.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.3677, allocations: 20.53 kB / 327.8 MB, free: 15.41 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.3677, allocations: 1.031 kB / 327.8 MB, free: 15.41 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.3679, allocations: 51.09 kB / 327.8 MB, free: 15.36 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.3679, allocations: 4 kB / 327.8 MB, free: 15.35 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001909/0.3681, allocations: 54.58 kB / 327.9 MB, free: 15.31 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.3682, allocations: 60.53 kB / 327.9 MB, free: 15.24 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.3683, allocations: 104.8 kB / 328 MB, free: 15.13 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3683, allocations: 30.61 kB / 328.1 MB, free: 15.1 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.3683, allocations: 85.08 kB / 328.2 MB, free: 15.01 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.3683, allocations: 8.938 kB / 328.2 MB, free: 15 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.3684, allocations: 22.08 kB / 328.2 MB, free: 14.98 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3685, allocations: 320.2 kB / 328.5 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/0.3686, allocations: 4.094 kB / 328.5 MB, free: 14.66 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-05/0.3686, allocations: 24.36 kB / 328.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.017e-05/0.3687, allocations: 22.53 kB / 328.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3687, allocations: 1.438 kB / 328.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.978e-05/0.3688, allocations: 70.09 kB / 328.6 MB, free: 14.56 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3688, allocations: 5.344 kB / 328.6 MB, free: 14.56 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3688, allocations: 4.031 kB / 328.6 MB, free: 14.55 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3688, allocations: 0.9062 kB / 328.6 MB, free: 14.55 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.3689, allocations: 10.61 kB / 328.6 MB, free: 14.55 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3689, allocations: 0 / 328.6 MB, free: 14.55 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/0.3689, allocations: 1.469 kB / 328.6 MB, free: 14.55 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.369, allocations: 1.562 kB / 328.6 MB, free: 14.55 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.367e-05/0.3691, allocations: 120.5 kB / 328.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.3691, allocations: 1.531 kB / 328.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.3691, allocations: 5.188 kB / 328.8 MB, free: 14.42 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3691, allocations: 4 kB / 328.8 MB, free: 14.41 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3691, allocations: 4.797 kB / 328.8 MB, free: 14.41 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3691, allocations: 0 / 328.8 MB, free: 14.41 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.3694, allocations: 285.6 kB / 329.1 MB, free: 14.09 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3694, allocations: 0 / 329.1 MB, free: 14.09 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.199e-05/0.3694, allocations: 1.219 kB / 329.1 MB, free: 14.09 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3694, allocations: 1.219 kB / 329.1 MB, free: 14.09 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3694, allocations: 0 / 329.1 MB, free: 14.09 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3694, allocations: 9.031 kB / 329.1 MB, free: 14.09 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3694, allocations: 4 kB / 329.1 MB, free: 14.08 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.3696, allocations: 150.6 kB / 329.2 MB, free: 13.93 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.3696, allocations: 78.3 kB / 329.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.3696, allocations: 1.406 kB / 329.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.297e-05/0.3697, allocations: 4 kB / 329.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.3697, allocations: 1.531 kB / 329.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.3697, allocations: 0.9688 kB / 329.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.979e-05/0.3698, allocations: 88.23 kB / 329.4 MB, free: 13.75 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3698, allocations: 0 / 329.4 MB, free: 13.75 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.3701, allocations: 27.16 kB / 329.4 MB, free: 13.75 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.0004042/0.3705, allocations: 189.3 kB / 329.6 MB, free: 13.59 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.3706, allocations: 29.14 kB / 329.6 MB, free: 13.58 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3706, allocations: 0 / 329.6 MB, free: 13.58 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 2.99e-05/0.3707, allocations: 9.75 kB / 329.6 MB, free: 13.57 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.3709, allocations: 2.25 kB / 329.6 MB, free: 13.57 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.3712, allocations: 111.9 kB / 329.7 MB, free: 13.46 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.3715, allocations: 0.6862 MB / 330.4 MB, free: 12.75 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.867e-05/0.3715, allocations: 12 kB / 330.4 MB, free: 12.74 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.3715, allocations: 12.44 kB / 330.5 MB, free: 12.73 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3715, allocations: 1.438 kB / 330.5 MB, free: 12.73 MB / 270.1 MB Notification: Performance of Templates: time 0.003565/0.3751, allocations: 0.9388 MB / 331.4 MB, free: 12.23 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)