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.001323/0.001323, allocations: 170.6 kB / 15.44 MB, free: 6.234 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.042/1.042, allocations: 170.8 MB / 187 MB, free: 1 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.00144/0.00144, allocations: 106.1 kB / 226.5 MB, free: 9.984 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.01863/0.01863, allocations: 3.111 MB / 269.1 MB, free: 15.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003533, allocations: 12 kB / 319.4 MB, free: 62.79 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06073/0.0611, allocations: 39.41 MB / 358.8 MB, free: 23.49 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.Densities): time 0.001319/0.06247, allocations: 1.256 MB / 360 MB, free: 22.21 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007241/0.06321, allocations: 0.5498 MB / 360.6 MB, free: 21.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.06325, allocations: 0 / 360.6 MB, free: 21.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.06328, allocations: 11.94 kB / 360.6 MB, free: 21.65 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.725e-05/0.06334, allocations: 3.938 kB / 360.6 MB, free: 21.64 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.06358, allocations: 39.89 kB / 360.6 MB, free: 21.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.75e-05/0.06366, allocations: 43.86 kB / 360.7 MB, free: 21.56 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.06378, allocations: 24.16 kB / 360.7 MB, free: 21.54 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.871e-05/0.06382, allocations: 11.92 kB / 360.7 MB, free: 21.53 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.348e-05/0.06389, allocations: 23.88 kB / 360.7 MB, free: 21.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.06391, allocations: 0 / 360.7 MB, free: 21.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.06407, allocations: 43.94 kB / 360.8 MB, free: 21.46 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.06409, allocations: 3.938 kB / 360.8 MB, free: 21.46 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.06413, allocations: 49.52 kB / 360.8 MB, free: 21.4 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.06425, allocations: 79.97 kB / 360.9 MB, free: 21.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.06427, allocations: 0 / 360.9 MB, free: 21.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.06427, allocations: 0 / 360.9 MB, free: 21.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.06428, allocations: 0 / 360.9 MB, free: 21.32 MB / 250.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.0003399/0.06463, allocations: 367.4 kB / 361.3 MB, free: 20.92 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.06467, allocations: 8.031 kB / 361.3 MB, free: 20.91 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.06471, allocations: 38.75 kB / 361.3 MB, free: 20.86 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.06503, allocations: 48.73 kB / 361.4 MB, free: 20.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.528e-05/0.06513, allocations: 176.2 kB / 361.5 MB, free: 20.61 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.06516, allocations: 8.375 kB / 361.5 MB, free: 20.6 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.06518, allocations: 12.12 kB / 361.6 MB, free: 20.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.06537, allocations: 77.66 kB / 361.6 MB, free: 20.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.06538, allocations: 3.938 kB / 361.6 MB, free: 20.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.0654, allocations: 4 kB / 361.6 MB, free: 20.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.06541, allocations: 0 / 361.6 MB, free: 20.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.0656, allocations: 75.94 kB / 361.7 MB, free: 20.42 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.06605, allocations: 340.7 kB / 362 MB, free: 20.04 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.06624, allocations: 82.58 kB / 362.1 MB, free: 19.95 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.313e-05/0.06634, allocations: 48.91 kB / 362.2 MB, free: 19.9 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.06637, allocations: 0 / 362.2 MB, free: 19.9 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.06639, allocations: 34.56 kB / 362.2 MB, free: 19.86 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.06639, allocations: 3.984 kB / 362.2 MB, free: 19.85 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003601/0.06676, allocations: 141.5 kB / 362.3 MB, free: 19.71 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.06679, allocations: 55.34 kB / 362.4 MB, free: 19.64 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.835e-05/0.06686, allocations: 126 kB / 362.5 MB, free: 19.51 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.06688, allocations: 29.7 kB / 362.6 MB, free: 19.47 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.06691, allocations: 92.08 kB / 362.6 MB, free: 19.38 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.06693, allocations: 23.7 kB / 362.7 MB, free: 19.36 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-06/0.06695, allocations: 0 / 362.7 MB, free: 19.36 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 4.281e-05/0.06699, allocations: 314.8 kB / 363 MB, free: 19.04 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.995e-05/0.06709, allocations: 31.97 kB / 363 MB, free: 19.01 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.984e-05/0.06718, allocations: 36.23 kB / 363 MB, free: 18.97 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.06735, allocations: 72.94 kB / 363.1 MB, free: 18.9 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.06736, allocations: 0 / 363.1 MB, free: 18.9 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002117/0.06758, allocations: 109.7 kB / 363.2 MB, free: 18.79 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.0676, allocations: 7.938 kB / 363.2 MB, free: 18.78 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.06761, allocations: 0 / 363.2 MB, free: 18.78 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.06763, allocations: 0 / 363.2 MB, free: 18.78 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.06776, allocations: 23.98 kB / 363.3 MB, free: 18.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.06777, allocations: 7.922 kB / 363.3 MB, free: 18.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.06785, allocations: 15.91 kB / 363.3 MB, free: 18.73 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.06786, allocations: 0 / 363.3 MB, free: 18.73 MB / 250.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.653e-05/0.06793, allocations: 121.8 kB / 363.4 MB, free: 18.6 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.06795, allocations: 0 / 363.4 MB, free: 18.6 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.06822, allocations: 121.6 kB / 363.5 MB, free: 18.48 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.06823, allocations: 3.938 kB / 363.5 MB, free: 18.48 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.06824, allocations: 7.922 kB / 363.5 MB, free: 18.47 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.06825, allocations: 4 kB / 363.5 MB, free: 18.46 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.06839, allocations: 193.5 kB / 363.7 MB, free: 18.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.0684, allocations: 7.938 kB / 363.7 MB, free: 18.22 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.0685, allocations: 19.98 kB / 363.7 MB, free: 18.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.06851, allocations: 0 / 363.7 MB, free: 18.2 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.06852, allocations: 3.984 kB / 363.7 MB, free: 18.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.06853, allocations: 0 / 363.7 MB, free: 18.2 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.06854, allocations: 7.875 kB / 363.8 MB, free: 18.19 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.06877, allocations: 207.5 kB / 364 MB, free: 17.97 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.836e-05/0.06879, allocations: 81.2 kB / 364 MB, free: 17.87 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.06882, allocations: 7.984 kB / 364 MB, free: 17.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.06892, allocations: 16 kB / 364.1 MB, free: 17.85 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.06896, allocations: 11.86 kB / 364.1 MB, free: 17.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.06897, allocations: 0 / 364.1 MB, free: 17.84 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.246e-05/0.06901, allocations: 99.27 kB / 364.2 MB, free: 17.74 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.06901, allocations: 0 / 364.2 MB, free: 17.74 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001949/0.06921, allocations: 8 kB / 364.2 MB, free: 17.73 MB / 250.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 (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.0003555/0.06957, allocations: 0.7397 MB / 364.9 MB, free: 16.96 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.06979, allocations: 79.89 kB / 365 MB, free: 16.88 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.0698, allocations: 0 / 365 MB, free: 16.88 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.609e-05/0.0699, allocations: 43.97 kB / 365 MB, free: 16.84 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.07016, allocations: 7.938 kB / 365 MB, free: 16.83 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.07143, allocations: 1.5 MB / 366.5 MB, free: 15.26 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.07156, allocations: 0.6926 MB / 367.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.811e-05/0.07162, allocations: 4 kB / 367.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.07167, allocations: 23.42 kB / 367.3 MB, free: 14.51 MB / 250.7 MB Notification: Performance of SimCode: time 2.2e-07/0.07168, allocations: 0 / 367.3 MB, free: 14.51 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01042/0.0821, allocations: 1.64 MB / 368.9 MB, free: 12.96 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.08233, allocations: 220.5 kB / 369.1 MB, free: 12.69 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/1.678, allocations: 4 kB / 369.1 MB, free: 12.69 MB / 250.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)