Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001378, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.394/1.394, allocations: 227.7 MB / 247.2 MB, free: 10.18 MB / 206.1 MB 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.001898/0.001898, allocations: 63.89 kB / 358.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2608, allocations: 50.55 MB / 409.1 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002136/0.263, allocations: 0.8857 MB / 410 MB, free: 500 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005677/0.2636, allocations: 263.2 kB / 410.2 MB, free: 236 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.715e-05/0.2637, allocations: 4 kB / 410.2 MB, free: 232 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.896e-05/0.2637, allocations: 3.938 kB / 410.2 MB, free: 228 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.264, allocations: 35.84 kB / 410.3 MB, free: 192 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.2642, allocations: 39.84 kB / 410.3 MB, free: 152 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.2643, allocations: 51.84 kB / 410.4 MB, free: 100 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.777e-05/0.2644, allocations: 16.16 kB / 410.4 MB, free: 80 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.215e-05/0.2644, allocations: 15.94 kB / 410.4 MB, free: 64 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/0.2645, allocations: 19.86 kB / 410.4 MB, free: 44 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.2645, allocations: 4 kB / 410.4 MB, free: 40 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.895e-05/0.2646, allocations: 23.98 kB / 410.4 MB, free: 16 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.984e-05/0.2647, allocations: 19.94 kB / 410.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.2647, allocations: 31.8 kB / 410.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.2649, allocations: 82.56 kB / 410.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2649, allocations: 0 / 410.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2649, allocations: 0 / 410.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.2649, allocations: 0 / 410.6 MB, free: 15.89 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004797/0.2654, allocations: 383 kB / 410.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2655, allocations: 16.02 kB / 410.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.2655, allocations: 34.75 kB / 411 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.2656, allocations: 12.84 kB / 411 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.2658, allocations: 204.1 kB / 411.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.2658, allocations: 4.375 kB / 411.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.2659, allocations: 384 / 411.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.2661, allocations: 141.3 kB / 411.3 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2662, allocations: 11.94 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.2662, allocations: 3.938 kB / 411.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2662, allocations: 0 / 411.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.868e-05/0.2663, allocations: 16 kB / 411.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.2666, allocations: 273.7 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.2667, allocations: 50.5 kB / 411.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.2668, allocations: 32.95 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.2668, allocations: 0 / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.2668, allocations: 30.56 kB / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.2668, allocations: 0 / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002073/0.2671, allocations: 77.64 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.2671, allocations: 55.34 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2673, allocations: 149.8 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.2673, allocations: 29.7 kB / 412.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.2674, allocations: 88.14 kB / 412.1 MB, free: 14.08 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.2674, allocations: 7.984 kB / 412.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.2675, allocations: 29.61 kB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2676, allocations: 326.8 kB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.2676, allocations: 8 kB / 412.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.904e-05/0.2677, allocations: 57.12 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.068e-05/0.2678, allocations: 61.08 kB / 412.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2678, allocations: 192 / 412.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001401/0.2679, allocations: 93.55 kB / 412.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.268, allocations: 4 kB / 412.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.268, allocations: 4 kB / 412.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.268, allocations: 4 kB / 412.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.604e-05/0.2681, allocations: 19.94 kB / 412.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.2681, allocations: 0 / 412.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.002e-05/0.2682, allocations: 7.953 kB / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.2682, allocations: 12.17 kB / 412.8 MB, free: 13.4 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: 4 ($CLKPRE.uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[2],$CLKPRE.uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[1]) * Number of discrete states: 0 () * Number of clocked states: 2 (uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001253/0.2683, allocations: 121.8 kB / 412.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.65e-05/0.2684, allocations: 69.58 kB / 412.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.2686, allocations: 78.48 kB / 413 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2686, allocations: 4.031 kB / 413 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2686, allocations: 0 / 413 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2686, allocations: 0 / 413 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.2688, allocations: 181.5 kB / 413.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.2688, allocations: 3.984 kB / 413.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.2688, allocations: 8 kB / 413.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2689, allocations: 7.875 kB / 413.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2689, allocations: 0 / 413.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.2689, allocations: 4 kB / 413.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2689, allocations: 0 / 413.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.269, allocations: 96.97 kB / 413.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.177e-05/0.2691, allocations: 96.98 kB / 413.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.2691, allocations: 11.98 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.503e-05/0.2692, allocations: 4 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-06/0.2692, allocations: 0 / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.2692, allocations: 0 / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.487e-05/0.2693, allocations: 117.8 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2693, allocations: 0 / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.2695, allocations: 12 kB / 413.6 MB, free: 12.49 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: 2 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * Number of discrete states: 0 () * Number of clocked states: 2 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000718/0.2703, allocations: 0.6838 MB / 414.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.2704, allocations: 43.91 kB / 414.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.2704, allocations: 0 / 414.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.2704, allocations: 0 / 414.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.2708, allocations: 70.95 kB / 414.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.2721, allocations: 1.388 MB / 415.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.2724, allocations: 0.7002 MB / 416.4 MB, free: 9.438 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.283e-05/0.2724, allocations: 11.77 kB / 416.5 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.2725, allocations: 15.44 kB / 416.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2725, allocations: 0 / 416.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.2955, allocations: 2.264 MB / 418.7 MB, free: 7.332 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.229/8.524, allocations: 11.08 kB / 418.7 MB, free: 7.324 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1)