Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001117/0.001117, allocations: 187.9 kB / 8.133 MB, free: 2.176 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.427/1.427, allocations: 194.2 MB / 202.8 MB, free: 8.652 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002198/0.002198, allocations: 118.2 kB / 247.7 MB, free: 6.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.209e-05/1.213e-05, allocations: 4 kB / 297.6 MB, free: 7.957 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 44.48 MB / 342.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.23/0.3356, allocations: 73.9 MB / 416 MB, free: 21.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.3359, allocations: 73.09 kB / 416 MB, free: 21.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0172/0.3531, allocations: 6.276 MB / 422.3 MB, free: 15.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.3531, allocations: 4.75 kB / 422.3 MB, free: 15.87 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008224/0.354, allocations: 0.5475 MB / 422.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.354, allocations: 12.02 kB / 422.9 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.3543, allocations: 35.7 kB / 422.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.3545, allocations: 235.3 kB / 423.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.3546, allocations: 15.84 kB / 423.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/0.3546, allocations: 12 kB / 423.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002158/0.3548, allocations: 91 kB / 423.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.3551, allocations: 143.3 kB / 423.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3551, allocations: 0 / 423.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.3551, allocations: 0 / 423.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3551, allocations: 7.984 kB / 423.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007377/0.3559, allocations: 0.5247 MB / 423.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.3565, allocations: 223.1 kB / 424.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3566, allocations: 70.61 kB / 424.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.3566, allocations: 7.984 kB / 424.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.3568, allocations: 118.3 kB / 424.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.3568, allocations: 3.75 kB / 424.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003232/0.3571, allocations: 177.1 kB / 424.5 MB, free: 13.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.3572, allocations: 55.59 kB / 424.6 MB, free: 13.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3573, allocations: 164.2 kB / 424.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.3573, allocations: 40.94 kB / 424.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.3574, allocations: 116 kB / 424.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.3574, allocations: 70.5 kB / 424.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/0.3574, allocations: 0 / 424.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.888e-05/0.3575, allocations: 329.6 kB / 425.3 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.3576, allocations: 84.73 kB / 425.3 MB, free: 13.03 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.3578, allocations: 122.8 kB / 425.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.358, allocations: 99.58 kB / 425.6 MB, free: 12.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.358, allocations: 0 / 425.6 MB, free: 12.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004535/0.3585, allocations: 289.2 kB / 425.8 MB, free: 12.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.3585, allocations: 8 kB / 425.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3585, allocations: 0 / 425.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.3585, allocations: 0 / 425.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.3588, allocations: 83.23 kB / 425.9 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3589, allocations: 7.891 kB / 425.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.359, allocations: 39.83 kB / 426 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.3591, allocations: 23.45 kB / 426 MB, free: 12.5 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 8.897e-05/0.3592, allocations: 112.9 kB / 426.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.3592, allocations: 15.81 kB / 426.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.3593, allocations: 16.31 kB / 426.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3593, allocations: 0 / 426.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3593, allocations: 3.062 kB / 426.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3593, allocations: 7.891 kB / 426.2 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006497/0.36, allocations: 0.5207 MB / 426.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.36, allocations: 3.906 kB / 426.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.3603, allocations: 55.95 kB / 426.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3603, allocations: 0 / 426.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.3603, allocations: 11.75 kB / 426.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3603, allocations: 4 kB / 426.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3603, allocations: 3.938 kB / 426.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003824/0.3607, allocations: 353.8 kB / 427.1 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.3607, allocations: 96.97 kB / 427.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.3608, allocations: 4 kB / 427.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.361, allocations: 35.95 kB / 427.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.361, allocations: 11.3 kB / 427.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.3611, allocations: 11.98 kB / 427.3 MB, free: 11.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.669e-05/0.3611, allocations: 131 kB / 427.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004982/0.3616, allocations: 131.6 kB / 427.5 MB, free: 11.08 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008319/0.3625, allocations: 326 kB / 427.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003571/0.3629, allocations: 227.5 kB / 428.1 MB, free: 10.63 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3629, allocations: 0 / 428.1 MB, free: 10.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.363, allocations: 89.17 kB / 428.1 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.3632, allocations: 13.17 kB / 428.2 MB, free: 10.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.3637, allocations: 304.8 kB / 428.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.364, allocations: 0.7713 MB / 429.2 MB, free: 9.48 MB / 314.7 MB Notification: Performance of SimCode: time 2.9e-07/0.364, allocations: 0 / 429.2 MB, free: 9.48 MB / 314.7 MB Notification: Performance of Templates: time 0.00934/0.3734, allocations: 3.907 MB / 433.1 MB, free: 5.617 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1)