Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.6 MB / 254.8 MB, free: 15.07 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 55.91 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1286, allocations: 53.32 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.003749/0.1323, allocations: 1.352 MB / 428.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1333, allocations: 354.8 kB / 428.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.1334, allocations: 4 kB / 428.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.1334, allocations: 7.938 kB / 428.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.966e-05/0.1335, allocations: 3.984 kB / 428.7 MB, free: 3.055 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0006993/0.1342, allocations: 83.72 kB / 428.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.831e-05/0.1343, allocations: 15.94 kB / 428.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.1344, allocations: 7.984 kB / 428.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.657e-05/0.1344, allocations: 7.938 kB / 428.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.951e-05/0.1344, allocations: 7.984 kB / 428.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1344, allocations: 0 / 428.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.1347, allocations: 99.77 kB / 429 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.1348, allocations: 7.938 kB / 429 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.1348, allocations: 7.938 kB / 429 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.1352, allocations: 91.73 kB / 429.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1352, allocations: 0 / 429.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1352, allocations: 0 / 429.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1352, allocations: 0 / 429.1 MB, free: 2.73 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.0006424/0.1358, allocations: 347.3 kB / 429.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/0.1359, allocations: 8.031 kB / 429.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.162e-05/0.1359, allocations: 192 / 429.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.02e-05/0.136, allocations: 38.73 kB / 429.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.1361, allocations: 4.938 kB / 429.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.1363, allocations: 180.3 kB / 429.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.1363, allocations: 384 / 429.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.1363, allocations: 384 / 429.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1365, allocations: 46 kB / 429.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1365, allocations: 0 / 429.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1365, allocations: 0 / 429.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1365, allocations: 0 / 429.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/0.1365, allocations: 7.984 kB / 429.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.137, allocations: 256.9 kB / 429.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.005e-05/0.1371, allocations: 38.48 kB / 430 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/0.1371, allocations: 16.86 kB / 430 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.1371, allocations: 0 / 430 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.1373, allocations: 59.48 kB / 430 MB, free: 1.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.1373, allocations: 0 / 430 MB, free: 1.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003968/0.1377, allocations: 105.5 kB / 430.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.1378, allocations: 55.41 kB / 430.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1379, allocations: 109.8 kB / 430.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1379, allocations: 25.7 kB / 430.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.1379, allocations: 84.14 kB / 430.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.138, allocations: 11.91 kB / 430.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.138, allocations: 25.69 kB / 430.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1382, allocations: 322.8 kB / 430.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.499e-05/0.1382, allocations: 11.94 kB / 430.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.154e-05/0.1383, allocations: 34.56 kB / 430.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.963e-05/0.1383, allocations: 39.27 kB / 430.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1383, allocations: 0 / 430.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001431/0.1385, allocations: 85.56 kB / 430.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1385, allocations: 4 kB / 430.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1385, allocations: 4.062 kB / 430.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1385, allocations: 4 kB / 430.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.112e-05/0.1386, allocations: 15.88 kB / 431 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1386, allocations: 0 / 431 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.1386, allocations: 4 kB / 431 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1386, allocations: 4 kB / 431 MB, free: 0.5664 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.0001151/0.1388, allocations: 117.8 kB / 431.1 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.1388, allocations: 4 kB / 431.1 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.1388, allocations: 8.375 kB / 431.1 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1388, allocations: 4 kB / 431.1 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1388, allocations: 0 / 431.1 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1388, allocations: 3.938 kB / 431.1 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.1393, allocations: 336.1 kB / 431.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1393, allocations: 0 / 431.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.1393, allocations: 8 kB / 431.4 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1393, allocations: 4 kB / 431.4 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1394, allocations: 4.047 kB / 431.4 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1394, allocations: 4 kB / 431.4 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.1394, allocations: 7.938 kB / 431.5 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.1396, allocations: 165.2 kB / 431.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.1396, allocations: 85.06 kB / 431.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.1397, allocations: 0 / 431.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.252e-05/0.1397, allocations: 8 kB / 431.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.1397, allocations: 11.92 kB / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.1398, allocations: 4 kB / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.765e-05/0.1398, allocations: 83.41 kB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1398, allocations: 0 / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003402/0.1402, allocations: 31.92 kB / 431.8 MB, free: 15.58 MB / 366.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.001043/0.1412, allocations: 0.8019 MB / 432.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.1413, allocations: 35.92 kB / 432.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1414, allocations: 0 / 432.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.732e-05/0.1414, allocations: 12 kB / 432.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.1416, allocations: 11.88 kB / 432.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.1431, allocations: 1.325 MB / 434 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.1435, allocations: 0.6807 MB / 434.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.026e-05/0.1435, allocations: 11.92 kB / 434.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.1436, allocations: 11.44 kB / 434.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1436, allocations: 4 kB / 434.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.1636, allocations: 2.098 MB / 436.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.369/8.533, allocations: 8 kB / 436.8 MB, free: 10.55 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --stepSize=0.000384541 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.327190435025841] Failed to read output from testmodel.py, exit status != 0: ['time', 'impureRandom_y'] 8.657563394983299 8.869145028 8.730752666 Calling exit ...