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.001681/0.001681, allocations: 115.6 kB / 18.49 MB, free: 4.566 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.00195/0.00195, allocations: 190.7 kB / 21.43 MB, free: 1.641 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.42/1.42, allocations: 225.6 MB / 249.8 MB, free: 3.629 MB / 190.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.001572/0.001572, allocations: 47.92 kB / 366.3 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1057, allocations: 52.15 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.003717/0.1094, allocations: 1.344 MB / 419.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1105, allocations: 354.8 kB / 420.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.1106, allocations: 4 kB / 420.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.399e-05/0.1106, allocations: 0 / 420.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.903e-05/0.1107, allocations: 3.938 kB / 420.2 MB, free: 10.92 MB / 350.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.0007906/0.1115, allocations: 91.7 kB / 420.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.1116, allocations: 19.94 kB / 420.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.205e-05/0.1117, allocations: 0 / 420.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.1117, allocations: 7.984 kB / 420.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.973e-05/0.1118, allocations: 11.92 kB / 420.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1118, allocations: 0 / 420.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.1121, allocations: 95.83 kB / 420.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.1121, allocations: 0 / 420.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.1122, allocations: 15.94 kB / 420.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.1125, allocations: 83.75 kB / 420.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1125, allocations: 0 / 420.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1125, allocations: 0 / 420.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.1125, allocations: 0 / 420.5 MB, free: 10.6 MB / 350.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.0006593/0.1131, allocations: 351.2 kB / 420.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.368e-05/0.1132, allocations: 12.03 kB / 420.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.305e-05/0.1133, allocations: 8.125 kB / 420.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.482e-05/0.1133, allocations: 34.7 kB / 420.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.1134, allocations: 12.92 kB / 420.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.1136, allocations: 160.4 kB / 421.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.1136, allocations: 384 / 421.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.1136, allocations: 7.938 kB / 421.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1138, allocations: 45.62 kB / 421.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1138, allocations: 0 / 421.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.1138, allocations: 4 kB / 421.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1138, allocations: 0 / 421.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.319e-05/0.1139, allocations: 11.98 kB / 421.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.1145, allocations: 256.9 kB / 421.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.1146, allocations: 30.61 kB / 421.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.1146, allocations: 20.84 kB / 421.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.1146, allocations: 0 / 421.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.1148, allocations: 55.41 kB / 421.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/0.1149, allocations: 0 / 421.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004878/0.1153, allocations: 105.4 kB / 421.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.1154, allocations: 55.39 kB / 421.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1155, allocations: 101.9 kB / 421.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.1155, allocations: 29.7 kB / 421.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.1156, allocations: 88.12 kB / 421.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1156, allocations: 15.86 kB / 421.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.1157, allocations: 21.72 kB / 421.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1159, allocations: 318.8 kB / 422.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.635e-05/0.1159, allocations: 19.98 kB / 422.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.116, allocations: 30.56 kB / 422.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.854e-05/0.1161, allocations: 46.52 kB / 422.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1161, allocations: 0 / 422.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000161/0.1163, allocations: 70.31 kB / 422.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.1163, allocations: 14.41 kB / 422.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.1163, allocations: 0 / 422.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.1163, allocations: 3.984 kB / 422.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.725e-05/0.1164, allocations: 12 kB / 422.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1164, allocations: 3.938 kB / 422.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.1164, allocations: 8.047 kB / 422.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.1165, allocations: 7.938 kB / 422.4 MB, free: 8.43 MB / 350.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.0001273/0.1166, allocations: 114.5 kB / 422.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.1166, allocations: 11.88 kB / 422.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.1166, allocations: 8.375 kB / 422.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1166, allocations: 4 kB / 422.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1166, allocations: 0 / 422.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1167, allocations: 0 / 422.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.1171, allocations: 328.2 kB / 422.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1171, allocations: 0 / 422.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.1172, allocations: 11.94 kB / 422.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1172, allocations: 0 / 422.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1172, allocations: 12 kB / 422.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1172, allocations: 0 / 422.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.1172, allocations: 7.922 kB / 422.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.1174, allocations: 169.2 kB / 423.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.1175, allocations: 81.11 kB / 423.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.1175, allocations: 7.938 kB / 423.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.555e-05/0.1175, allocations: 4 kB / 423.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.1176, allocations: 11.92 kB / 423.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.1176, allocations: 4 kB / 423.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.163e-05/0.1177, allocations: 83.28 kB / 423.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1177, allocations: 0 / 423.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.118, allocations: 31.92 kB / 423.3 MB, free: 7.445 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: 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.000962/0.1189, allocations: 0.8036 MB / 424.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.1191, allocations: 27.98 kB / 424.1 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1191, allocations: 0 / 424.1 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.743e-05/0.1191, allocations: 19.92 kB / 424.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.1194, allocations: 9.906 kB / 424.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.121, allocations: 1.334 MB / 425.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.1214, allocations: 0.6844 MB / 426.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.804e-05/0.1215, allocations: 4 kB / 426.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.1215, allocations: 19.42 kB / 426.2 MB, free: 4.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1215, allocations: 4 kB / 426.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.1435, allocations: 2.092 MB / 428.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/8.65, allocations: 11.78 kB / 428.3 MB, free: 2.41 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.010916038998403] Failed to read output from testmodel.py, exit status != 0: ['time', 'impureRandom_y'] 8.777115120028611 8.803154692 8.686031191 Calling exit ...