Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo", uses=false) Using package Modelica_Noise with version 1.0 Beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005563/0.005563, allocations: 169.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.175/1.175, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001616/0.001616, allocations: 113.7 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo): time 0.01947/0.01947, allocations: 3.12 MB / 268.7 MB, free: 15.46 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003785, allocations: 9 kB / 318.7 MB, free: 63.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06142/0.06182, allocations: 39.4 MB / 358.1 MB, free: 23.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2362/0.298, allocations: 67.63 MB / 425.7 MB, free: 18.67 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.2983, allocations: 82.89 kB / 425.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004327/0.3026, allocations: 1.668 MB / 427.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3026, allocations: 0 / 427.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3026, allocations: 1.312 kB / 427.5 MB, free: 18.29 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002579/0.3029, allocations: 383.1 kB / 427.9 MB, free: 17.9 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.303, allocations: 13.67 kB / 427.9 MB, free: 17.9 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.581e-05/0.303, allocations: 36.45 kB / 427.9 MB, free: 17.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/0.3033, allocations: 48.34 kB / 428 MB, free: 17.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.803e-05/0.3034, allocations: 168.7 kB / 428.1 MB, free: 17.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.3034, allocations: 11.09 kB / 428.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.3034, allocations: 5.703 kB / 428.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3036, allocations: 84.98 kB / 428.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3036, allocations: 1.188 kB / 428.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3036, allocations: 7.609 kB / 428.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.3036, allocations: 2.234 kB / 428.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.3038, allocations: 78.55 kB / 428.3 MB, free: 17.6 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.3043, allocations: 358.7 kB / 428.7 MB, free: 17.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.3045, allocations: 81.11 kB / 428.7 MB, free: 17.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.3046, allocations: 1.766 kB / 428.7 MB, free: 17.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.3046, allocations: 35.38 kB / 428.8 MB, free: 17.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3046, allocations: 0 / 428.8 MB, free: 17.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003948/0.305, allocations: 141.1 kB / 428.9 MB, free: 17.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.305, allocations: 53.02 kB / 429 MB, free: 17.15 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/0.3051, allocations: 110.5 kB / 429.1 MB, free: 17.06 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.3051, allocations: 30.3 kB / 429.1 MB, free: 17.03 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.3052, allocations: 92.34 kB / 429.2 MB, free: 16.94 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.3052, allocations: 23.86 kB / 429.2 MB, free: 16.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-06/0.3052, allocations: 0 / 429.2 MB, free: 16.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.301e-05/0.3053, allocations: 319.1 kB / 429.5 MB, free: 16.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.3054, allocations: 34.62 kB / 429.6 MB, free: 16.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.016e-05/0.3055, allocations: 39.42 kB / 429.6 MB, free: 16.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.058e-05/0.3056, allocations: 31.11 kB / 429.6 MB, free: 16.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3056, allocations: 0 / 429.6 MB, free: 16.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002152/0.3058, allocations: 107.7 kB / 429.7 MB, free: 16.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3058, allocations: 12.09 kB / 429.7 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.3058, allocations: 0 / 429.7 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3058, allocations: 0 / 429.7 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.306, allocations: 20.09 kB / 429.8 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.306, allocations: 0.8438 kB / 429.8 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.454e-05/0.3061, allocations: 19.33 kB / 429.8 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.3061, allocations: 4.328 kB / 429.8 MB, free: 16.56 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/0.3062, allocations: 116.5 kB / 429.9 MB, free: 16.44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.3062, allocations: 7.344 kB / 429.9 MB, free: 16.44 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.3065, allocations: 121.5 kB / 430 MB, free: 16.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3065, allocations: 6.281 kB / 430 MB, free: 16.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3065, allocations: 112 / 430 MB, free: 16.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3065, allocations: 7.875 kB / 430 MB, free: 16.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.3067, allocations: 192.4 kB / 430.2 MB, free: 16.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3067, allocations: 0.5 kB / 430.2 MB, free: 16.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.3068, allocations: 26.25 kB / 430.3 MB, free: 16.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3068, allocations: 0 / 430.3 MB, free: 16.19 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3068, allocations: 7.422 kB / 430.3 MB, free: 16.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3068, allocations: 0 / 430.3 MB, free: 16.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3068, allocations: 0 / 430.3 MB, free: 16.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.3071, allocations: 210.3 kB / 430.5 MB, free: 16.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/0.3071, allocations: 87.03 kB / 430.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.3072, allocations: 2.016 kB / 430.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3073, allocations: 12.78 kB / 430.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.3073, allocations: 9.219 kB / 430.6 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3073, allocations: 5.922 kB / 430.6 MB, free: 15.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.777e-05/0.3074, allocations: 96.41 kB / 430.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3074, allocations: 1.281 kB / 430.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.3076, allocations: 12.72 kB / 430.7 MB, free: 15.86 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0003878/0.308, allocations: 0.74 MB / 431.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.3082, allocations: 79.22 kB / 431.5 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3082, allocations: 0 / 431.5 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.721e-05/0.3083, allocations: 41.2 kB / 431.5 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.3085, allocations: 9.625 kB / 431.6 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009853/0.3095, allocations: 0.5997 MB / 432.2 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.3096, allocations: 0.6956 MB / 432.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.689e-05/0.3097, allocations: 2.656 kB / 432.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.3097, allocations: 20.83 kB / 432.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3097, allocations: 0.9688 kB / 432.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01177/0.3215, allocations: 1.615 MB / 434.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.3217, allocations: 187.3 kB / 434.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/1.813, allocations: 3.938 kB / 434.7 MB, free: 13.64 MB / 282.7 MB (rm -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1)