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.TimeBasedSine.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.TimeBasedSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00173/0.00173, allocations: 121.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.002048/0.002048, allocations: 204.6 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.422/1.422, 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.001866/0.001866, allocations: 71.88 kB / 358.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2827, allocations: 50.53 MB / 409.1 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002562/0.2853, allocations: 1.514 MB / 410.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000791/0.2862, allocations: 482.8 kB / 411.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.2862, allocations: 0 / 411.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.2863, allocations: 3.938 kB / 411.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.2863, allocations: 11.81 kB / 411.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.2866, allocations: 35.89 kB / 411.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.812e-05/0.2867, allocations: 31.92 kB / 411.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.24e-05/0.2868, allocations: 16 kB / 411.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.2869, allocations: 23.86 kB / 411.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.287, allocations: 19.91 kB / 411.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.287, allocations: 4 kB / 411.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.766e-05/0.287, allocations: 8 kB / 411.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.2871, allocations: 7.938 kB / 411.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.2871, allocations: 15.92 kB / 411.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.2872, allocations: 38.78 kB / 411.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2872, allocations: 4 kB / 411.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2872, allocations: 4 kB / 411.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2872, allocations: 0 / 411.3 MB, free: 15.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004234/0.2877, allocations: 355.3 kB / 411.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2877, allocations: 8.031 kB / 411.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.2878, allocations: 34.73 kB / 411.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.2879, allocations: 8.938 kB / 411.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.2881, allocations: 188.2 kB / 411.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.2881, allocations: 384 / 411.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.2881, allocations: 8.375 kB / 411.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.2884, allocations: 107.4 kB / 412 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.2885, allocations: 0 / 412 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.2885, allocations: 3.938 kB / 412 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2885, allocations: 0 / 412 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.695e-05/0.2886, allocations: 27.97 kB / 412 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.2887, allocations: 165.6 kB / 412.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.2889, allocations: 58.52 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.753e-05/0.289, allocations: 20.89 kB / 412.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.289, allocations: 8 kB / 412.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.289, allocations: 38.5 kB / 412.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.289, allocations: 0 / 412.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002152/0.2893, allocations: 77.59 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.2893, allocations: 51.41 kB / 412.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.2894, allocations: 117.8 kB / 412.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.2894, allocations: 25.7 kB / 412.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.2895, allocations: 84.14 kB / 412.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.683e-06/0.2895, allocations: 8 kB / 412.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.2895, allocations: 13.72 kB / 412.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2897, allocations: 318.8 kB / 413 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.2897, allocations: 0 / 413 MB, free: 13.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.2898, allocations: 27.62 kB / 413 MB, free: 13.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.773e-05/0.2898, allocations: 43.36 kB / 413 MB, free: 13.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2898, allocations: 0 / 413 MB, free: 13.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.843e-05/0.2899, allocations: 61.47 kB / 413.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2899, allocations: 4 kB / 413.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2899, allocations: 4.094 kB / 413.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.29, allocations: 7.969 kB / 413.1 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.351e-05/0.29, allocations: 12.12 kB / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.29, allocations: 0 / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/0.29, allocations: 0 / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.2901, allocations: 4 kB / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 8.072e-05/0.2901, allocations: 113.8 kB / 413.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.2903, allocations: 69.55 kB / 413.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.2903, allocations: 7.906 kB / 413.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2903, allocations: 384 / 413.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2903, allocations: 4 kB / 413.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2903, allocations: 4 kB / 413.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.2905, allocations: 161.6 kB / 413.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2905, allocations: 3.938 kB / 413.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.2905, allocations: 11.94 kB / 413.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2906, allocations: 3.984 kB / 413.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2906, allocations: 4 kB / 413.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2906, allocations: 4 kB / 413.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2906, allocations: 0 / 413.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.2907, allocations: 85.11 kB / 413.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.2908, allocations: 89 kB / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.2908, allocations: 0 / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.161e-05/0.2909, allocations: 3.984 kB / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-06/0.2909, allocations: 7.875 kB / 413.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.2909, allocations: 4 kB / 413.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.23e-05/0.2909, allocations: 87.28 kB / 413.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2909, allocations: 0 / 413.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001797/0.2911, allocations: 8 kB / 413.8 MB, free: 12.27 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 (4): * Single equations (assignments): 4 * 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.0004763/0.2916, allocations: 0.6202 MB / 414.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.2917, allocations: 27.92 kB / 414.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2917, allocations: 256 / 414.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5e-07/0.2917, allocations: 4 kB / 414.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.292, allocations: 29.33 kB / 414.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.293, allocations: 1.182 MB / 415.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.2934, allocations: 0.6846 MB / 416.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.086e-05/0.2934, allocations: 0 / 416.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.2934, allocations: 19.42 kB / 416.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2934, allocations: 0 / 416.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.3161, allocations: 1.342 MB / 417.7 MB, free: 8.352 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/8.164, allocations: 15.67 kB / 417.7 MB, free: 8.336 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_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_TimeBasedSine.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1)