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.00136/0.00136, allocations: 103.1 kB / 21.96 MB, free: 5.215 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.001641/0.001641, allocations: 210.6 kB / 25.25 MB, free: 3.133 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.358/1.358, allocations: 207.7 MB / 236.1 MB, free: 9.793 MB / 190.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.001814/0.001814, allocations: 58.58 kB / 348 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2621, allocations: 49.16 MB / 397.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002388/0.2645, allocations: 1.329 MB / 398.5 MB, free: 7.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007501/0.2653, allocations: 348 kB / 398.8 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.2653, allocations: 0 / 398.8 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.2653, allocations: 4.734 kB / 398.8 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.264e-05/0.2654, allocations: 5.047 kB / 398.8 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.2658, allocations: 92.95 kB / 398.9 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.526e-05/0.2659, allocations: 21.77 kB / 398.9 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.2659, allocations: 10.12 kB / 398.9 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.295e-05/0.2659, allocations: 3.391 kB / 398.9 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.348e-05/0.266, allocations: 7.844 kB / 398.9 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.266, allocations: 1.312 kB / 398.9 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.2662, allocations: 125.4 kB / 399.1 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.2663, allocations: 12.95 kB / 399.1 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.2663, allocations: 7.125 kB / 399.1 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.2665, allocations: 83.09 kB / 399.2 MB, free: 7.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2665, allocations: 0 / 399.2 MB, free: 7.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2665, allocations: 0 / 399.2 MB, free: 7.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.2665, allocations: 1.219 kB / 399.2 MB, free: 7.617 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.0003323/0.2668, allocations: 269.5 kB / 399.4 MB, free: 7.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2668, allocations: 13.95 kB / 399.4 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.32e-05/0.2669, allocations: 2.031 kB / 399.4 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.2669, allocations: 37.19 kB / 399.5 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.2669, allocations: 5.984 kB / 399.5 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.29e-05/0.267, allocations: 119 kB / 399.6 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.267, allocations: 5.5 kB / 399.6 MB, free: 7.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.267, allocations: 2.844 kB / 399.6 MB, free: 7.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.836e-05/0.2671, allocations: 48.44 kB / 399.7 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2671, allocations: 0 / 399.7 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.2671, allocations: 5.734 kB / 399.7 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2672, allocations: 0 / 399.7 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.572e-05/0.2672, allocations: 10.8 kB / 399.7 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.2674, allocations: 213.4 kB / 399.9 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.146e-05/0.2675, allocations: 36.27 kB / 399.9 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.2675, allocations: 21.98 kB / 399.9 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.2676, allocations: 1.188 kB / 399.9 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.2677, allocations: 59.56 kB / 400 MB, free: 6.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.2677, allocations: 0 / 400 MB, free: 6.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003044/0.268, allocations: 104.4 kB / 400.1 MB, free: 6.699 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.268, allocations: 53.02 kB / 400.2 MB, free: 6.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.669e-05/0.268, allocations: 105.1 kB / 400.3 MB, free: 6.535 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.2681, allocations: 29.7 kB / 400.3 MB, free: 6.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.185e-05/0.2681, allocations: 82.5 kB / 400.4 MB, free: 6.418 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.2681, allocations: 15.64 kB / 400.4 MB, free: 6.406 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.2681, allocations: 25.91 kB / 400.4 MB, free: 6.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.228e-05/0.2682, allocations: 317.7 kB / 400.7 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.762e-05/0.2682, allocations: 11.44 kB / 400.7 MB, free: 6.062 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.576e-05/0.2682, allocations: 39.52 kB / 400.8 MB, free: 6.027 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.485e-05/0.2683, allocations: 47.02 kB / 400.8 MB, free: 5.988 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.2683, allocations: 0 / 400.8 MB, free: 5.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001016/0.2684, allocations: 72.64 kB / 400.9 MB, free: 5.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2684, allocations: 7.25 kB / 400.9 MB, free: 5.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2684, allocations: 4.062 kB / 400.9 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2684, allocations: 1.375 kB / 400.9 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/0.2685, allocations: 20.44 kB / 400.9 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2685, allocations: 6.312 kB / 400.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.2685, allocations: 4.062 kB / 400.9 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.2685, allocations: 2.656 kB / 400.9 MB, free: 5.922 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 5.225e-05/0.2686, allocations: 118.6 kB / 401 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.2686, allocations: 2.141 kB / 401 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.2686, allocations: 5.781 kB / 401.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2686, allocations: 2.281 kB / 401.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2686, allocations: 4 kB / 401.1 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2686, allocations: 0 / 401.1 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.2689, allocations: 312.4 kB / 401.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2689, allocations: 1.312 kB / 401.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/0.2689, allocations: 7.203 kB / 401.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2689, allocations: 0 / 401.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.2689, allocations: 2.453 kB / 401.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2689, allocations: 1.438 kB / 401.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2689, allocations: 5.188 kB / 401.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.269, allocations: 172.1 kB / 401.6 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.269, allocations: 11.59 kB / 401.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.2691, allocations: 5.156 kB / 401.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.544e-05/0.2691, allocations: 1.375 kB / 401.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.2691, allocations: 13.7 kB / 401.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2691, allocations: 2.5 kB / 401.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.939e-05/0.2692, allocations: 86.17 kB / 401.7 MB, free: 5.219 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2692, allocations: 0 / 401.7 MB, free: 5.219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.2695, allocations: 30.81 kB / 401.7 MB, free: 5.211 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.0007144/0.2702, allocations: 0.8087 MB / 402.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.2703, allocations: 36.84 kB / 402.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2703, allocations: 3.938 kB / 402.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.302e-05/0.2704, allocations: 16.25 kB / 402.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.2706, allocations: 15.3 kB / 402.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.2716, allocations: 1.31 MB / 403.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.593e-05/0.2717, allocations: 64.62 kB / 404 MB, free: 3.078 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.16e-05/0.2717, allocations: 8.031 kB / 404 MB, free: 3.078 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.2717, allocations: 14.75 kB / 404 MB, free: 3.066 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2717, allocations: 1.125 kB / 404 MB, free: 3.066 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.2948, allocations: 2.246 MB / 406.2 MB, free: 2.289 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.04, allocations: 15.19 kB / 406.2 MB, free: 2.277 MB / 318.1 MB " [Timeout remaining time 649] (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: 13.298025739961304] Failed to read output from testmodel.py, exit status != 0: ['time', 'impureRandom_y'] 11.195243952097371 11.211502033 10.94153759 Calling exit ...