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.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001397/0.001397, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001625, allocations: 202 kB / 18.74 MB, free: 4.332 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.417/1.417, allocations: 227.7 MB / 247.2 MB, free: 10.19 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.001752/0.001752, allocations: 71.88 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2545, allocations: 50.54 MB / 409.1 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002181/0.2567, allocations: 0.8701 MB / 409.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006115/0.2574, allocations: 251.1 kB / 410.2 MB, free: 316 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.555e-05/0.2575, allocations: 4 kB / 410.2 MB, free: 312 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.421e-05/0.2575, allocations: 7.922 kB / 410.2 MB, free: 304 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.2576, allocations: 3.938 kB / 410.2 MB, free: 300 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.2581, allocations: 99.7 kB / 410.3 MB, free: 200 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.2582, allocations: 43.86 kB / 410.3 MB, free: 156 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.2583, allocations: 23.97 kB / 410.4 MB, free: 132 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.188e-05/0.2584, allocations: 15.94 kB / 410.4 MB, free: 116 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.866e-05/0.2584, allocations: 19.86 kB / 410.4 MB, free: 96 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.2585, allocations: 4 kB / 410.4 MB, free: 92 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.2586, allocations: 47.89 kB / 410.5 MB, free: 44 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.678e-05/0.2586, allocations: 19.92 kB / 410.5 MB, free: 24 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.869e-05/0.2587, allocations: 31.92 kB / 410.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.2589, allocations: 98.56 kB / 410.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2589, allocations: 0 / 410.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.2589, allocations: 4 kB / 410.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2589, 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005529/0.2595, allocations: 383.1 kB / 411 MB, free: 15.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2595, allocations: 8.031 kB / 411 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.2596, allocations: 46.73 kB / 411 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.2596, allocations: 8.891 kB / 411 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.2599, allocations: 204.1 kB / 411.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.2599, allocations: 384 / 411.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.2599, allocations: 16.36 kB / 411.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.2603, allocations: 149.5 kB / 411.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2603, allocations: 3.938 kB / 411.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.2603, allocations: 4 kB / 411.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.2603, allocations: 0 / 411.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.89e-05/0.2604, allocations: 23.98 kB / 411.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.2607, allocations: 277.6 kB / 411.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.916e-05/0.2608, allocations: 38.56 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.2609, allocations: 24.89 kB / 411.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006932/0.2616, allocations: 0.5818 MB / 412.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.2616, allocations: 38.55 kB / 412.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.2616, allocations: 0 / 412.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002089/0.2618, allocations: 93.55 kB / 412.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.2619, allocations: 51.41 kB / 412.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.262, allocations: 159.3 kB / 412.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2621, allocations: 25.7 kB / 412.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.2621, allocations: 88.14 kB / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.2621, allocations: 15.88 kB / 412.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.2622, allocations: 25.72 kB / 412.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2623, allocations: 318.8 kB / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.2624, allocations: 23.98 kB / 413.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.264e-05/0.2624, allocations: 66 kB / 413.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.733e-05/0.2625, allocations: 81.88 kB / 413.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2626, allocations: 0 / 413.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001581/0.2627, allocations: 109.5 kB / 413.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2627, allocations: 4 kB / 413.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2627, allocations: 4 kB / 413.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2628, allocations: 224 / 413.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.2628, allocations: 23.94 kB / 413.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2629, allocations: 4 kB / 413.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/0.2629, allocations: 3.953 kB / 413.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.2629, allocations: 7.938 kB / 413.5 MB, free: 12.6 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001229/0.263, allocations: 141.6 kB / 413.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.587e-05/0.2631, allocations: 65.64 kB / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.2633, allocations: 86.38 kB / 413.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2633, allocations: 192 / 413.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2633, allocations: 4 kB / 413.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2634, allocations: 3.938 kB / 413.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.2635, allocations: 181.5 kB / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.2635, allocations: 7.922 kB / 414 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.2636, allocations: 7.938 kB / 414 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2636, allocations: 0 / 414 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.2636, allocations: 4 kB / 414 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.2636, allocations: 4 kB / 414 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2636, allocations: 0 / 414 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.2637, allocations: 105 kB / 414.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.2638, allocations: 93.22 kB / 414.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.2639, allocations: 8 kB / 414.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.276e-05/0.2639, allocations: 0 / 414.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-06/0.2639, allocations: 3.984 kB / 414.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.2639, allocations: 4 kB / 414.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.101e-05/0.264, allocations: 122.2 kB / 414.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.264, allocations: 0 / 414.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.2642, allocations: 12 kB / 414.3 MB, free: 11.66 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: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * 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.0005859/0.2648, allocations: 0.6748 MB / 415 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.265, allocations: 51.95 kB / 415 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.265, allocations: 448 / 415 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.265, allocations: 4 kB / 415 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.2654, allocations: 93.5 kB / 415.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.2669, allocations: 1.456 MB / 416.6 MB, free: 9.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.2672, allocations: 0.7002 MB / 417.3 MB, free: 8.504 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.839e-05/0.2673, allocations: 8.656 kB / 417.3 MB, free: 8.492 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.59e-05/0.2674, allocations: 23.44 kB / 417.3 MB, free: 8.469 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2674, allocations: 0 / 417.3 MB, free: 8.469 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.2913, allocations: 2.603 MB / 419.9 MB, free: 6.004 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.403, allocations: 19.61 kB / 419.9 MB, free: 5.988 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1)