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.0008052/0.0008052, allocations: 170.7 kB / 7.644 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.043/1.043, allocations: 170.7 MB / 178.7 MB, free: 7.027 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.001523/0.001523, allocations: 111.9 kB / 218 MB, free: 15.34 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.01785/0.01785, allocations: 3.067 MB / 260.2 MB, free: 5.066 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.634e-06/7.654e-06, allocations: 1.219 kB / 305.9 MB, free: 69.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05798/0.058, allocations: 39.39 MB / 345.3 MB, free: 32.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2204/0.2785, allocations: 66.88 MB / 412.2 MB, free: 17.7 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.2787, allocations: 79.75 kB / 412.2 MB, free: 17.7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004504/0.2832, allocations: 1.656 MB / 413.9 MB, free: 17.33 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2832, allocations: 0 / 413.9 MB, free: 17.33 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.2833, allocations: 1.281 kB / 413.9 MB, free: 17.33 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.0002494/0.2835, allocations: 362.2 kB / 414.3 MB, free: 16.97 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.2836, allocations: 10.34 kB / 414.3 MB, free: 16.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.2839, allocations: 51.09 kB / 414.3 MB, free: 16.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.9e-05/0.284, allocations: 174 kB / 414.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.284, allocations: 1.75 kB / 414.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.284, allocations: 2.5 kB / 414.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.671e-05/0.2841, allocations: 38 kB / 414.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.105e-05/0.2842, allocations: 63.34 kB / 414.6 MB, free: 16.72 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.2842, allocations: 3.938 kB / 414.6 MB, free: 16.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2842, allocations: 0 / 414.6 MB, free: 16.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2842, allocations: 2.031 kB / 414.6 MB, free: 16.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.2847, allocations: 329 kB / 414.9 MB, free: 16.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.717e-05/0.2848, allocations: 45.83 kB / 415 MB, free: 16.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.2849, allocations: 21.58 kB / 415 MB, free: 16.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.2849, allocations: 0 / 415 MB, free: 16.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.2849, allocations: 41.52 kB / 415 MB, free: 16.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.2849, allocations: 0 / 415 MB, free: 16.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001585/0.2851, allocations: 66.41 kB / 415.1 MB, free: 16.36 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.537e-05/0.2851, allocations: 52.44 kB / 415.1 MB, free: 16.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.358e-05/0.2852, allocations: 109 kB / 415.2 MB, free: 16.2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.2852, allocations: 26.25 kB / 415.3 MB, free: 16.17 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.2852, allocations: 97.09 kB / 415.4 MB, free: 16.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.2852, allocations: 14.28 kB / 415.4 MB, free: 16.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.2852, allocations: 0 / 415.4 MB, free: 16.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.848e-05/0.2853, allocations: 315.8 kB / 415.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/0.2853, allocations: 17.02 kB / 415.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.2853, allocations: 15.86 kB / 415.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.088e-05/0.2854, allocations: 15.55 kB / 415.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2854, allocations: 3.953 kB / 415.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.189e-05/0.2855, allocations: 69.61 kB / 415.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.2855, allocations: 4.594 kB / 415.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.2855, allocations: 1.031 kB / 415.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.2855, allocations: 0.8438 kB / 415.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.2857, allocations: 26.42 kB / 415.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2857, allocations: 1.375 kB / 415.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.014e-05/0.2858, allocations: 19.41 kB / 415.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2858, allocations: 2.156 kB / 415.9 MB, free: 15.7 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 () * 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 4.165e-05/0.2858, allocations: 102 kB / 416 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.857e-05/0.2859, allocations: 69.88 kB / 416 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.286, allocations: 3.891 kB / 416 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.2861, allocations: 84.53 kB / 416.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2861, allocations: 3.797 kB / 416.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2861, allocations: 0 / 416.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2861, allocations: 0 / 416.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.2863, allocations: 166.1 kB / 416.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2863, allocations: 1.188 kB / 416.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.2864, allocations: 22.42 kB / 416.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2864, allocations: 1.094 kB / 416.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2864, allocations: 12.31 kB / 416.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2864, allocations: 1.062 kB / 416.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2864, allocations: 3.938 kB / 416.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.2865, allocations: 161 kB / 416.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.2866, allocations: 87.22 kB / 416.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.2866, allocations: 0 / 416.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2867, allocations: 17.05 kB / 416.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.2867, allocations: 8.344 kB / 416.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.2867, allocations: 1.125 kB / 416.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.684e-05/0.2868, allocations: 89.28 kB / 416.7 MB, free: 15.03 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.2868, allocations: 0 / 416.7 MB, free: 15.03 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00021/0.287, allocations: 13.91 kB / 416.7 MB, free: 15.03 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 () * 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.000252/0.2873, allocations: 0.7035 MB / 417.4 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.2874, allocations: 35.33 kB / 417.4 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2874, allocations: 0 / 417.4 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.2874, allocations: 21.25 kB / 417.4 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.2876, allocations: 3.812 kB / 417.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.288, allocations: 163.2 kB / 417.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.2881, allocations: 0.6965 MB / 418.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.843e-05/0.2882, allocations: 2.156 kB / 418.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.2882, allocations: 21.22 kB / 418.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2882, allocations: 4 kB / 418.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.3053, allocations: 1.242 MB / 419.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.3055, allocations: 143.9 kB / 419.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.402/1.707, allocations: 0 / 419.7 MB, free: 13.25 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)