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.TimeBasedRamp.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.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001315, allocations: 118.8 kB / 17.79 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.001471/0.001471, allocations: 197.2 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.439/1.439, allocations: 227.7 MB / 247.2 MB, free: 10.16 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.001899/0.001899, allocations: 67.89 kB / 358.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2589, allocations: 50.54 MB / 409.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002792/0.2617, allocations: 1.495 MB / 410.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008164/0.2626, allocations: 442.9 kB / 411 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.2627, allocations: 0 / 411 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.2627, allocations: 7.922 kB / 411 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.702e-05/0.2628, allocations: 11.92 kB / 411 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.263, allocations: 19.92 kB / 411 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.84e-05/0.2631, allocations: 35.86 kB / 411.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.2632, allocations: 11.98 kB / 411.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.2e-05/0.2633, allocations: 15.98 kB / 411.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.711e-05/0.2634, allocations: 19.86 kB / 411.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.2634, allocations: 4 kB / 411.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-06/0.2634, allocations: 4 kB / 411.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.2634, allocations: 8 kB / 411.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.2635, allocations: 15.92 kB / 411.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.976e-05/0.2636, allocations: 39.77 kB / 411.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.2636, allocations: 3.984 kB / 411.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2636, allocations: 0 / 411.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.2636, allocations: 0 / 411.2 MB, free: 15.23 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.0005134/0.2642, allocations: 346.3 kB / 411.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.2642, allocations: 16.03 kB / 411.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.2643, allocations: 34.75 kB / 411.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.2643, allocations: 8.891 kB / 411.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.2645, allocations: 176.3 kB / 411.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.2645, allocations: 384 / 411.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.2646, allocations: 4.375 kB / 411.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.265, allocations: 143.3 kB / 411.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.265, allocations: 0 / 411.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2651, allocations: 4 kB / 411.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2651, allocations: 4 kB / 411.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.2652, allocations: 35.95 kB / 412 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.2654, allocations: 161.7 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.2657, allocations: 78.52 kB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.2658, allocations: 36.84 kB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.2659, allocations: 4 kB / 412.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.2659, allocations: 38.5 kB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2659, allocations: 0 / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003778/0.2663, allocations: 93.64 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.2663, allocations: 51.41 kB / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.622e-05/0.2664, allocations: 105.8 kB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.2664, allocations: 25.7 kB / 412.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.2665, allocations: 96.08 kB / 412.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.2665, allocations: 3.984 kB / 412.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.2666, allocations: 17.66 kB / 412.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2667, allocations: 318.8 kB / 413 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.2667, allocations: 4 kB / 413 MB, free: 13.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.401e-05/0.2668, allocations: 31.42 kB / 413 MB, free: 13.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.159e-05/0.2668, allocations: 35.38 kB / 413 MB, free: 13.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2668, allocations: 0 / 413 MB, free: 13.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.06e-05/0.2669, allocations: 61.52 kB / 413.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2669, allocations: 8 kB / 413.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2669, allocations: 128 / 413.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.267, allocations: 4 kB / 413.1 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/0.267, allocations: 8 kB / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.267, allocations: 0 / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.2671, allocations: 7.938 kB / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.2671, allocations: 0 / 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 9.673e-05/0.2672, allocations: 117.8 kB / 413.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.2674, allocations: 81.55 kB / 413.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.2674, allocations: 15.89 kB / 413.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2674, allocations: 0 / 413.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2674, allocations: 0 / 413.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2674, allocations: 0 / 413.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.2676, allocations: 158 kB / 413.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2676, allocations: 0 / 413.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.515e-05/0.2677, allocations: 19.92 kB / 413.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2677, allocations: 0 / 413.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.2677, allocations: 4 kB / 413.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2677, allocations: 0 / 413.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2677, allocations: 0 / 413.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.268, allocations: 105 kB / 413.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.268, allocations: 89 kB / 413.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.268, allocations: 0 / 413.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.2681, allocations: 7.984 kB / 413.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-06/0.2681, allocations: 0 / 413.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.2681, allocations: 4 kB / 413.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.315e-05/0.2682, allocations: 91.58 kB / 413.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2682, allocations: 0 / 413.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001904/0.2684, allocations: 4 kB / 413.8 MB, free: 12.25 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.0005705/0.2689, allocations: 0.6396 MB / 414.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.2691, allocations: 35.97 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2691, allocations: 3.938 kB / 414.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/0.2691, allocations: 3.938 kB / 414.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.2695, allocations: 36.22 kB / 414.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2705, allocations: 1.166 MB / 415.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.2708, allocations: 0.6807 MB / 416.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.48e-05/0.2708, allocations: 0 / 416.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.2708, allocations: 11.44 kB / 416.4 MB, free: 9.52 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2708, allocations: 0 / 416.4 MB, free: 9.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.2923, allocations: 1.386 MB / 417.8 MB, free: 8.273 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.797/8.089, allocations: 11.17 kB / 417.8 MB, free: 8.266 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_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_TimeBasedRamp.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1)