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.001366/0.001366, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001632/0.001632, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.00193/0.00193, allocations: 64.77 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2938, allocations: 53.36 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003014/0.2969, allocations: 1.612 MB / 433.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2979, allocations: 0.5804 MB / 434.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.298, allocations: 7.938 kB / 434.1 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.298, allocations: 7.875 kB / 434.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.019e-05/0.2981, allocations: 3.938 kB / 434.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.2984, allocations: 63.75 kB / 434.2 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.2985, allocations: 51.84 kB / 434.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.2986, allocations: 23.78 kB / 434.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.2986, allocations: 19.88 kB / 434.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.207e-05/0.2987, allocations: 23.86 kB / 434.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.2987, allocations: 11.98 kB / 434.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.299, allocations: 55.89 kB / 434.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.299, allocations: 4 kB / 434.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.299, allocations: 27.8 kB / 434.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.2992, allocations: 89.88 kB / 434.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2992, allocations: 0 / 434.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2992, allocations: 8 kB / 434.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.2992, allocations: 0 / 434.5 MB, free: 4.285 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000505/0.2997, allocations: 300.5 kB / 434.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.2998, allocations: 8.031 kB / 434.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.99e-05/0.2999, allocations: 46.69 kB / 434.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004426/0.3003, allocations: 48.83 kB / 434.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3004, allocations: 126.4 kB / 435 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.3005, allocations: 4.375 kB / 435 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.3005, allocations: 8.375 kB / 435 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.3007, allocations: 100.7 kB / 435.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3007, allocations: 0 / 435.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3007, allocations: 0 / 435.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.3008, allocations: 0 / 435.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.301, allocations: 79.88 kB / 435.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006351/0.3016, allocations: 339.5 kB / 435.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.3018, allocations: 62.53 kB / 435.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.3019, allocations: 40.95 kB / 435.6 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3019, allocations: 3.938 kB / 435.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.302, allocations: 34.56 kB / 435.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.302, allocations: 0 / 435.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004434/0.3024, allocations: 129.5 kB / 435.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.3025, allocations: 51.41 kB / 435.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3026, allocations: 126.1 kB / 436 MB, free: 2.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.3026, allocations: 25.7 kB / 436 MB, free: 2.617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/0.3027, allocations: 104 kB / 436.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.3028, allocations: 15.89 kB / 436.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.3028, allocations: 17.72 kB / 436.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.303, allocations: 318.8 kB / 436.4 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.674e-05/0.3031, allocations: 27.92 kB / 436.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.735e-05/0.3032, allocations: 32.34 kB / 436.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.3034, allocations: 60.83 kB / 436.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3034, allocations: 0 / 436.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002412/0.3036, allocations: 97.53 kB / 436.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3036, allocations: 8 kB / 436.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3036, allocations: 4 kB / 436.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.3036, allocations: 3.938 kB / 436.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.3038, allocations: 15.98 kB / 436.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3038, allocations: 0 / 436.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.83e-05/0.3039, allocations: 23.86 kB / 436.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.3039, allocations: 4 kB / 436.7 MB, free: 1.871 MB / 334.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 0.0001151/0.304, allocations: 109.8 kB / 436.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.304, allocations: 8 kB / 436.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.3044, allocations: 117.6 kB / 436.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3044, allocations: 0 / 436.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3044, allocations: 0 / 436.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3044, allocations: 0 / 436.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.3046, allocations: 168.7 kB / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3046, allocations: 0 / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.3047, allocations: 27.97 kB / 437.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3047, allocations: 0 / 437.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3048, allocations: 3.938 kB / 437.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3048, allocations: 0 / 437.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3048, allocations: 4.109 kB / 437.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.3051, allocations: 203.4 kB / 437.3 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.3051, allocations: 7.953 kB / 437.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.3051, allocations: 11.94 kB / 437.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3052, allocations: 7.984 kB / 437.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.3053, allocations: 4 kB / 437.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3053, allocations: 0 / 437.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.186e-05/0.3053, allocations: 98.64 kB / 437.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3053, allocations: 0 / 437.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.3056, allocations: 19.89 kB / 437.5 MB, free: 1.02 MB / 334.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.0007512/0.3063, allocations: 0.7631 MB / 438.3 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.3066, allocations: 67.94 kB / 438.3 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3066, allocations: 4 kB / 438.3 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.3067, allocations: 35.97 kB / 438.4 MB, free: 128 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.307, allocations: 7.938 kB / 438.4 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.3088, allocations: 1.469 MB / 439.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3092, allocations: 0.6963 MB / 440.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.56e-05/0.3092, allocations: 4 kB / 440.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.3093, allocations: 27.42 kB / 440.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3093, allocations: 0 / 440.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.3353, allocations: 1.927 MB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.518, allocations: 7.125 kB / 442.5 MB, free: 11.97 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.04636260215193] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformDensity_y', 'normalDensity_y', 'weibullDensity_y'] 8.586538520175964 8.60205472 8.299712926 Calling exit ...