Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004925/0.004925, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001238/0.001238, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02391/0.02391, allocations: 3.91 MB / 294.4 MB, free: 11 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 55.31 kB / 406.9 MB, free: 28.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07345/0.07457, allocations: 50.2 MB / 457.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.00217/0.07678, allocations: 1.454 MB / 458.5 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.07839, allocations: 1.063 MB / 459.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.07845, allocations: 3.938 kB / 459.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.07859, allocations: 11.88 kB / 459.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.07874, allocations: 19.86 kB / 459.6 MB, free: 7.309 MB / 334.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.07926, allocations: 183.4 kB / 459.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.07944, allocations: 127.7 kB / 459.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.923e-05/0.07952, allocations: 11.98 kB / 460 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.119e-05/0.07961, allocations: 47.78 kB / 460 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.321e-05/0.07968, allocations: 39.83 kB / 460 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.07971, allocations: 8 kB / 460.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.07997, allocations: 171.7 kB / 460.2 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.08002, allocations: 19.98 kB / 460.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.08006, allocations: 35.73 kB / 460.3 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.08033, allocations: 207.5 kB / 460.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.08035, allocations: 7.938 kB / 460.5 MB, free: 6.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.08036, allocations: 0 / 460.5 MB, free: 6.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.08037, allocations: 0 / 460.5 MB, free: 6.465 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004692/0.08084, allocations: 427 kB / 460.9 MB, free: 6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.08088, allocations: 12.03 kB / 460.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.0812, allocations: 52.77 kB / 461 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.08149, allocations: 210.5 kB / 461.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.08152, allocations: 12.25 kB / 461.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.08154, allocations: 8.125 kB / 461.2 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.08171, allocations: 77.64 kB / 461.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.08172, allocations: 0 / 461.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.08174, allocations: 4 kB / 461.3 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.08175, allocations: 4 kB / 461.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.08188, allocations: 55.95 kB / 461.3 MB, free: 5.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.08236, allocations: 360.7 kB / 461.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.08255, allocations: 82.47 kB / 461.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.08263, allocations: 44.84 kB / 461.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.08267, allocations: 3.984 kB / 461.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.0827, allocations: 30.56 kB / 461.8 MB, free: 4.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.0827, allocations: 0 / 461.8 MB, free: 4.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003965/0.08311, allocations: 153.5 kB / 462 MB, free: 4.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.08316, allocations: 59.41 kB / 462 MB, free: 4.723 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.0833, allocations: 149.5 kB / 462.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.08332, allocations: 29.7 kB / 462.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.08339, allocations: 96.12 kB / 462.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.08342, allocations: 27.59 kB / 462.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.08348, allocations: 29.64 kB / 462.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.08361, allocations: 330.8 kB / 462.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/0.08369, allocations: 31.97 kB / 462.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.25e-05/0.08377, allocations: 31.98 kB / 462.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.08394, allocations: 92.91 kB / 462.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.08395, allocations: 0 / 462.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002461/0.0842, allocations: 141.5 kB / 463 MB, free: 3.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.08423, allocations: 8 kB / 463 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.08424, allocations: 0 / 463 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.08425, allocations: 0 / 463 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.08438, allocations: 19.98 kB / 463 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.0844, allocations: 4 kB / 463 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.08445, allocations: 7.938 kB / 463 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.0845, allocations: 27.89 kB / 463.1 MB, free: 3.668 MB / 334.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: 4 (globalSeed.seed,signalBasedNoise.actualGlobalSeed,globalSeed.id_impure,signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.42e-05/0.0846, allocations: 126.3 kB / 463.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.08464, allocations: 11.91 kB / 463.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/0.08469, allocations: 16.7 kB / 463.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.0847, allocations: 4 kB / 463.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.0847, allocations: 0 / 463.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.08471, allocations: 3.938 kB / 463.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.08492, allocations: 205.5 kB / 463.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.08493, allocations: 4 kB / 463.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.817e-05/0.08501, allocations: 11.98 kB / 463.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.08502, allocations: 0 / 463.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.08504, allocations: 4 kB / 463.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.08505, allocations: 7.984 kB / 463.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.08505, allocations: 0 / 463.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.08533, allocations: 219.2 kB / 463.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.08541, allocations: 101 kB / 463.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.08544, allocations: 4 kB / 463.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/0.08552, allocations: 0 / 463.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.08557, allocations: 11.92 kB / 463.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.08562, allocations: 31.95 kB / 463.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.039e-05/0.0857, allocations: 111.2 kB / 463.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.0857, allocations: 0 / 463.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.086, allocations: 55.92 kB / 464 MB, free: 2.66 MB / 334.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: 1 (signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0004375/0.08644, allocations: 236.3 kB / 464.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.08667, allocations: 83.95 kB / 464.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.08669, allocations: 7.938 kB / 464.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.996e-05/0.08678, allocations: 51.89 kB / 464.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.08702, allocations: 6.031 kB / 464.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.08743, allocations: 209.9 kB / 464.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.0877, allocations: 0.7002 MB / 465.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.015e-05/0.08779, allocations: 28.59 kB / 465.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.08784, allocations: 15.42 kB / 465.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.08785, allocations: 0 / 465.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of Templates: time 0.00498/0.09283, allocations: 2.219 MB / 467.5 MB, free: 15.1 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.makefile (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1)