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.001323/0.001323, allocations: 107.9 kB / 18.48 MB, free: 4.543 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.00139/0.00139, allocations: 198.6 kB / 21.43 MB, free: 1.609 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.394/1.394, 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.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.00156/0.00156, allocations: 43.94 kB / 366.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1196, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.00298/0.1226, allocations: 1.528 MB / 420 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002614/0.1252, allocations: 1.453 MB / 421.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.592e-05/0.1253, allocations: 0 / 421.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.1254, allocations: 7.875 kB / 421.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.723e-05/0.1255, allocations: 31.67 kB / 421.5 MB, free: 9.57 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.001134/0.1267, allocations: 382.9 kB / 421.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.1269, allocations: 131.6 kB / 422 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.104e-05/0.1269, allocations: 9.5 kB / 422 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.994e-05/0.127, allocations: 55.72 kB / 422.1 MB, free: 9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006995/0.1277, allocations: 92.8 kB / 422.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.1277, allocations: 8 kB / 422.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007133/0.1284, allocations: 427.2 kB / 422.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.1285, allocations: 35.91 kB / 422.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.222e-05/0.1286, allocations: 71.52 kB / 422.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000633/0.1292, allocations: 398.7 kB / 423.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1292, allocations: 4 kB / 423.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1292, allocations: 0 / 423.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1292, allocations: 0 / 423.1 MB, free: 7.992 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009237/0.1302, allocations: 0.5135 MB / 423.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1302, allocations: 12.03 kB / 423.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.961e-05/0.1302, allocations: 4.125 kB / 423.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.105e-05/0.1303, allocations: 54.67 kB / 423.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.1305, allocations: 32.83 kB / 423.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.1308, allocations: 212.3 kB / 423.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1308, allocations: 11.98 kB / 423.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.1308, allocations: 4 kB / 423.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.1311, allocations: 140.2 kB / 424.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1312, allocations: 3.938 kB / 424.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1312, allocations: 4 kB / 424.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.1312, allocations: 4 kB / 424.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.1314, allocations: 71.88 kB / 424.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009158/0.1323, allocations: 0.5789 MB / 424.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.1327, allocations: 152 kB / 424.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.1329, allocations: 74.58 kB / 424.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.1329, allocations: 3.938 kB / 424.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/0.1332, allocations: 157.8 kB / 425.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.1332, allocations: 4 kB / 425.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001103/0.1343, allocations: 440.7 kB / 425.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.629e-05/0.1344, allocations: 119.7 kB / 425.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.1346, allocations: 199.1 kB / 425.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.1347, allocations: 49.81 kB / 425.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.1348, allocations: 120.6 kB / 426 MB, free: 4.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.1348, allocations: 55.55 kB / 426.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.135, allocations: 61.69 kB / 426.1 MB, free: 4.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1351, allocations: 342.8 kB / 426.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.1354, allocations: 99.95 kB / 426.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.1356, allocations: 168.9 kB / 426.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.1361, allocations: 260.1 kB / 427 MB, free: 3.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1361, allocations: 3.938 kB / 427 MB, free: 3.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006119/0.1367, allocations: 343.5 kB / 427.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1367, allocations: 4 kB / 427.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1367, allocations: 4 kB / 427.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1367, allocations: 4 kB / 427.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.1369, allocations: 44.06 kB / 427.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.1369, allocations: 4 kB / 427.4 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.697e-05/0.137, allocations: 8 kB / 427.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.1371, allocations: 12.12 kB / 427.4 MB, free: 3.348 MB / 350.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.0001741/0.1372, allocations: 165.6 kB / 427.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.1373, allocations: 19.86 kB / 427.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.1373, allocations: 21.39 kB / 427.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1373, allocations: 4 kB / 427.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.1373, allocations: 4 kB / 427.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1373, allocations: 0 / 427.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009121/0.1382, allocations: 0.653 MB / 428.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1382, allocations: 0 / 428.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-05/0.1383, allocations: 19.98 kB / 428.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.1383, allocations: 4 kB / 428.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.1383, allocations: 7.984 kB / 428.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.1383, allocations: 0 / 428.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.1383, allocations: 11.88 kB / 428.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005373/0.1389, allocations: 419.1 kB / 428.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.139, allocations: 89.02 kB / 428.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.139, allocations: 15.98 kB / 428.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.1391, allocations: 12 kB / 428.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.1392, allocations: 27.84 kB / 428.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.1392, allocations: 8 kB / 428.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.1394, allocations: 147.1 kB / 429 MB, free: 1.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1394, allocations: 0 / 429 MB, free: 1.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005476/0.1399, allocations: 119.7 kB / 429.1 MB, free: 1.484 MB / 350.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.001816/0.1417, allocations: 1.274 MB / 430.4 MB, free: 204 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005619/0.1423, allocations: 220.4 kB / 430.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1423, allocations: 0 / 430.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.1425, allocations: 80.47 kB / 430.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.1428, allocations: 11.98 kB / 430.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.1463, allocations: 2.614 MB / 433.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.1467, allocations: 0.7279 MB / 434 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.1468, allocations: 21.55 kB / 434.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.1469, allocations: 55.41 kB / 434.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1469, allocations: 3.938 kB / 434.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.1729, allocations: 5.794 MB / 439.9 MB, free: 6.617 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.404/8.577, allocations: 8.688 kB / 439.9 MB, free: 6.609 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.119704496988561] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 8.706873462011572 8.92783362 8.796177691 Calling exit ...