Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.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.001519/0.001519, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001568/0.001568, allocations: 192.8 kB / 24.5 MB, free: 4.02 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.421/1.421, allocations: 225.6 MB / 253.3 MB, free: 13.05 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.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 43.92 kB / 371.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3125, allocations: 52.18 MB / 423.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.003269/0.3158, allocations: 1.349 MB / 424.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3169, allocations: 365.5 kB / 425.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.3169, allocations: 0 / 425.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.096e-05/0.317, allocations: 0 / 425.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.564e-05/0.317, allocations: 7.922 kB / 425.1 MB, free: 12.91 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.0007006/0.3177, allocations: 91.7 kB / 425.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.3178, allocations: 19.94 kB / 425.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.196e-05/0.3179, allocations: 7.922 kB / 425.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.56e-05/0.3179, allocations: 11.98 kB / 425.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.451e-05/0.318, allocations: 7.938 kB / 425.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.318, allocations: 0 / 425.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.3183, allocations: 123.8 kB / 425.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.3183, allocations: 3.984 kB / 425.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.3184, allocations: 11.88 kB / 425.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.3186, allocations: 83.56 kB / 425.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.3186, allocations: 4 kB / 425.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3186, allocations: 4 kB / 425.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.3186, allocations: 0 / 425.5 MB, free: 12.55 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004913/0.3191, allocations: 275.1 kB / 425.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.3191, allocations: 8.031 kB / 425.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.752e-05/0.3192, allocations: 8.125 kB / 425.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.601e-05/0.3192, allocations: 34.7 kB / 425.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.3193, allocations: 0.9375 kB / 425.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3194, allocations: 114.5 kB / 425.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.3194, allocations: 384 / 425.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.3194, allocations: 15.94 kB / 425.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.3195, allocations: 37.67 kB / 426 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3195, allocations: 4 kB / 426 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.3196, allocations: 4 kB / 426 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3196, allocations: 3.938 kB / 426 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.808e-05/0.3196, allocations: 4 kB / 426 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.32, allocations: 227.9 kB / 426.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.186e-05/0.3201, allocations: 30.58 kB / 426.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.3201, allocations: 20.94 kB / 426.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.3201, allocations: 0 / 426.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.3203, allocations: 59.34 kB / 426.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3203, allocations: 0 / 426.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003583/0.3207, allocations: 101.5 kB / 426.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.3207, allocations: 55.41 kB / 426.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3208, allocations: 109.8 kB / 426.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3209, allocations: 29.7 kB / 426.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.3209, allocations: 80.14 kB / 426.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.3209, allocations: 19.84 kB / 426.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.321, allocations: 21.72 kB / 426.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003042/0.3213, allocations: 318.8 kB / 427 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.227e-05/0.3213, allocations: 11.98 kB / 427.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.3214, allocations: 38.56 kB / 427.1 MB, free: 10.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.16e-05/0.3214, allocations: 42.52 kB / 427.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3214, allocations: 3.938 kB / 427.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00012/0.3216, allocations: 69.62 kB / 427.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3216, allocations: 8 kB / 427.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3216, allocations: 0 / 427.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3216, allocations: 0 / 427.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.607e-05/0.3217, allocations: 20.05 kB / 427.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.3217, allocations: 0 / 427.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.3217, allocations: 3.938 kB / 427.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.3217, allocations: 7.938 kB / 427.2 MB, free: 10.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * 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.000103/0.3218, allocations: 117.8 kB / 427.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.3218, allocations: 3.953 kB / 427.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.3219, allocations: 8.375 kB / 427.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3219, allocations: 4.75 kB / 427.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3219, allocations: 0 / 427.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3219, allocations: 7.984 kB / 427.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.3223, allocations: 295.3 kB / 427.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3223, allocations: 7.984 kB / 427.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.3223, allocations: 8 kB / 427.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3223, allocations: 0 / 427.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.3223, allocations: 11.94 kB / 427.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3223, allocations: 3.938 kB / 427.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3223, allocations: 0 / 427.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.3225, allocations: 177.3 kB / 427.9 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.3225, allocations: 7.984 kB / 427.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.3225, allocations: 3.938 kB / 427.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.331e-05/0.3226, allocations: 0 / 427.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.3226, allocations: 4 kB / 427.9 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.3226, allocations: 12 kB / 427.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.946e-05/0.3227, allocations: 83.27 kB / 428 MB, free: 9.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3227, allocations: 0 / 428 MB, free: 9.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.323, allocations: 27.94 kB / 428 MB, free: 9.734 MB / 334.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: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009119/0.3239, allocations: 0.8003 MB / 428.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.3241, allocations: 35.98 kB / 428.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3241, allocations: 4.062 kB / 428.8 MB, free: 8.891 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.584e-05/0.3241, allocations: 19.91 kB / 428.9 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.3243, allocations: 10.81 kB / 428.9 MB, free: 8.863 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.3258, allocations: 1.307 MB / 430.2 MB, free: 7.453 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.3261, allocations: 0.6883 MB / 430.9 MB, free: 6.738 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.583e-05/0.3262, allocations: 12.2 kB / 430.9 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.3262, allocations: 15.44 kB / 430.9 MB, free: 6.711 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3262, allocations: 3.938 kB / 430.9 MB, free: 6.707 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.349, allocations: 2.223 MB / 433.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.62, allocations: 8.062 kB / 433.1 MB, free: 4.629 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --stepSize=0.000384541 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.994682984950487] Failed to read output from testmodel.py, exit status != 0: ['time', 'impureRandom_y'] 11.774375956039876 11.79035228 11.468467303 Calling exit ...