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.SuperSampleInterpolated.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.SuperSampleInterpolated,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001471/0.001471, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002753/0.002754, allocations: 205.2 kB / 18.74 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.496/1.496, 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.00198/0.00198, allocations: 63.91 kB / 358.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3575, allocations: 50.55 MB / 409.1 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.00378/0.3614, allocations: 1.624 MB / 410.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3629, allocations: 0.6271 MB / 411.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.3631, allocations: 4 kB / 411.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.696e-05/0.3632, allocations: 7.875 kB / 411.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.3635, allocations: 27.8 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.3639, allocations: 79.78 kB / 411.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.364, allocations: 79.77 kB / 411.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3642, allocations: 15.98 kB / 411.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.3643, allocations: 35.91 kB / 411.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.625e-05/0.3644, allocations: 35.78 kB / 411.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.3644, allocations: 11.94 kB / 411.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.75e-05/0.3645, allocations: 8 kB / 411.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.3646, allocations: 23.91 kB / 411.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.3646, allocations: 43.73 kB / 411.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.3648, allocations: 86.59 kB / 411.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3649, allocations: 0 / 411.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3649, allocations: 3.938 kB / 411.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3649, allocations: 0 / 411.8 MB, free: 14.66 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006783/0.3656, allocations: 403 kB / 412.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3656, allocations: 12.03 kB / 412.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.3657, allocations: 34.75 kB / 412.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.3658, allocations: 28.83 kB / 412.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.3662, allocations: 216.7 kB / 412.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.3662, allocations: 4.375 kB / 412.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.3662, allocations: 11.94 kB / 412.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.3668, allocations: 220.3 kB / 412.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3668, allocations: 3.984 kB / 412.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3668, allocations: 4 kB / 412.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3668, allocations: 4 kB / 412.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.367, allocations: 47.89 kB / 412.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.3674, allocations: 302.5 kB / 413 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.3676, allocations: 95.89 kB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.3678, allocations: 54.62 kB / 413.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.3678, allocations: 15.86 kB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.3679, allocations: 34.56 kB / 413.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.3679, allocations: 0 / 413.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004476/0.3683, allocations: 142.1 kB / 413.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.447e-05/0.3684, allocations: 122.8 kB / 413.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3686, allocations: 150.2 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3686, allocations: 25.7 kB / 413.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.3687, allocations: 100.1 kB / 413.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.3687, allocations: 11.91 kB / 413.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.3688, allocations: 37.7 kB / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3689, allocations: 318.8 kB / 414.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.369, allocations: 24.06 kB / 414.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.3691, allocations: 85.42 kB / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.3693, allocations: 121.2 kB / 414.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3693, allocations: 0 / 414.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002387/0.3696, allocations: 129.8 kB / 414.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3696, allocations: 8 kB / 414.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3696, allocations: 4 kB / 414.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3696, allocations: 4 kB / 414.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.3697, allocations: 27.92 kB / 414.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3698, allocations: 0 / 414.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.941e-05/0.3698, allocations: 19.88 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3699, allocations: 8 kB / 414.6 MB, free: 11.54 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.superSampleIpo.first,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000126/0.37, allocations: 129.7 kB / 414.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.3702, allocations: 101.6 kB / 414.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.14e-05/0.3703, allocations: 24.23 kB / 414.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3703, allocations: 0 / 414.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3703, allocations: 0 / 414.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3703, allocations: 11.88 kB / 414.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.3705, allocations: 181.6 kB / 415 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3705, allocations: 0 / 415 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.3706, allocations: 23.98 kB / 415 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3707, allocations: 4 kB / 415 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3707, allocations: 0 / 415 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3707, allocations: 0 / 415 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3707, allocations: 8 kB / 415 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.371, allocations: 225 kB / 415.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.56e-05/0.3711, allocations: 104.9 kB / 415.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.3712, allocations: 8.109 kB / 415.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.3712, allocations: 4 kB / 415.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.3713, allocations: 15.94 kB / 415.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.3713, allocations: 0 / 415.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.574e-05/0.3714, allocations: 111.2 kB / 415.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3714, allocations: 3.938 kB / 415.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.3717, allocations: 16 kB / 415.5 MB, free: 10.47 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007757/0.3725, allocations: 0.8118 MB / 416.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.3727, allocations: 71.84 kB / 416.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.3727, allocations: 4.688 kB / 416.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.227e-05/0.3728, allocations: 15.98 kB / 416.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.3732, allocations: 63.86 kB / 416.5 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.3753, allocations: 1.687 MB / 418.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.3757, allocations: 0.708 MB / 418.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.229e-05/0.3758, allocations: 4.75 kB / 418.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.829e-05/0.3758, allocations: 27.42 kB / 418.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of SimCode: time 5.52e-07/0.3758, allocations: 3.938 kB / 418.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.4023, allocations: 2.258 MB / 421.2 MB, free: 4.762 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.248/8.65, allocations: 8.297 kB / 421.2 MB, free: 4.754 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv --start-time 0 --stop-time 0.06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.4e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1)