Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 105.7 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 219.9 kB / 22.92 MB, free: 5.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.298/1.298, allocations: 230.4 MB / 256.4 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 179] 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.Distributions,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001876/0.001876, allocations: 67.89 kB / 376.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2153, allocations: 53.31 MB / 429.4 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002487/0.2178, allocations: 1.558 MB / 431 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002304/0.2201, allocations: 1.508 MB / 432.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.2202, allocations: 3.938 kB / 432.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.078e-05/0.2203, allocations: 15.86 kB / 432.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.013e-05/0.2204, allocations: 23.78 kB / 432.5 MB, free: 4.332 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.0009468/0.2213, allocations: 398.8 kB / 432.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.2215, allocations: 123.7 kB / 433 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.2215, allocations: 9.484 kB / 433 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.464e-05/0.2216, allocations: 59.7 kB / 433.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005494/0.2221, allocations: 89.69 kB / 433.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.2221, allocations: 12 kB / 433.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000635/0.2228, allocations: 435.2 kB / 433.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.2228, allocations: 39.91 kB / 433.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.156e-05/0.2229, allocations: 67.53 kB / 433.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005431/0.2235, allocations: 403.1 kB / 434.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2235, allocations: 0 / 434.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2235, allocations: 0 / 434.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.2235, allocations: 0 / 434.1 MB, free: 2.734 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007558/0.2242, allocations: 0.5252 MB / 434.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2243, allocations: 12.03 kB / 434.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.603e-05/0.2243, allocations: 42.73 kB / 434.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.2245, allocations: 32.83 kB / 434.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.2247, allocations: 205 kB / 434.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.2247, allocations: 12.31 kB / 434.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.2248, allocations: 15.92 kB / 435 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.225, allocations: 124.2 kB / 435.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.225, allocations: 4 kB / 435.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.225, allocations: 7.984 kB / 435.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.225, allocations: 7.875 kB / 435.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.2252, allocations: 63.95 kB / 435.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007222/0.226, allocations: 0.5554 MB / 435.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.2263, allocations: 143.9 kB / 435.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.2264, allocations: 62.61 kB / 435.9 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.2264, allocations: 0 / 435.9 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.2267, allocations: 153.8 kB / 436.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 2.906e-06/0.2267, allocations: 3.984 kB / 436.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005577/0.2272, allocations: 249.4 kB / 436.3 MB, free: 308 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/0.2273, allocations: 118.8 kB / 436.4 MB, free: 164 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.2275, allocations: 207.9 kB / 436.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.2276, allocations: 41.69 kB / 436.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.2276, allocations: 120.5 kB / 436.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.2277, allocations: 43.67 kB / 436.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.2278, allocations: 53.7 kB / 436.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2279, allocations: 334.8 kB / 437.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.2281, allocations: 99.94 kB / 437.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.2283, allocations: 132.3 kB / 437.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.2286, allocations: 223.7 kB / 437.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2286, allocations: 3.938 kB / 437.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005013/0.2292, allocations: 305.4 kB / 438 MB, free: 14.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2292, allocations: 6.812 kB / 438 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2292, allocations: 4 kB / 438 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2292, allocations: 0 / 438 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.2293, allocations: 39.86 kB / 438 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2293, allocations: 0 / 438 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.718e-05/0.2294, allocations: 27.83 kB / 438 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.2294, allocations: 11.98 kB / 438 MB, free: 14.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1],uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * 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.0001284/0.2296, allocations: 149.9 kB / 438.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.2296, allocations: 15.91 kB / 438.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.2296, allocations: 17.39 kB / 438.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2296, allocations: 3.938 kB / 438.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.2296, allocations: 8 kB / 438.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2297, allocations: 0 / 438.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.2299, allocations: 213.5 kB / 438.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2299, allocations: 0 / 438.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.564e-05/0.2299, allocations: 19.92 kB / 438.5 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2299, allocations: 4 kB / 438.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.2299, allocations: 0 / 438.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.2299, allocations: 7.938 kB / 438.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2299, allocations: 3.938 kB / 438.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.2303, allocations: 242.6 kB / 438.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.2304, allocations: 92.95 kB / 438.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.2304, allocations: 15.94 kB / 438.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.2305, allocations: 11.92 kB / 438.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.2305, allocations: 19.92 kB / 438.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.2305, allocations: 4 kB / 438.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.2306, allocations: 137.2 kB / 439 MB, free: 13.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2306, allocations: 0 / 439 MB, free: 13.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004195/0.2311, allocations: 127.7 kB / 439.1 MB, free: 13.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001394/0.2325, allocations: 1.056 MB / 440.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004091/0.2329, allocations: 183.8 kB / 440.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2329, allocations: 0 / 440.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.233, allocations: 63.89 kB / 440.4 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.2332, allocations: 11.98 kB / 440.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.2358, allocations: 2.331 MB / 442.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.2361, allocations: 0.7123 MB / 443.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.937e-05/0.2362, allocations: 29.41 kB / 443.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.973e-05/0.2363, allocations: 47.61 kB / 443.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2363, allocations: 0 / 443.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.2645, allocations: 5.55 MB / 449.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/7.657, allocations: 3.219 kB / 449.1 MB, free: 3.27 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Distributions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Distributions.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.777563982999709]