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.001669/0.001669, allocations: 121.8 kB / 17.84 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00185/0.00185, allocations: 199.5 kB / 18.79 MB, free: 4.289 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.416/1.416, allocations: 230.4 MB / 250 MB, free: 9.051 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.00199/0.00199, allocations: 71.83 kB / 366.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3151, allocations: 53.31 MB / 420.2 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.0032/0.3183, allocations: 1.882 MB / 422.1 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.3206, allocations: 1.313 MB / 423.4 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.3207, allocations: 4 kB / 423.4 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.3209, allocations: 19.73 kB / 423.4 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.321, allocations: 35.73 kB / 423.4 MB, free: 5.012 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.0009113/0.3219, allocations: 311 kB / 423.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.3222, allocations: 219.4 kB / 423.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.3224, allocations: 52.27 kB / 424 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.3225, allocations: 99.61 kB / 424.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005919/0.3231, allocations: 118.2 kB / 424.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.3232, allocations: 20 kB / 424.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.3236, allocations: 299.5 kB / 424.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.982e-05/0.3237, allocations: 59.81 kB / 424.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.3238, allocations: 99.44 kB / 424.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005715/0.3244, allocations: 389.7 kB / 425.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3244, allocations: 3.938 kB / 425.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3244, allocations: 0 / 425.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3244, allocations: 0 / 425.1 MB, free: 3.379 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.001131/0.3256, allocations: 0.5918 MB / 425.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3256, allocations: 8.031 kB / 425.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.882e-05/0.3257, allocations: 54.67 kB / 425.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.3259, allocations: 36.78 kB / 425.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.3262, allocations: 244.9 kB / 426 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.3262, allocations: 16.38 kB / 426 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.3262, allocations: 23.94 kB / 426 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.3268, allocations: 210.2 kB / 426.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.3268, allocations: 0 / 426.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.3268, allocations: 4 kB / 426.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3268, allocations: 4 kB / 426.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/0.3273, allocations: 160.2 kB / 426.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.3284, allocations: 0.5787 MB / 427 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.3294, allocations: 298.7 kB / 427.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.3297, allocations: 104.8 kB / 427.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.3297, allocations: 3.984 kB / 427.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004223/0.3302, allocations: 167.3 kB / 427.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.944e-06/0.3302, allocations: 0 / 427.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001037/0.3312, allocations: 357.2 kB / 427.9 MB, free: 376 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.3313, allocations: 55.41 kB / 427.9 MB, free: 308 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.3315, allocations: 230.7 kB / 428.2 MB, free: 64 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.3315, allocations: 37.7 kB / 428.2 MB, free: 20 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3316, allocations: 136.5 kB / 428.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/0.3317, allocations: 79.38 kB / 428.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3318, allocations: 69.67 kB / 428.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.332, allocations: 342.7 kB / 428.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.3323, allocations: 127.9 kB / 428.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.3327, allocations: 161.6 kB / 429.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/0.3333, allocations: 275.2 kB / 429.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3333, allocations: 0 / 429.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008354/0.3342, allocations: 370 kB / 429.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3342, allocations: 4 kB / 429.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3342, allocations: 4.031 kB / 429.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3342, allocations: 4 kB / 429.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.3345, allocations: 71.88 kB / 429.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.3345, allocations: 0 / 429.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.3347, allocations: 39.81 kB / 429.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.3347, allocations: 12 kB / 429.9 MB, free: 14.32 MB / 350.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.0001564/0.3349, allocations: 149.7 kB / 430 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.3349, allocations: 19.86 kB / 430 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.335, allocations: 21.88 kB / 430.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.335, allocations: 0 / 430.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.335, allocations: 4 kB / 430.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.335, allocations: 3.984 kB / 430.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.3361, allocations: 0.6322 MB / 430.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3361, allocations: 0 / 430.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.3363, allocations: 35.97 kB / 430.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3364, allocations: 3.938 kB / 430.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.3364, allocations: 15.98 kB / 430.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3364, allocations: 0 / 430.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3364, allocations: 3.938 kB / 430.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3374, allocations: 484.2 kB / 431.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.105e-05/0.3375, allocations: 104.8 kB / 431.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.3375, allocations: 8.062 kB / 431.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.3377, allocations: 19.97 kB / 431.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.3378, allocations: 15.98 kB / 431.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3378, allocations: 8 kB / 431.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.3379, allocations: 160.7 kB / 431.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3379, allocations: 0 / 431.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004217/0.3384, allocations: 99.8 kB / 431.6 MB, free: 12.46 MB / 350.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.001859/0.3402, allocations: 1.176 MB / 432.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007605/0.341, allocations: 275.5 kB / 433.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.341, allocations: 0 / 433.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.3413, allocations: 107.9 kB / 433.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.3416, allocations: 32.25 kB / 433.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.3459, allocations: 2.825 MB / 436 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.3463, allocations: 0.7397 MB / 436.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.3464, allocations: 29.94 kB / 436.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.3466, allocations: 71.41 kB / 436.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.3466, allocations: 0 / 436.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/0.381, allocations: 6.111 MB / 443 MB, free: 1.121 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/8.792, allocations: 18.84 kB / 443 MB, free: 1.109 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)