Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.UniformNoiseProperties,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001926/0.001926, allocations: 117.2 kB / 17.78 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002302/0.002302, allocations: 200.6 kB / 18.73 MB, free: 4.426 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.504/1.504, allocations: 227.7 MB / 247.2 MB, free: 10.2 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.001966/0.001966, allocations: 67.89 kB / 358.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.287, allocations: 50.55 MB / 409.1 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003252/0.2903, allocations: 1.87 MB / 410.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.2924, allocations: 1.009 MB / 412 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.2925, allocations: 7.938 kB / 412 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.2927, allocations: 19.73 kB / 412 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.2929, allocations: 39.66 kB / 412 MB, free: 14.4 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.2936, allocations: 175.6 kB / 412.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.2939, allocations: 227.4 kB / 412.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.2941, allocations: 68.25 kB / 412.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.2942, allocations: 95.61 kB / 412.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000679/0.2949, allocations: 125.7 kB / 412.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.2949, allocations: 20 kB / 412.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.2952, allocations: 123.8 kB / 412.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.823e-05/0.2953, allocations: 59.75 kB / 412.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.2954, allocations: 103.5 kB / 413 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000446/0.2959, allocations: 293.9 kB / 413.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2959, allocations: 0 / 413.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2959, allocations: 4 kB / 413.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.2959, allocations: 0 / 413.3 MB, free: 13.14 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001183/0.2971, allocations: 0.558 MB / 413.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2971, allocations: 16.02 kB / 413.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.847e-05/0.2972, allocations: 54.69 kB / 413.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.2974, allocations: 36.78 kB / 414 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.2977, allocations: 244.9 kB / 414.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.2978, allocations: 12.38 kB / 414.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.2978, allocations: 23.94 kB / 414.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.2984, allocations: 210.2 kB / 414.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2984, allocations: 4 kB / 414.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.2984, allocations: 4 kB / 414.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.2984, allocations: 7.938 kB / 414.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.299, allocations: 160.1 kB / 414.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.3001, allocations: 0.5826 MB / 415.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.3012, allocations: 298.7 kB / 415.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.3015, allocations: 116.8 kB / 415.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.3016, allocations: 7.984 kB / 415.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.302, allocations: 155.3 kB / 415.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.254e-06/0.302, allocations: 4 kB / 415.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001077/0.3031, allocations: 357.8 kB / 416.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.3032, allocations: 67.41 kB / 416.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.3035, allocations: 222.7 kB / 416.4 MB, free: 9.828 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.3035, allocations: 41.7 kB / 416.4 MB, free: 9.781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3036, allocations: 132.6 kB / 416.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/0.3037, allocations: 79.36 kB / 416.6 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.3038, allocations: 69.69 kB / 416.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.304, allocations: 338.8 kB / 417 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.3044, allocations: 135.9 kB / 417.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.3048, allocations: 153.6 kB / 417.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006985/0.3055, allocations: 271.2 kB / 417.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3055, allocations: 0 / 417.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009036/0.3064, allocations: 378 kB / 418 MB, free: 8.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3064, allocations: 7.938 kB / 418 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3065, allocations: 4 kB / 418 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3065, allocations: 0 / 418 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.3068, allocations: 71.89 kB / 418 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3068, allocations: 3.984 kB / 418 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.307, allocations: 47.8 kB / 418.1 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.307, allocations: 11.98 kB / 418.1 MB, free: 8.078 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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 0.0001704/0.3072, allocations: 141.7 kB / 418.2 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.3073, allocations: 23.84 kB / 418.3 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.615e-05/0.3073, allocations: 21.86 kB / 418.3 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3074, allocations: 8 kB / 418.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.3074, allocations: 0 / 418.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3074, allocations: 0 / 418.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.3086, allocations: 0.6261 MB / 418.9 MB, free: 7.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3086, allocations: 4 kB / 418.9 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.3088, allocations: 47.89 kB / 419 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3088, allocations: 0 / 419 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.3089, allocations: 8 kB / 419 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3089, allocations: 0 / 419 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3089, allocations: 0 / 419 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.31, allocations: 483 kB / 419.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.515e-05/0.3101, allocations: 104.8 kB / 419.5 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.3102, allocations: 12.06 kB / 419.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.3103, allocations: 23.97 kB / 419.6 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.3104, allocations: 11.98 kB / 419.6 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3104, allocations: 4 kB / 419.6 MB, free: 6.477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001734/0.3106, allocations: 164.7 kB / 419.8 MB, free: 6.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3106, allocations: 0 / 419.8 MB, free: 6.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003712/0.311, allocations: 59.94 kB / 419.8 MB, free: 6.258 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001826/0.3128, allocations: 1.114 MB / 420.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008014/0.3136, allocations: 283.5 kB / 421.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3137, allocations: 0 / 421.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.314, allocations: 126.4 kB / 421.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.3143, allocations: 23.94 kB / 421.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.3189, allocations: 2.81 MB / 424.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.3193, allocations: 0.7475 MB / 424.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.3195, allocations: 29.94 kB / 424.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.3196, allocations: 71.41 kB / 425 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3196, allocations: 0 / 425 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.3495, allocations: 5.289 MB / 430.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.445/8.795, allocations: 8.062 kB / 430.3 MB, free: 11.78 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1)