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.001519/0.001519, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.22/1.22, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001307/0.001307, allocations: 99.52 kB / 223.2 MB, free: 4.047 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.01622/0.01622, allocations: 3.051 MB / 265.5 MB, free: 24.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.292e-05, allocations: 4 kB / 312.9 MB, free: 8.891 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2251, allocations: 39.37 MB / 352.2 MB, free: 37.41 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08147/0.3066, allocations: 67.56 MB / 419.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.3069, allocations: 71.95 kB / 419.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005114/0.312, allocations: 1.678 MB / 421.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3121, allocations: 0 / 421.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.3121, allocations: 4 kB / 421.5 MB, free: 2.281 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.0004361/0.3125, allocations: 366.3 kB / 421.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.3126, allocations: 8.031 kB / 421.9 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.334e-05/0.3126, allocations: 38.56 kB / 421.9 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.313, allocations: 48.41 kB / 422 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.3131, allocations: 174.9 kB / 422.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.3132, allocations: 7.938 kB / 422.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3132, allocations: 11.95 kB / 422.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3134, allocations: 65.67 kB / 422.2 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.3134, allocations: 0 / 422.2 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3134, allocations: 0 / 422.2 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3134, allocations: 3.938 kB / 422.2 MB, free: 1.473 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.294e-05/0.3135, allocations: 38.34 kB / 422.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/0.3141, allocations: 348.7 kB / 422.6 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.3142, allocations: 54.5 kB / 422.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.3143, allocations: 24.98 kB / 422.7 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.3143, allocations: 3.984 kB / 422.7 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.3144, allocations: 34.56 kB / 422.7 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3144, allocations: 0 / 422.7 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002101/0.3146, allocations: 65.69 kB / 422.8 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.3146, allocations: 51.41 kB / 422.9 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.3147, allocations: 115.1 kB / 423 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.3148, allocations: 25.7 kB / 423 MB, free: 0.625 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.3148, allocations: 95.98 kB / 423.1 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.3149, allocations: 19.91 kB / 423.1 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.3149, allocations: 7.875 kB / 423.1 MB, free: 0.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.315, allocations: 322.8 kB / 423.4 MB, free: 180 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.163e-05/0.315, allocations: 12 kB / 423.4 MB, free: 168 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.956e-05/0.3151, allocations: 15.98 kB / 423.5 MB, free: 152 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.788e-05/0.3151, allocations: 12 kB / 423.5 MB, free: 140 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3151, allocations: 4 kB / 423.5 MB, free: 136 kB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000114/0.3152, allocations: 65.78 kB / 423.5 MB, free: 64 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3153, allocations: 8 kB / 423.5 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3153, allocations: 0 / 423.5 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3153, allocations: 4 kB / 423.5 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.3155, allocations: 27.97 kB / 423.6 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3155, allocations: 0 / 423.6 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.905e-05/0.3156, allocations: 19.92 kB / 423.6 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3156, allocations: 0 / 423.6 MB, free: 4 kB / 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 0.0001027/0.3157, allocations: 116.9 kB / 423.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.3158, allocations: 7.906 kB / 423.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.316, allocations: 81.72 kB / 423.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.316, allocations: 0 / 423.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.316, allocations: 3.984 kB / 423.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.316, allocations: 0 / 423.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.3163, allocations: 185.6 kB / 424 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3163, allocations: 0 / 424 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.3164, allocations: 27.97 kB / 424 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.3164, allocations: 4 kB / 424 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3165, allocations: 3.938 kB / 424 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3165, allocations: 0 / 424 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3165, allocations: 0 / 424 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.3167, allocations: 171.4 kB / 424.2 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.3168, allocations: 84.95 kB / 424.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.3168, allocations: 7.984 kB / 424.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3169, allocations: 16 kB / 424.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.317, allocations: 11.97 kB / 424.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.317, allocations: 192 / 424.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.166e-05/0.3171, allocations: 96.89 kB / 424.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3171, allocations: 0 / 424.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.3173, allocations: 12 kB / 424.4 MB, free: 15.09 MB / 298.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.000492/0.3178, allocations: 0.7123 MB / 425.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.318, allocations: 39.98 kB / 425.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.318, allocations: 0 / 425.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.245e-05/0.318, allocations: 27.94 kB / 425.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.3182, allocations: 7.984 kB / 425.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.3187, allocations: 158.4 kB / 425.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.3191, allocations: 0.6926 MB / 426 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.674e-05/0.3191, allocations: 11.98 kB / 426.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.3192, allocations: 23.42 kB / 426.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3192, allocations: 0 / 426.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/0.3313, allocations: 1.594 MB / 427.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.3315, allocations: 177 kB / 427.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/1.867, allocations: 0 / 427.8 MB, free: 11.61 MB / 298.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)