Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.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.001157/0.001157, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001318/0.001318, allocations: 189.3 kB / 24.49 MB, free: 3.957 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.431/1.431, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.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.Distributions,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 48.02 kB / 371.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2393, allocations: 52.19 MB / 423.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002693/0.242, allocations: 1.512 MB / 424.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.2444, allocations: 1.343 MB / 426.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.2445, allocations: 4 kB / 426.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.2446, allocations: 19.73 kB / 426.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.2447, allocations: 31.78 kB / 426.3 MB, free: 11.64 MB / 334.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.001076/0.2458, allocations: 378.8 kB / 426.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.246, allocations: 131.7 kB / 426.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.246, allocations: 9.688 kB / 426.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.245e-05/0.2461, allocations: 63.69 kB / 426.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005828/0.2467, allocations: 83 kB / 426.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.2467, allocations: 12 kB / 426.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007038/0.2474, allocations: 451.1 kB / 427.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.2475, allocations: 35.91 kB / 427.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.866e-05/0.2476, allocations: 55.59 kB / 427.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006034/0.2482, allocations: 397 kB / 427.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2482, allocations: 0 / 427.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2482, allocations: 0 / 427.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2482, allocations: 4 kB / 427.8 MB, free: 10.05 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007923/0.249, allocations: 451.8 kB / 428.3 MB, free: 9.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.249, allocations: 12.03 kB / 428.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.167e-05/0.249, allocations: 4.188 kB / 428.3 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.493e-05/0.2491, allocations: 46.69 kB / 428.3 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.2493, allocations: 32.83 kB / 428.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.2495, allocations: 155.3 kB / 428.5 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.2495, allocations: 15.97 kB / 428.5 MB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.2496, allocations: 11.98 kB / 428.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.2499, allocations: 139.2 kB / 428.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.2499, allocations: 0 / 428.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.2499, allocations: 4 kB / 428.7 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2499, allocations: 3.938 kB / 428.7 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.2501, allocations: 67.94 kB / 428.8 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008787/0.251, allocations: 0.5234 MB / 429.3 MB, free: 8.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.2514, allocations: 163.9 kB / 429.5 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.2515, allocations: 66.62 kB / 429.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.2515, allocations: 4 kB / 429.5 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/0.2519, allocations: 169.8 kB / 429.7 MB, free: 8.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.2519, allocations: 0 / 429.7 MB, free: 8.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001048/0.2529, allocations: 453 kB / 430.1 MB, free: 7.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/0.253, allocations: 118.8 kB / 430.2 MB, free: 7.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.2532, allocations: 195.2 kB / 430.4 MB, free: 7.234 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.2533, allocations: 49.69 kB / 430.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/0.2533, allocations: 112.7 kB / 430.6 MB, free: 7.066 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/0.2534, allocations: 63.55 kB / 430.7 MB, free: 7.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/0.2535, allocations: 65.81 kB / 430.7 MB, free: 6.934 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.2537, allocations: 334.8 kB / 431 MB, free: 6.598 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.2539, allocations: 107.9 kB / 431.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.2542, allocations: 162.1 kB / 431.3 MB, free: 6.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.2546, allocations: 256.1 kB / 431.6 MB, free: 6.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2546, allocations: 0 / 431.6 MB, free: 6.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005965/0.2552, allocations: 339.5 kB / 431.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2552, allocations: 8 kB / 431.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2552, allocations: 0 / 431.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2552, allocations: 4 kB / 431.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.2554, allocations: 52.06 kB / 432 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2554, allocations: 0 / 432 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.441e-05/0.2555, allocations: 15.98 kB / 432 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.2555, allocations: 8 kB / 432 MB, free: 5.629 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1],uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 2 * 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.0001687/0.2557, allocations: 153.6 kB / 432.1 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.2558, allocations: 19.89 kB / 432.1 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.2558, allocations: 17.41 kB / 432.2 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2558, allocations: 4 kB / 432.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2558, allocations: 4 kB / 432.2 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.2558, allocations: 3.984 kB / 432.2 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000883/0.2567, allocations: 0.6097 MB / 432.8 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2567, allocations: 0 / 432.8 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.2568, allocations: 23.92 kB / 432.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2568, allocations: 4 kB / 432.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.2568, allocations: 4.125 kB / 432.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2568, allocations: 4.25 kB / 432.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/0.2568, allocations: 15.88 kB / 432.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005113/0.2573, allocations: 425.9 kB / 433.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.2573, allocations: 23.89 kB / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.2574, allocations: 8 kB / 433.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.2575, allocations: 15.92 kB / 433.3 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.2576, allocations: 27.84 kB / 433.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.2576, allocations: 12 kB / 433.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.2577, allocations: 139.2 kB / 433.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2577, allocations: 0 / 433.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005169/0.2582, allocations: 123.7 kB / 433.6 MB, free: 3.91 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (n,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001664/0.2599, allocations: 1.265 MB / 434.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004766/0.2604, allocations: 225.3 kB / 435.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2604, allocations: 0 / 435.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.2606, allocations: 71.91 kB / 435.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.2609, allocations: 15.92 kB / 435.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.2641, allocations: 2.62 MB / 437.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.2642, allocations: 108.1 kB / 437.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.098e-05/0.2643, allocations: 29.47 kB / 437.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.2644, allocations: 51.42 kB / 438 MB, free: 15.37 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.2644, allocations: 3.938 kB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.2918, allocations: 6.071 MB / 444 MB, free: 9.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.17, allocations: 6.844 kB / 444.1 MB, free: 9.445 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.522871929919347] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 11.330077411024831 11.344458302 11.093227805 Calling exit ...