Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001597/0.001597, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.45/1.45, allocations: 227.7 MB / 247.2 MB, free: 10.19 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 59.91 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2732, allocations: 50.55 MB / 409.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003056/0.2763, allocations: 1.602 MB / 410.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.2775, allocations: 0.5571 MB / 411.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.2775, allocations: 4 kB / 411.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.2776, allocations: 11.81 kB / 411.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.09e-05/0.2777, allocations: 3.938 kB / 411.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.278, allocations: 59.75 kB / 411.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.935e-05/0.2781, allocations: 43.92 kB / 411.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.2782, allocations: 23.98 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.2783, allocations: 19.86 kB / 411.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.259e-05/0.2784, allocations: 31.84 kB / 411.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.2784, allocations: 4 kB / 411.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.2787, allocations: 59.89 kB / 411.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.2787, allocations: 11.94 kB / 411.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.2787, allocations: 27.8 kB / 411.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.2789, allocations: 86.78 kB / 411.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2789, allocations: 0 / 411.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2789, allocations: 0 / 411.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.279, allocations: 0 / 411.6 MB, free: 14.83 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005239/0.2795, allocations: 375.2 kB / 412 MB, free: 14.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.2795, allocations: 12.03 kB / 412 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.308e-05/0.2796, allocations: 42.69 kB / 412 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004275/0.28, allocations: 60.77 kB / 412.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.2802, allocations: 176.2 kB / 412.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.2803, allocations: 8.375 kB / 412.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.2803, allocations: 8.312 kB / 412.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.2805, allocations: 93.77 kB / 412.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.2805, allocations: 0 / 412.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2806, allocations: 8 kB / 412.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2806, allocations: 0 / 412.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.2808, allocations: 71.88 kB / 412.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006473/0.2815, allocations: 368.4 kB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.2817, allocations: 78.52 kB / 412.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.2818, allocations: 32.97 kB / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.2818, allocations: 3.984 kB / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.2819, allocations: 38.55 kB / 413 MB, free: 13.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.2819, allocations: 0 / 413 MB, free: 13.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.000444/0.2823, allocations: 125.5 kB / 413.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.2824, allocations: 51.41 kB / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.2825, allocations: 133.2 kB / 413.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.2825, allocations: 25.7 kB / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.2826, allocations: 100 kB / 413.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.2827, allocations: 19.86 kB / 413.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.2827, allocations: 25.7 kB / 413.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.2828, allocations: 310.8 kB / 413.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.974e-05/0.283, allocations: 31.97 kB / 413.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-05/0.2831, allocations: 23.98 kB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.2832, allocations: 65.19 kB / 413.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2833, allocations: 4 kB / 413.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002529/0.2835, allocations: 89.59 kB / 413.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2835, allocations: 11.44 kB / 414 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2836, allocations: 0 / 414 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2836, allocations: 3.938 kB / 414 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.2837, allocations: 19.97 kB / 414 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.2837, allocations: 0 / 414 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.021e-05/0.2838, allocations: 23.88 kB / 414 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.2839, allocations: 4 kB / 414 MB, free: 12.2 MB / 334.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: 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 8.985e-05/0.2839, allocations: 109.8 kB / 414.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.284, allocations: 4 kB / 414.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.2843, allocations: 121.4 kB / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2843, allocations: 3.938 kB / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2843, allocations: 4 kB / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2843, allocations: 0 / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.2846, allocations: 193.6 kB / 414.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2846, allocations: 3.938 kB / 414.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.2847, allocations: 19.98 kB / 414.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2847, allocations: 0 / 414.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.2847, allocations: 3.938 kB / 414.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2847, allocations: 3.984 kB / 414.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2848, allocations: 0 / 414.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.2851, allocations: 199.5 kB / 414.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.2851, allocations: 77.17 kB / 414.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.2852, allocations: 15.92 kB / 414.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.2853, allocations: 8 kB / 414.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.2853, allocations: 7.984 kB / 414.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.2853, allocations: 0 / 414.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.898e-05/0.2854, allocations: 99.27 kB / 414.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2854, allocations: 0 / 414.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.2857, allocations: 19.89 kB / 414.9 MB, free: 11.22 MB / 334.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: 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.0007689/0.2864, allocations: 0.7593 MB / 415.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.2867, allocations: 71.86 kB / 415.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2867, allocations: 0 / 415.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.2868, allocations: 39.97 kB / 415.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.2872, allocations: 4 kB / 415.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.289, allocations: 1.468 MB / 417.2 MB, free: 8.773 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.2894, allocations: 0.6885 MB / 417.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.361e-05/0.2895, allocations: 11.98 kB / 417.9 MB, free: 8.047 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.2895, allocations: 23.44 kB / 417.9 MB, free: 8.023 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2895, allocations: 0 / 417.9 MB, free: 8.023 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.314, allocations: 1.906 MB / 419.9 MB, free: 6.207 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.49, allocations: 7.062 kB / 419.9 MB, free: 6.203 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1)