Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 47.92 kB / 371.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2807, allocations: 52.19 MB / 423.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.00276/0.2834, allocations: 1.539 MB / 425 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.2859, allocations: 1.468 MB / 426.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.286, allocations: 0 / 426.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.74e-05/0.286, allocations: 11.81 kB / 426.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.305e-05/0.2861, allocations: 23.8 kB / 426.5 MB, free: 11.53 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.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.001016/0.2872, allocations: 398.7 kB / 426.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.2873, allocations: 135.6 kB / 427 MB, free: 11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.2874, allocations: 5.688 kB / 427 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.104e-05/0.2875, allocations: 59.7 kB / 427 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006108/0.2881, allocations: 82.08 kB / 427.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.2881, allocations: 12 kB / 427.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007376/0.2888, allocations: 463.1 kB / 427.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.09e-05/0.2889, allocations: 47.77 kB / 427.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.882e-05/0.289, allocations: 59.61 kB / 427.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005873/0.2896, allocations: 403.5 kB / 428.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2896, allocations: 0 / 428.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2896, allocations: 0 / 428.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.2896, allocations: 0 / 428.1 MB, free: 9.902 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.0007947/0.2904, allocations: 448.8 kB / 428.5 MB, free: 9.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.2904, allocations: 12.03 kB / 428.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.022e-05/0.2905, allocations: 4.172 kB / 428.5 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.241e-05/0.2905, allocations: 46.7 kB / 428.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.2907, allocations: 36.81 kB / 428.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.2909, allocations: 167.2 kB / 428.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.2909, allocations: 4 kB / 428.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.291, allocations: 8 kB / 428.8 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.2913, allocations: 136.1 kB / 428.9 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2913, allocations: 0 / 428.9 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.2913, allocations: 11.98 kB / 428.9 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.2913, allocations: 7.984 kB / 429 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.2915, allocations: 63.95 kB / 429 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008475/0.2924, allocations: 0.5429 MB / 429.6 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.2928, allocations: 159.9 kB / 429.7 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.2929, allocations: 74.56 kB / 429.8 MB, free: 8.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.2929, allocations: 0 / 429.8 MB, free: 8.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003216/0.2932, allocations: 167.3 kB / 430 MB, free: 7.852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.2932, allocations: 4 kB / 430 MB, free: 7.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001055/0.2943, allocations: 448.6 kB / 430.4 MB, free: 7.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.211e-05/0.2944, allocations: 118.8 kB / 430.5 MB, free: 7.262 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.2946, allocations: 191.2 kB / 430.7 MB, free: 7.066 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.2947, allocations: 49.69 kB / 430.7 MB, free: 7.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/0.2948, allocations: 120.8 kB / 430.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.05e-05/0.2948, allocations: 59.55 kB / 430.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2949, allocations: 69.62 kB / 431 MB, free: 6.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2951, allocations: 330.8 kB / 431.3 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.2953, allocations: 103.9 kB / 431.4 MB, free: 6.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.2956, allocations: 166.1 kB / 431.6 MB, free: 6.145 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.296, allocations: 256.1 kB / 431.8 MB, free: 5.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.296, allocations: 0 / 431.8 MB, free: 5.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006179/0.2966, allocations: 339.5 kB / 432.2 MB, free: 5.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2966, allocations: 8 kB / 432.2 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2966, allocations: 0 / 432.2 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2967, allocations: 4 kB / 432.2 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.2969, allocations: 48.06 kB / 432.2 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2969, allocations: 4 kB / 432.2 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.207e-05/0.2969, allocations: 8 kB / 432.2 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.297, allocations: 11.98 kB / 432.2 MB, free: 5.461 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (35): * Single equations (assignments): 33 * 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.0001804/0.2972, allocations: 157.7 kB / 432.4 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.2972, allocations: 19.89 kB / 432.4 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.2972, allocations: 18.34 kB / 432.4 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2972, allocations: 7.938 kB / 432.4 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2972, allocations: 4 kB / 432.4 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.2972, allocations: 0 / 432.4 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008677/0.2981, allocations: 0.6172 MB / 433.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2981, allocations: 4.062 kB / 433.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.966e-05/0.2982, allocations: 23.97 kB / 433.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2982, allocations: 4 kB / 433.1 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.2982, allocations: 11.98 kB / 433.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.2982, allocations: 7.938 kB / 433.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2982, allocations: 3.938 kB / 433.1 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.2987, allocations: 430.4 kB / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.2988, allocations: 15.91 kB / 433.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.2988, allocations: 15.98 kB / 433.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2989, allocations: 8 kB / 433.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.299, allocations: 27.84 kB / 433.6 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.299, allocations: 4 kB / 433.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.2991, allocations: 147.2 kB / 433.7 MB, free: 3.848 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2991, allocations: 0 / 433.7 MB, free: 3.848 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005036/0.2997, allocations: 123.7 kB / 433.9 MB, free: 3.727 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (n,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.00174/0.3014, allocations: 1.255 MB / 435.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004979/0.3019, allocations: 217.4 kB / 435.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3019, allocations: 0 / 435.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.3021, allocations: 76.45 kB / 435.4 MB, free: 2.172 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.3024, allocations: 26.92 kB / 435.4 MB, free: 2.152 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/0.3058, allocations: 2.624 MB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.3062, allocations: 0.7281 MB / 438.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.144e-05/0.3063, allocations: 21.47 kB / 438.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.3064, allocations: 51.42 kB / 438.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3064, allocations: 0 / 438.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.3337, allocations: 6.001 MB / 444.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.81, allocations: 10.91 kB / 444.9 MB, free: 8.695 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.218026470975019] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 11.970375297009014 11.987997541 11.694810625 Calling exit ...