Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.001845/0.001845, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.002252/0.002252, allocations: 205.6 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 207.6 MB / 232.5 MB, free: 3.934 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 55.91 kB / 343 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.09097, allocations: 49.12 MB / 392.1 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002659/0.09363, allocations: 1.336 MB / 393.5 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007986/0.09443, allocations: 368.1 kB / 393.8 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.09446, allocations: 0 / 393.8 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.09449, allocations: 3.938 kB / 393.8 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.815e-05/0.09455, allocations: 0 / 393.8 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.09504, allocations: 87.7 kB / 393.9 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.09512, allocations: 15.94 kB / 393.9 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.09516, allocations: 0 / 393.9 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.72e-05/0.09519, allocations: 8 kB / 393.9 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.925e-05/0.09521, allocations: 11.91 kB / 393.9 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.09522, allocations: 4 kB / 393.9 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.09544, allocations: 95.83 kB / 394 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.09546, allocations: 4 kB / 394 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.479e-05/0.09549, allocations: 11.94 kB / 394 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.0957, allocations: 87.69 kB / 394.1 MB, free: 6.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.09571, allocations: 3.938 kB / 394.1 MB, free: 6.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09571, allocations: 0 / 394.1 MB, free: 6.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.09572, allocations: 0 / 394.1 MB, free: 6.688 MB / 318.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.0004917/0.09621, allocations: 351.3 kB / 394.5 MB, free: 6.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.09625, allocations: 12.03 kB / 394.5 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.232e-05/0.09628, allocations: 192 / 394.5 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.09633, allocations: 38.69 kB / 394.5 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.09638, allocations: 8.891 kB / 394.5 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.09659, allocations: 168.4 kB / 394.7 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.09661, allocations: 4.312 kB / 394.7 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.09663, allocations: 4.375 kB / 394.7 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.09675, allocations: 45.98 kB / 394.8 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.09676, allocations: 4 kB / 394.8 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.09677, allocations: 0 / 394.8 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.09678, allocations: 0 / 394.8 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.817e-05/0.09682, allocations: 4 kB / 394.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.09721, allocations: 253 kB / 395 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.072e-05/0.09729, allocations: 34.45 kB / 395 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.09733, allocations: 20.94 kB / 395.1 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.09734, allocations: 0 / 395.1 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.09752, allocations: 51.41 kB / 395.1 MB, free: 5.531 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.09752, allocations: 4 kB / 395.1 MB, free: 5.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003501/0.09787, allocations: 113.6 kB / 395.2 MB, free: 5.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.09792, allocations: 51.41 kB / 395.3 MB, free: 5.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.562e-05/0.09801, allocations: 105.8 kB / 395.4 MB, free: 5.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.09803, allocations: 25.7 kB / 395.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.09809, allocations: 88.14 kB / 395.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.09811, allocations: 15.83 kB / 395.5 MB, free: 5.098 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.09815, allocations: 21.72 kB / 395.5 MB, free: 5.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.0983, allocations: 326.8 kB / 395.9 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.09834, allocations: 15.98 kB / 395.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.791e-05/0.09838, allocations: 34.5 kB / 395.9 MB, free: 4.684 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.567e-05/0.09846, allocations: 38.58 kB / 395.9 MB, free: 4.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.09846, allocations: 0 / 395.9 MB, free: 4.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001244/0.09858, allocations: 77.58 kB / 396 MB, free: 4.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.09861, allocations: 8 kB / 396 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.09861, allocations: 0 / 396 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.09862, allocations: 0 / 396 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.927e-05/0.0987, allocations: 19.92 kB / 396 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.09871, allocations: 0 / 396 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.09873, allocations: 0 / 396 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.09874, allocations: 8 kB / 396.1 MB, free: 4.52 MB / 318.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 9.974e-05/0.09884, allocations: 117.7 kB / 396.2 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.09885, allocations: 4.062 kB / 396.2 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.09888, allocations: 8.375 kB / 396.2 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.09888, allocations: 7.984 kB / 396.2 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.09889, allocations: 0 / 396.2 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.09889, allocations: 0 / 396.2 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.0993, allocations: 332.7 kB / 396.5 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.0993, allocations: 0 / 396.5 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.302e-05/0.09933, allocations: 12.06 kB / 396.5 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.09934, allocations: 4 kB / 396.5 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.09935, allocations: 8 kB / 396.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.09935, allocations: 0 / 396.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.09935, allocations: 3.938 kB / 396.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.09957, allocations: 181.2 kB / 396.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.09962, allocations: 89.06 kB / 396.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.09963, allocations: 0 / 396.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.872e-05/0.09968, allocations: 0 / 396.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.09971, allocations: 11.94 kB / 396.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.09973, allocations: 3.984 kB / 396.8 MB, free: 3.641 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.514e-05/0.09977, allocations: 83.28 kB / 396.9 MB, free: 3.559 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09977, allocations: 0 / 396.9 MB, free: 3.559 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.1001, allocations: 27.94 kB / 396.9 MB, free: 3.531 MB / 318.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.0008927/0.1009, allocations: 0.8077 MB / 397.7 MB, free: 2.691 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.1011, allocations: 39.92 kB / 397.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1011, allocations: 0 / 397.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.732e-05/0.1011, allocations: 15.97 kB / 397.8 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.1013, allocations: 11.94 kB / 397.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.1028, allocations: 1.314 MB / 399.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.1031, allocations: 0.6807 MB / 399.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.509e-05/0.1032, allocations: 7.984 kB / 399.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.1032, allocations: 19.44 kB / 399.8 MB, free: 484 kB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1032, allocations: 0 / 399.8 MB, free: 484 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.122, allocations: 2.112 MB / 401.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/8.405, allocations: 19.83 kB / 402 MB, free: 14.3 MB / 334.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator_fmu --startTime=0 --stopTime=2 --stepSize=0.000384541 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.757841408951208] Failed to read output from testmodel.py, exit status != 0: ['time', 'impureRandom_y'] 8.540026819973718 8.567634884 8.467022523 Calling exit ...