Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.NormalNoiseProperties,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001357/0.001357, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 203.9 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.414/1.414, 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.001904/0.001904, allocations: 63.88 kB / 358.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.261, allocations: 50.56 MB / 409.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003072/0.2641, allocations: 1.862 MB / 411 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.2664, allocations: 1.302 MB / 412.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.2665, allocations: 4 kB / 412.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.2666, allocations: 23.67 kB / 412.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.2668, allocations: 31.72 kB / 412.3 MB, free: 14.08 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.0008884/0.2677, allocations: 311.1 kB / 412.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.268, allocations: 215.5 kB / 412.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2681, allocations: 72.25 kB / 412.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.2683, allocations: 95.61 kB / 413 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005777/0.2689, allocations: 121.9 kB / 413.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.2689, allocations: 20 kB / 413.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004776/0.2694, allocations: 279.6 kB / 413.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.784e-05/0.2695, allocations: 55.77 kB / 413.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.2696, allocations: 107.4 kB / 413.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005942/0.2702, allocations: 393.7 kB / 413.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2702, allocations: 0 / 413.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2702, allocations: 7.938 kB / 414 MB, free: 12.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.2703, allocations: 0 / 414 MB, free: 12.44 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.00113/0.2714, allocations: 0.5773 MB / 414.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2714, allocations: 12.03 kB / 414.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.485e-05/0.2715, allocations: 58.56 kB / 414.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.2718, allocations: 40.78 kB / 414.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.2721, allocations: 236.9 kB / 414.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.2721, allocations: 16.38 kB / 414.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.2722, allocations: 27.92 kB / 414.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.2727, allocations: 202.2 kB / 415.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2727, allocations: 0 / 415.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.2727, allocations: 12 kB / 415.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2727, allocations: 8 kB / 415.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005133/0.2732, allocations: 152.2 kB / 415.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.2744, allocations: 0.5826 MB / 415.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2755, allocations: 298.7 kB / 416.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.2758, allocations: 120.7 kB / 416.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.2759, allocations: 0 / 416.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004239/0.2763, allocations: 163.3 kB / 416.4 MB, free: 9.781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.174e-06/0.2763, allocations: 0 / 416.4 MB, free: 9.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001089/0.2774, allocations: 357.4 kB / 416.8 MB, free: 9.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.2775, allocations: 55.41 kB / 416.8 MB, free: 9.363 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.2777, allocations: 238.6 kB / 417.1 MB, free: 9.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/0.2778, allocations: 33.7 kB / 417.1 MB, free: 9.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.2779, allocations: 136.6 kB / 417.2 MB, free: 8.941 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.923e-05/0.278, allocations: 71.39 kB / 417.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.2781, allocations: 73.61 kB / 417.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2783, allocations: 334.8 kB / 417.7 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.2786, allocations: 139.9 kB / 417.8 MB, free: 8.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.279, allocations: 153.6 kB / 418 MB, free: 8.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006965/0.2797, allocations: 271.2 kB / 418.3 MB, free: 7.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2797, allocations: 4 kB / 418.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009222/0.2807, allocations: 374 kB / 418.6 MB, free: 7.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2807, allocations: 8 kB / 418.6 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2807, allocations: 0 / 418.6 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2807, allocations: 0 / 418.6 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.2811, allocations: 75.88 kB / 418.7 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.2811, allocations: 4 kB / 418.7 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.2813, allocations: 43.81 kB / 418.8 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.2813, allocations: 8 kB / 418.8 MB, free: 7.383 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.0001606/0.2815, allocations: 145.7 kB / 418.9 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.2815, allocations: 27.78 kB / 418.9 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.138e-05/0.2816, allocations: 17.88 kB / 418.9 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2816, allocations: 4 kB / 418.9 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2816, allocations: 0 / 418.9 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.2816, allocations: 7.984 kB / 419 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.2828, allocations: 0.6229 MB / 419.6 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.2828, allocations: 3.984 kB / 419.6 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.2831, allocations: 43.97 kB / 419.6 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2831, allocations: 0 / 419.6 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.2831, allocations: 11.98 kB / 419.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2831, allocations: 0 / 419.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2832, allocations: 0 / 419.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.2843, allocations: 483 kB / 420.1 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.2844, allocations: 108.8 kB / 420.2 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.2844, allocations: 8.062 kB / 420.2 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.2846, allocations: 23.97 kB / 420.2 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.2847, allocations: 15.98 kB / 420.3 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.2847, allocations: 4 kB / 420.3 MB, free: 5.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.2848, allocations: 156.7 kB / 420.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2849, allocations: 0 / 420.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004442/0.2853, allocations: 103.8 kB / 420.5 MB, free: 5.516 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.001951/0.2873, allocations: 1.175 MB / 421.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008218/0.2881, allocations: 287.6 kB / 422 MB, free: 4.059 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2881, allocations: 0 / 422 MB, free: 4.059 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.2884, allocations: 111.9 kB / 422.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.2888, allocations: 39.81 kB / 422.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/0.2934, allocations: 2.818 MB / 424.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.2939, allocations: 0.7436 MB / 425.7 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.294, allocations: 33.92 kB / 425.7 MB, free: 208 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.2942, allocations: 75.41 kB / 425.8 MB, free: 132 kB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2942, allocations: 0 / 425.8 MB, free: 132 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.3245, allocations: 6.055 MB / 431.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.488/8.812, allocations: 3.938 kB / 431.9 MB, free: 10.2 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_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_NormalNoiseProperties.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1)