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.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001499/0.001499, allocations: 117.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.001382/0.001382, allocations: 200.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.584/1.584, allocations: 227.7 MB / 247.2 MB, free: 10.21 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.00196/0.00196, allocations: 63.89 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3594, allocations: 50.54 MB / 409.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003704/0.3632, allocations: 1.569 MB / 410.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3645, allocations: 0.5259 MB / 411.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.681e-05/0.3646, allocations: 0 / 411.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.059e-05/0.3647, allocations: 3.938 kB / 411.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.3648, allocations: 15.86 kB / 411.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.3652, allocations: 55.81 kB / 411.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.3654, allocations: 35.86 kB / 411.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3655, allocations: 11.98 kB / 411.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.3656, allocations: 27.88 kB / 411.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.3657, allocations: 23.86 kB / 411.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.3658, allocations: 7.984 kB / 411.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.12e-05/0.3658, allocations: 4 kB / 411.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.3659, allocations: 11.98 kB / 411.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.3659, allocations: 19.81 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.3661, allocations: 58.75 kB / 411.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.3661, allocations: 0 / 411.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.3662, allocations: 3.938 kB / 411.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.3662, allocations: 0 / 411.4 MB, free: 15.01 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006216/0.3668, allocations: 371.2 kB / 411.8 MB, free: 14.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.3669, allocations: 12.03 kB / 411.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.3669, allocations: 30.75 kB / 411.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.3671, allocations: 16.88 kB / 411.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.3674, allocations: 200.1 kB / 412.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3674, allocations: 384 / 412.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.3674, allocations: 4.375 kB / 412.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.3677, allocations: 101.1 kB / 412.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3677, allocations: 0 / 412.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3677, allocations: 0 / 412.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3677, allocations: 0 / 412.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.3678, allocations: 19.98 kB / 412.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.3682, allocations: 269.6 kB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.3683, allocations: 45.2 kB / 412.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.032e-05/0.3684, allocations: 21.78 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.3684, allocations: 0 / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.937e-05/0.3685, allocations: 42.5 kB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3685, allocations: 0 / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002704/0.3688, allocations: 65.56 kB / 412.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.3689, allocations: 81.11 kB / 412.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.3691, allocations: 144.7 kB / 412.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.3691, allocations: 25.95 kB / 412.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.3692, allocations: 88.14 kB / 412.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.3692, allocations: 11.92 kB / 413 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.3692, allocations: 17.66 kB / 413 MB, free: 13.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.3695, allocations: 322.8 kB / 413.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.337e-05/0.3695, allocations: 7.984 kB / 413.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.576e-05/0.3696, allocations: 21.72 kB / 413.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.742e-05/0.3696, allocations: 33.7 kB / 413.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3697, allocations: 0 / 413.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001378/0.3698, allocations: 49.69 kB / 413.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3698, allocations: 8 kB / 413.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.3698, allocations: 3.984 kB / 413.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.3699, allocations: 3.984 kB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.37, allocations: 8.062 kB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.37, allocations: 3.938 kB / 413.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.321e-05/0.37, allocations: 4 kB / 413.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.37, allocations: 4 kB / 413.4 MB, free: 12.73 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.000115/0.3702, allocations: 121.8 kB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.3702, allocations: 37.66 kB / 413.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.3703, allocations: 19.81 kB / 413.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.3703, allocations: 0 / 413.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.3703, allocations: 4.031 kB / 413.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3703, allocations: 4 kB / 413.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.3705, allocations: 169.5 kB / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3706, allocations: 0 / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.3706, allocations: 4 kB / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3706, allocations: 0 / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.3706, allocations: 4 kB / 413.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3706, allocations: 3.938 kB / 413.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3706, allocations: 3.938 kB / 413.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.3709, allocations: 168.3 kB / 414 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.735e-05/0.371, allocations: 93.05 kB / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.371, allocations: 0 / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.3711, allocations: 4 kB / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.3711, allocations: 0 / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.3711, allocations: 3.984 kB / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.112e-05/0.3712, allocations: 103.3 kB / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.525e-06/0.3712, allocations: 4.031 kB / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.3714, allocations: 11.94 kB / 414.2 MB, free: 11.88 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0005684/0.372, allocations: 0.6936 MB / 414.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.3722, allocations: 24.02 kB / 414.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3722, allocations: 0 / 414.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.237e-05/0.3722, allocations: 11.92 kB / 414.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.3726, allocations: 16.25 kB / 414.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.3742, allocations: 1.316 MB / 416.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.3747, allocations: 0.6885 MB / 416.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.78e-05/0.3747, allocations: 0 / 416.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.3748, allocations: 15.44 kB / 416.9 MB, free: 8.973 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3748, allocations: 3.938 kB / 417 MB, free: 8.969 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.4002, allocations: 1.502 MB / 418.5 MB, free: 7.605 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.296/8.696, allocations: 15.48 kB / 418.5 MB, free: 7.594 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1)