Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Running command: translateModel(AdvancedNoise.Examples.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") translateModel(AdvancedNoise.Examples.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02214/0.02214, allocations: 3.903 MB / 19.96 MB, free: 2.863 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.001019/0.001018, allocations: 180.5 kB / 21.6 MB, free: 1.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 246 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 106 kB / 297 MB, free: 10.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 51.92 kB / 358.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2524, allocations: 50.18 MB / 408.3 MB, free: 32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002265/0.2547, allocations: 1.583 MB / 409.9 MB, free: 30.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.2561, allocations: 1.128 MB / 411 MB, free: 29.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.525e-05/0.2562, allocations: 7.875 kB / 411 MB, free: 29.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.2563, allocations: 15.81 kB / 411 MB, free: 29.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.013e-05/0.2564, allocations: 11.86 kB / 411 MB, free: 29.25 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0006571/0.2571, allocations: 235.3 kB / 411.3 MB, free: 29.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.2572, allocations: 159.8 kB / 411.4 MB, free: 28.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.993e-05/0.2573, allocations: 21.3 kB / 411.4 MB, free: 28.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.904e-05/0.2574, allocations: 59.78 kB / 411.5 MB, free: 28.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.507e-05/0.2575, allocations: 55.8 kB / 411.5 MB, free: 28.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.2575, allocations: 12 kB / 411.6 MB, free: 28.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.2578, allocations: 219.6 kB / 411.8 MB, free: 28.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.2578, allocations: 23.91 kB / 411.8 MB, free: 28.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.264e-05/0.2579, allocations: 55.67 kB / 411.8 MB, free: 28.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.2582, allocations: 279.3 kB / 412.1 MB, free: 28.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2582, allocations: 4 kB / 412.1 MB, free: 28.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2582, allocations: 0 / 412.1 MB, free: 28.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.2582, allocations: 0 / 412.1 MB, free: 28.14 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001109/0.2593, allocations: 1.323 MB / 413.4 MB, free: 26.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2593, allocations: 8.031 kB / 413.5 MB, free: 26.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/0.2597, allocations: 56.64 kB / 413.5 MB, free: 26.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.2598, allocations: 220.1 kB / 413.7 MB, free: 26.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.2599, allocations: 8.375 kB / 413.7 MB, free: 26.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.2599, allocations: 4.375 kB / 413.7 MB, free: 26.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.2602, allocations: 165.9 kB / 413.9 MB, free: 26.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2602, allocations: 0 / 413.9 MB, free: 26.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2602, allocations: 0 / 413.9 MB, free: 26.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2602, allocations: 4 kB / 413.9 MB, free: 26.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.2605, allocations: 143.8 kB / 414 MB, free: 26.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.261, allocations: 352.7 kB / 414.4 MB, free: 25.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.2613, allocations: 206.5 kB / 414.6 MB, free: 25.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.2615, allocations: 184.9 kB / 414.8 MB, free: 25.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.2615, allocations: 3.984 kB / 414.8 MB, free: 25.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002924/0.2618, allocations: 311.3 kB / 415.1 MB, free: 25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.2618, allocations: 0 / 415.1 MB, free: 25 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007594/0.2626, allocations: 467.1 kB / 415.5 MB, free: 24.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.2626, allocations: 93.09 kB / 415.6 MB, free: 24.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.851e-05/0.2627, allocations: 163.4 kB / 415.8 MB, free: 24.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.2628, allocations: 29.7 kB / 415.8 MB, free: 24.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.2628, allocations: 92.47 kB / 415.9 MB, free: 24.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.2628, allocations: 35.48 kB / 415.9 MB, free: 24.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.2629, allocations: 49.69 kB / 416 MB, free: 24.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.952e-05/0.2629, allocations: 334.8 kB / 416.3 MB, free: 23.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.2631, allocations: 91.91 kB / 416.4 MB, free: 23.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.2633, allocations: 95.88 kB / 416.5 MB, free: 23.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.2636, allocations: 265.9 kB / 416.8 MB, free: 23.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2636, allocations: 0 / 416.8 MB, free: 23.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004225/0.2641, allocations: 303.1 kB / 417.1 MB, free: 22.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.2641, allocations: 53.67 kB / 417.1 MB, free: 22.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2641, allocations: 0 / 417.1 MB, free: 22.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2641, allocations: 0 / 417.1 MB, free: 22.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.2643, allocations: 19.98 kB / 417.1 MB, free: 22.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2643, allocations: 3.938 kB / 417.1 MB, free: 22.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/0.2644, allocations: 19.83 kB / 417.2 MB, free: 22.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.2644, allocations: 23.97 kB / 417.2 MB, free: 22.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (globalSeed.seed,discreteNoise.actualGlobalSeed,discreteNoise.localSeed,globalSeed.id_impure,discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001226/0.2645, allocations: 191.4 kB / 417.4 MB, free: 22.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.2646, allocations: 15.91 kB / 417.4 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.2646, allocations: 12.83 kB / 417.4 MB, free: 22.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2647, allocations: 4 kB / 417.4 MB, free: 22.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.2647, allocations: 0 / 417.4 MB, free: 22.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2647, allocations: 0 / 417.4 MB, free: 22.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.2648, allocations: 221.4 kB / 417.6 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2648, allocations: 4 kB / 417.6 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-05/0.2649, allocations: 11.98 kB / 417.6 MB, free: 22.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2649, allocations: 4 kB / 417.6 MB, free: 22.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.265, allocations: 16.05 kB / 417.6 MB, free: 22.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.265, allocations: 0 / 417.6 MB, free: 22.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.265, allocations: 0 / 417.6 MB, free: 22.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/0.2658, allocations: 0.5961 MB / 418.2 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.2658, allocations: 92.98 kB / 418.3 MB, free: 21.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.2659, allocations: 8 kB / 418.3 MB, free: 21.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.554e-05/0.266, allocations: 11.98 kB / 418.4 MB, free: 21.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.266, allocations: 11.98 kB / 418.4 MB, free: 21.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.2661, allocations: 20.19 kB / 418.4 MB, free: 21.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.481e-05/0.2662, allocations: 119.2 kB / 418.5 MB, free: 21.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.132e-06/0.2662, allocations: 4.062 kB / 418.5 MB, free: 21.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003362/0.2665, allocations: 87.92 kB / 418.6 MB, free: 21.28 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (continuousMean.mu) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,discreteNoise.state[1],discreteNoise.state[2],discreteNoise.state[3],discreteNoise.state[4],discreteNoise.buffer[1],discreteNoise.buffer[2],discreteNoise.bufferStartTime,discreteNoise.r) * Number of discrete states: 10 (discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004746/0.267, allocations: 248.1 kB / 418.8 MB, free: 21.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005707/0.2676, allocations: 443.2 kB / 419.3 MB, free: 20.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2676, allocations: 0 / 419.3 MB, free: 20.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.2679, allocations: 367.3 kB / 419.6 MB, free: 20.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.2681, allocations: 20.34 kB / 419.6 MB, free: 20.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006224/0.2688, allocations: 403.2 kB / 420 MB, free: 19.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.2689, allocations: 0.708 MB / 420.7 MB, free: 19.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.425e-05/0.269, allocations: 12.66 kB / 420.8 MB, free: 19.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.269, allocations: 11.44 kB / 420.8 MB, free: 19.05 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.269, allocations: 0 / 420.8 MB, free: 19.05 MB / 302.1 MB Notification: Performance of Templates: time 0.005344/0.2743, allocations: 3.118 MB / 423.9 MB, free: 15.95 MB / 302.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.makefile (rm -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.sim & ./AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1)