Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.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.001633/0.001633, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002061/0.002061, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.565/1.565, allocations: 230.6 MB / 258.3 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] 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.ImpureGenerator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_ImpureGenerator",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.002018/0.002018, allocations: 68.77 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3447, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.003375/0.3481, allocations: 1.359 MB / 433.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3491, allocations: 374.8 kB / 433.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.3492, allocations: 0 / 433.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.826e-05/0.3492, allocations: 3.938 kB / 433.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.256e-05/0.3493, allocations: 0 / 433.6 MB, free: 5.141 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.0006765/0.35, allocations: 91.7 kB / 433.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.712e-05/0.3501, allocations: 23.92 kB / 433.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.3501, allocations: 0 / 433.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.3501, allocations: 11.92 kB / 433.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.408e-05/0.3502, allocations: 7.938 kB / 433.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.3502, allocations: 4 kB / 433.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.3505, allocations: 123.8 kB / 433.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.3505, allocations: 11.98 kB / 433.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.3506, allocations: 3.938 kB / 433.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.3508, allocations: 83.62 kB / 434 MB, free: 4.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3508, allocations: 0 / 434 MB, free: 4.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3508, allocations: 0 / 434 MB, free: 4.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.3508, allocations: 4 kB / 434 MB, free: 4.785 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.0005805/0.3514, allocations: 271.1 kB / 434.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.3515, allocations: 12.03 kB / 434.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.05e-05/0.3516, allocations: 34.75 kB / 434.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.3516, allocations: 0.9375 kB / 434.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3517, allocations: 118.4 kB / 434.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.3518, allocations: 4.375 kB / 434.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3518, allocations: 4.375 kB / 434.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.3519, allocations: 42.19 kB / 434.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.3519, allocations: 3.938 kB / 434.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.352, allocations: 0 / 434.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.352, allocations: 0 / 434.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.311e-05/0.352, allocations: 15.98 kB / 434.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.3525, allocations: 212.1 kB / 434.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.73e-05/0.3526, allocations: 38.44 kB / 434.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.3526, allocations: 8.922 kB / 434.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.3526, allocations: 0 / 434.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.3528, allocations: 63.33 kB / 434.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.3528, allocations: 0 / 434.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002275/0.353, allocations: 57.61 kB / 434.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.3531, allocations: 51.41 kB / 434.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.3532, allocations: 109.8 kB / 435 MB, free: 3.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.3532, allocations: 29.69 kB / 435.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.3533, allocations: 80.14 kB / 435.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.855e-05/0.3533, allocations: 15.89 kB / 435.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.3534, allocations: 17.72 kB / 435.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.3536, allocations: 318.8 kB / 435.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.419e-05/0.3536, allocations: 4 kB / 435.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.3536, allocations: 21.72 kB / 435.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.162e-05/0.3537, allocations: 33.64 kB / 435.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3537, allocations: 3.938 kB / 435.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001018/0.3538, allocations: 53.69 kB / 435.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3538, allocations: 8 kB / 435.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3538, allocations: 0 / 435.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3538, allocations: 3.938 kB / 435.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.3539, allocations: 8 kB / 435.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.3539, allocations: 3.938 kB / 435.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.3539, allocations: 0 / 435.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.354, allocations: 8 kB / 435.6 MB, free: 2.957 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: 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 (5): * Single equations (assignments): 5 * 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.0001215/0.3541, allocations: 117.7 kB / 435.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.3541, allocations: 11.98 kB / 435.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.3541, allocations: 4 kB / 435.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3541, allocations: 0 / 435.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3541, allocations: 0 / 435.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3541, allocations: 0 / 435.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.3544, allocations: 257.7 kB / 436 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3544, allocations: 0 / 436 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.3545, allocations: 12.3 kB / 436 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3545, allocations: 0 / 436 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3545, allocations: 4 kB / 436 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3545, allocations: 4 kB / 436 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3545, allocations: 0 / 436 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.3546, allocations: 147.5 kB / 436.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.3546, allocations: 3.953 kB / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.3546, allocations: 0 / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.572e-05/0.3547, allocations: 7.938 kB / 436.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.3547, allocations: 4.312 kB / 436.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3547, allocations: 0 / 436.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.434e-05/0.3548, allocations: 91.22 kB / 436.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3548, allocations: 4 kB / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.3551, allocations: 23.92 kB / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 2 * 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.0009162/0.356, allocations: 0.763 MB / 437.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.3561, allocations: 19.98 kB / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3561, allocations: 0 / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.162e-05/0.3562, allocations: 15.94 kB / 437.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.3564, allocations: 3.469 kB / 437.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.3577, allocations: 1.235 MB / 438.3 MB, free: 80 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.3581, allocations: 0.6768 MB / 439 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.994e-05/0.3581, allocations: 7.984 kB / 439 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.3581, allocations: 11.53 kB / 439 MB, free: 15.36 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3581, allocations: 3.938 kB / 439 MB, free: 15.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.3878, allocations: 1.963 MB / 441 MB, free: 13.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.228/8.616, allocations: 7.984 kB / 441 MB, free: 13.48 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000384541 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.191849601920694] Failed to read output from testmodel.py, exit status != 0: ['time', 'impureRandom_y'] 8.689627833664417 8.719297638 8.363962329 Calling exit ...