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/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: "" <> buildModelFMU(AdvancedNoise.Examples.SignalBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.SignalBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.03969/0.03969, allocations: 3.904 MB / 18.88 MB, free: 3.516 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.001166/0.001166, allocations: 173.8 kB / 20.51 MB, free: 2.496 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.443/1.443, allocations: 223.3 MB / 245.3 MB, free: 10 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.0007965/0.0007968, allocations: 93.34 kB / 297.2 MB, free: 9.789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003247, allocations: 8 kB / 359 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2825, allocations: 51.19 MB / 410.1 MB, free: 31.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002679/0.2852, allocations: 1.183 MB / 411.3 MB, free: 29.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.2878, allocations: 0.968 MB / 412.3 MB, free: 28.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.2879, allocations: 1.031 kB / 412.3 MB, free: 28.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.2882, allocations: 11.88 kB / 412.3 MB, free: 28.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.2884, allocations: 23.16 kB / 412.3 MB, free: 28.96 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.0008411/0.2893, allocations: 143.7 kB / 412.5 MB, free: 28.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.2895, allocations: 107.7 kB / 412.6 MB, free: 28.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2897, allocations: 4 kB / 412.6 MB, free: 28.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.2898, allocations: 39.83 kB / 412.6 MB, free: 28.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.29, allocations: 35.8 kB / 412.6 MB, free: 28.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.29, allocations: 6.969 kB / 412.7 MB, free: 28.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.2905, allocations: 155.8 kB / 412.8 MB, free: 28.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.2906, allocations: 15.92 kB / 412.8 MB, free: 28.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.2906, allocations: 33.7 kB / 412.9 MB, free: 28.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.291, allocations: 147.7 kB / 413 MB, free: 28.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.291, allocations: 3.938 kB / 413 MB, free: 28.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.291, allocations: 0 / 413 MB, free: 28.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.2911, allocations: 0 / 413 MB, free: 28.28 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006713/0.2918, allocations: 409.2 kB / 413.4 MB, free: 27.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.2918, allocations: 8.031 kB / 413.4 MB, free: 27.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.2919, allocations: 38.55 kB / 413.4 MB, free: 27.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005835/0.2925, allocations: 47.84 kB / 413.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.2929, allocations: 211.4 kB / 413.7 MB, free: 27.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.2929, allocations: 0 / 413.7 MB, free: 27.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.2929, allocations: 11.94 kB / 413.7 MB, free: 27.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.2932, allocations: 81.64 kB / 413.8 MB, free: 27.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2932, allocations: 0 / 413.8 MB, free: 27.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.2932, allocations: 7.953 kB / 413.8 MB, free: 27.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.2932, allocations: 4 kB / 413.8 MB, free: 27.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.2934, allocations: 59.89 kB / 413.9 MB, free: 27.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006793/0.2941, allocations: 360.6 kB / 414.2 MB, free: 26.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.2944, allocations: 82.53 kB / 414.3 MB, free: 26.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.2945, allocations: 40.73 kB / 414.3 MB, free: 26.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.15e-05/0.2946, allocations: 8.141 kB / 414.3 MB, free: 26.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.2946, allocations: 34.56 kB / 414.4 MB, free: 26.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.833e-06/0.2946, allocations: 0 / 414.4 MB, free: 26.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005496/0.2952, allocations: 161.5 kB / 414.5 MB, free: 26.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.2952, allocations: 51.41 kB / 414.6 MB, free: 26.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.2954, allocations: 149.4 kB / 414.7 MB, free: 26.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.2954, allocations: 25.7 kB / 414.8 MB, free: 26.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.2955, allocations: 96.05 kB / 414.9 MB, free: 26.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.2955, allocations: 27.64 kB / 414.9 MB, free: 26.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.2956, allocations: 0 / 414.9 MB, free: 26.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.2956, allocations: 326.8 kB / 415.2 MB, free: 25.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.2958, allocations: 35.98 kB / 415.2 MB, free: 25.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.842e-05/0.2959, allocations: 31.98 kB / 415.3 MB, free: 25.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.296, allocations: 39.98 kB / 415.3 MB, free: 25.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.296, allocations: 4 kB / 415.3 MB, free: 25.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003285/0.2963, allocations: 141.3 kB / 415.4 MB, free: 25.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.2964, allocations: 8.625 kB / 415.5 MB, free: 25.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2964, allocations: 0 / 415.5 MB, free: 25.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.2964, allocations: 4 kB / 415.5 MB, free: 25.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.2966, allocations: 19.98 kB / 415.5 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2966, allocations: 0 / 415.5 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.2967, allocations: 11.91 kB / 415.5 MB, free: 25.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/0.2968, allocations: 23.95 kB / 415.5 MB, free: 25.54 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: 4 (signalBasedNoise.localSeed,globalSeed.id_impure,signalBasedNoise.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.2969, allocations: 121.8 kB / 415.6 MB, free: 25.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.2969, allocations: 11.86 kB / 415.6 MB, free: 25.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000542/0.2975, allocations: 206.2 kB / 415.8 MB, free: 25.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-05/0.2976, allocations: 4 kB / 415.8 MB, free: 25.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2976, allocations: 0 / 415.8 MB, free: 25.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2976, allocations: 0 / 415.8 MB, free: 25.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.298, allocations: 229.4 kB / 416.1 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.298, allocations: 3.938 kB / 416.1 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.565e-05/0.2981, allocations: 15.92 kB / 416.1 MB, free: 24.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2981, allocations: 8 kB / 416.1 MB, free: 24.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.2981, allocations: 7.953 kB / 416.1 MB, free: 24.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2982, allocations: 3.938 kB / 416.1 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2982, allocations: 0 / 416.1 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.2986, allocations: 259.4 kB / 416.4 MB, free: 24.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/0.2987, allocations: 108.9 kB / 416.5 MB, free: 24.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.2987, allocations: 0 / 416.5 MB, free: 24.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2988, allocations: 7.953 kB / 416.5 MB, free: 24.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.2989, allocations: 15.98 kB / 416.5 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.299, allocations: 23.95 kB / 416.5 MB, free: 24.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.217e-05/0.2991, allocations: 113.3 kB / 416.6 MB, free: 24.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2991, allocations: 3.938 kB / 416.6 MB, free: 24.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005625/0.2996, allocations: 51.98 kB / 416.7 MB, free: 24.27 MB / 302.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: 5 ($cse2[1],$cse2[2],$cse4[1],$cse4[2],signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 7 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.001072/0.3007, allocations: 0.9351 MB / 417.6 MB, free: 23.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.3011, allocations: 115.8 kB / 417.7 MB, free: 23.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3011, allocations: 0 / 417.7 MB, free: 23.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.3013, allocations: 115.4 kB / 417.8 MB, free: 23.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3017, allocations: 15.94 kB / 417.9 MB, free: 23.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.3032, allocations: 0.7392 MB / 418.6 MB, free: 22.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.3034, allocations: 0.7121 MB / 419.3 MB, free: 21.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.3035, allocations: 28.39 kB / 419.3 MB, free: 21.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.365e-05/0.3037, allocations: 35.41 kB / 419.4 MB, free: 21.51 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3037, allocations: 0 / 419.4 MB, free: 21.51 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.3253, allocations: 3.53 MB / 422.9 MB, free: 18.09 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.3256, allocations: 245.3 kB / 423.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.156, allocations: 4 kB / 423.1 MB, free: 17.84 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise.fmu > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1)