Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0016/0.0016, allocations: 117.9 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001946/0.001946, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.491/1.491, allocations: 230.5 MB / 254.8 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 79.8 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1135, allocations: 53.33 MB / 427 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003088/0.1166, allocations: 1.601 MB / 428.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1177, allocations: 0.5843 MB / 429.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.1178, allocations: 0 / 429.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.909e-05/0.1178, allocations: 3.938 kB / 429.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.618e-05/0.1179, allocations: 15.88 kB / 429.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.1181, allocations: 51.81 kB / 429.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.1183, allocations: 55.78 kB / 429.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1184, allocations: 16 kB / 429.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.1184, allocations: 19.92 kB / 429.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.1185, allocations: 27.84 kB / 429.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1185, allocations: 4 kB / 429.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.1187, allocations: 47.95 kB / 429.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.1187, allocations: 19.94 kB / 429.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.142e-05/0.1188, allocations: 35.72 kB / 429.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1189, allocations: 83.64 kB / 429.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.119, allocations: 0 / 429.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.119, allocations: 0 / 429.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.119, allocations: 3.938 kB / 429.6 MB, free: 2.234 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005169/0.1195, allocations: 371.2 kB / 429.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1195, allocations: 12.03 kB / 430 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.558e-05/0.1196, allocations: 46.62 kB / 430 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004293/0.12, allocations: 60.83 kB / 430.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1202, allocations: 176.2 kB / 430.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.1202, allocations: 4.375 kB / 430.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.1202, allocations: 8.375 kB / 430.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.1205, allocations: 93.77 kB / 430.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1205, allocations: 0 / 430.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1205, allocations: 4 kB / 430.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1205, allocations: 4 kB / 430.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.1207, allocations: 74.34 kB / 430.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006211/0.1213, allocations: 368.6 kB / 430.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.1215, allocations: 78.47 kB / 430.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1216, allocations: 28.97 kB / 430.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.1217, allocations: 3.984 kB / 430.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1217, allocations: 30.56 kB / 430.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1217, allocations: 0 / 430.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004246/0.1221, allocations: 129.5 kB / 431 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.1222, allocations: 55.41 kB / 431.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1223, allocations: 122.1 kB / 431.2 MB, free: 408 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1223, allocations: 29.64 kB / 431.2 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.1224, allocations: 104 kB / 431.3 MB, free: 264 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.1224, allocations: 19.8 kB / 431.4 MB, free: 244 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.1224, allocations: 25.7 kB / 431.4 MB, free: 212 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1226, allocations: 314.8 kB / 431.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.1227, allocations: 27.97 kB / 431.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.854e-05/0.1228, allocations: 27.94 kB / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.123, allocations: 57.19 kB / 431.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.123, allocations: 0 / 431.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002433/0.1232, allocations: 97.66 kB / 431.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1233, allocations: 7.984 kB / 431.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1233, allocations: 0 / 431.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1233, allocations: 3.938 kB / 431.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1234, allocations: 23.92 kB / 431.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.1234, allocations: 0 / 431.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/0.1235, allocations: 23.88 kB / 432 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1235, allocations: 4 kB / 432 MB, free: 15.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.368e-05/0.1236, allocations: 113.8 kB / 432.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.1236, allocations: 4 kB / 432.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.124, allocations: 105.5 kB / 432.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.124, allocations: 4 kB / 432.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.124, allocations: 4 kB / 432.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.124, allocations: 0 / 432.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.1242, allocations: 197.6 kB / 432.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1242, allocations: 3.938 kB / 432.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.1243, allocations: 15.98 kB / 432.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1243, allocations: 0 / 432.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.335e-05/0.1244, allocations: 11.92 kB / 432.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1244, allocations: 0 / 432.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1244, allocations: 0 / 432.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.1247, allocations: 199.5 kB / 432.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.1248, allocations: 85.09 kB / 432.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.1248, allocations: 3.938 kB / 432.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1249, allocations: 8 kB / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.1249, allocations: 4.172 kB / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.1249, allocations: 8 kB / 432.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.845e-05/0.125, allocations: 99.27 kB / 432.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.125, allocations: 3.938 kB / 432.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.1252, allocations: 19.89 kB / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0007805/0.126, allocations: 0.7593 MB / 433.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.1262, allocations: 67.83 kB / 433.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1263, allocations: 4 kB / 433.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.1264, allocations: 43.84 kB / 433.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.1267, allocations: 4 kB / 433.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.1285, allocations: 1.461 MB / 435.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1288, allocations: 0.7 MB / 435.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.902e-05/0.1289, allocations: 11.98 kB / 435.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.1289, allocations: 23.44 kB / 435.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1289, allocations: 0 / 435.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.1534, allocations: 1.907 MB / 437.8 MB, free: 9.617 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.162, allocations: 10.75 kB / 437.8 MB, free: 9.609 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.882443134207278] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformDensity_y', 'normalDensity_y', 'weibullDensity_y'] 8.233346102759242 8.467252323 8.3453464 Calling exit ...