Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.001966/0.001966, allocations: 116.8 kB / 17.74 MB, free: 5.312 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.002364/0.002364, allocations: 186.9 kB / 20.68 MB, free: 2.383 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.55/1.55, allocations: 222.9 MB / 246.4 MB, free: 4.223 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.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 47.92 kB / 357.5 MB, free: 8.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1228, allocations: 49.43 MB / 406.9 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002959/0.1258, allocations: 1.662 MB / 408.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.128, allocations: 1.185 MB / 409.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.1281, allocations: 4 kB / 409.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.1285, allocations: 39.7 kB / 409.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.1286, allocations: 35.78 kB / 409.8 MB, free: 4.438 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.000764/0.1294, allocations: 291.1 kB / 410.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.1297, allocations: 183.5 kB / 410.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.255e-05/0.1298, allocations: 17.05 kB / 410.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1299, allocations: 87.67 kB / 410.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006014/0.1306, allocations: 105.6 kB / 410.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.1306, allocations: 16 kB / 410.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004574/0.1311, allocations: 267.5 kB / 410.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.537e-05/0.1312, allocations: 51.83 kB / 410.8 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1313, allocations: 75.52 kB / 410.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005408/0.1318, allocations: 314.9 kB / 411.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1319, allocations: 4 kB / 411.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1319, allocations: 0 / 411.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1319, allocations: 0 / 411.2 MB, free: 3.055 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001233/0.1331, allocations: 0.5721 MB / 411.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1332, allocations: 8.031 kB / 411.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.1332, allocations: 38.73 kB / 411.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.1334, allocations: 32.83 kB / 411.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.1339, allocations: 272.5 kB / 412.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.134, allocations: 4 kB / 412.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.134, allocations: 15.98 kB / 412.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.1342, allocations: 97.62 kB / 412.3 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1342, allocations: 3.938 kB / 412.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1343, allocations: 4 kB / 412.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1343, allocations: 0 / 412.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.1345, allocations: 79.94 kB / 412.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008758/0.1354, allocations: 456.5 kB / 412.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.1357, allocations: 122.5 kB / 412.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.1358, allocations: 64.83 kB / 413 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.1358, allocations: 3.938 kB / 413 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.136, allocations: 115.3 kB / 413.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.1361, allocations: 0 / 413.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005075/0.1366, allocations: 229.5 kB / 413.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.1366, allocations: 63.33 kB / 413.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.1371, allocations: 248.8 kB / 413.6 MB, free: 468 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.1371, allocations: 37.7 kB / 413.7 MB, free: 424 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.568e-05/0.1372, allocations: 108.1 kB / 413.8 MB, free: 312 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.604e-05/0.1373, allocations: 51.86 kB / 413.8 MB, free: 260 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.629e-05/0.1374, allocations: 53.62 kB / 413.9 MB, free: 200 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1375, allocations: 330.8 kB / 414.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.1377, allocations: 83.95 kB / 414.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.1379, allocations: 102.3 kB / 414.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.1382, allocations: 185.7 kB / 414.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1382, allocations: 0 / 414.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004442/0.1387, allocations: 257.3 kB / 414.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1387, allocations: 6.031 kB / 414.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1387, allocations: 4.031 kB / 414.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1387, allocations: 4 kB / 414.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.1389, allocations: 27.98 kB / 414.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1389, allocations: 7.984 kB / 414.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.1391, allocations: 23.88 kB / 414.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.1392, allocations: 8 kB / 414.9 MB, free: 15.15 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,whiteNoise.actualGlobalSeed,whiteNoise.localSeed,whiteNoise.r_raw,$PRE.whiteNoise.r_raw,whiteNoise.r,$PRE.whiteNoise.r,whiteNoise.state[4],$PRE.whiteNoise.state[4],whiteNoise.state[3],$PRE.whiteNoise.state[3],whiteNoise.state[2],$PRE.whiteNoise.state[2],whiteNoise.state[1],$PRE.whiteNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 1 * 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.0001513/0.1393, allocations: 137.8 kB / 415 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.1394, allocations: 23.8 kB / 415 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.1394, allocations: 29.45 kB / 415.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1394, allocations: 7.984 kB / 415.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1395, allocations: 0 / 415.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1395, allocations: 0 / 415.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.1397, allocations: 245.4 kB / 415.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1397, allocations: 0 / 415.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.1399, allocations: 15.98 kB / 415.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1399, allocations: 0 / 415.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.1399, allocations: 4 kB / 415.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1399, allocations: 8 kB / 415.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1399, allocations: 0 / 415.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.1404, allocations: 283.8 kB / 415.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.1406, allocations: 105 kB / 415.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.1406, allocations: 7.984 kB / 415.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.1408, allocations: 15.98 kB / 415.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.1409, allocations: 12.05 kB / 415.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.1409, allocations: 8 kB / 415.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003385/0.1412, allocations: 188.4 kB / 416 MB, free: 13.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1412, allocations: 4 kB / 416 MB, free: 13.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003821/0.1416, allocations: 83.8 kB / 416 MB, free: 13.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001369/0.143, allocations: 0.9681 MB / 417 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004249/0.1434, allocations: 181.1 kB / 417.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1435, allocations: 3.938 kB / 417.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.1436, allocations: 59.97 kB / 417.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.1439, allocations: 23.92 kB / 417.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.1475, allocations: 2.358 MB / 419.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.1479, allocations: 0.7357 MB / 420.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.148, allocations: 33.39 kB / 420.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.1481, allocations: 51.41 kB / 420.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1481, allocations: 0 / 420.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.1783, allocations: 5.068 MB / 425.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.677/8.856, allocations: 4 kB / 425.5 MB, free: 4.422 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.629195555811748] Failed to read output from testmodel.py, exit status != 0: ['time', 'Hw.x_scaled[1]', 'Hw.x_scaled[2]'] 8.92838784493506 9.15323686 9.018762004 Calling exit ...