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.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001409/0.001408, allocations: 118.2 kB / 17.79 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.001416/0.001416, allocations: 206 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.515/1.515, allocations: 227.7 MB / 247.2 MB, free: 10.15 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.001963/0.001963, allocations: 67.89 kB / 358.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.348, allocations: 50.55 MB / 409.1 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003022/0.3511, allocations: 1.593 MB / 410.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3523, allocations: 0.5609 MB / 411.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.324e-05/0.3524, allocations: 0 / 411.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.961e-05/0.3524, allocations: 3.938 kB / 411.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.3526, allocations: 23.84 kB / 411.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.353, allocations: 63.75 kB / 411.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.3531, allocations: 43.86 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3532, allocations: 24.09 kB / 411.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.3534, allocations: 23.92 kB / 411.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.3534, allocations: 23.86 kB / 411.4 MB, free: 15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.3535, allocations: 0 / 411.4 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.275e-05/0.3535, allocations: 12 kB / 411.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.3536, allocations: 15.92 kB / 411.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.3536, allocations: 27.8 kB / 411.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.3538, allocations: 58.69 kB / 411.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3538, allocations: 4 kB / 411.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3538, allocations: 0 / 411.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.3538, allocations: 0 / 411.6 MB, free: 14.88 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004936/0.3543, allocations: 386.9 kB / 411.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3544, allocations: 12.03 kB / 411.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.3544, allocations: 38.73 kB / 412 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.3545, allocations: 20.83 kB / 412 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.3549, allocations: 202.1 kB / 412.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3549, allocations: 8.125 kB / 412.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.3549, allocations: 4 kB / 412.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.3552, allocations: 121.9 kB / 412.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3552, allocations: 0 / 412.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-06/0.3552, allocations: 0 / 412.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3552, allocations: 0 / 412.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.236e-05/0.3553, allocations: 27.92 kB / 412.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.3556, allocations: 278.6 kB / 412.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.3558, allocations: 67.78 kB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.905e-05/0.3558, allocations: 38.56 kB / 412.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.3559, allocations: 4 kB / 412.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.3559, allocations: 30.56 kB / 412.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3559, allocations: 0 / 412.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000264/0.3562, allocations: 85.91 kB / 412.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/0.3563, allocations: 118.8 kB / 413 MB, free: 13.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.3564, allocations: 144.9 kB / 413.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3564, allocations: 33.7 kB / 413.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.3565, allocations: 88.12 kB / 413.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.3565, allocations: 0 / 413.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.3566, allocations: 21.67 kB / 413.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3567, allocations: 322.8 kB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.3568, allocations: 8 kB / 413.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-05/0.3568, allocations: 39.36 kB / 413.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.761e-05/0.3569, allocations: 51.36 kB / 413.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3569, allocations: 0 / 413.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001306/0.3571, allocations: 65.61 kB / 413.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3571, allocations: 4 kB / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3571, allocations: 0 / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3571, allocations: 4 kB / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.57e-05/0.3572, allocations: 15.94 kB / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.3572, allocations: 7.938 kB / 413.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.157e-05/0.3573, allocations: 12.11 kB / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.3573, allocations: 0 / 413.8 MB, free: 12.36 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.938e-05/0.3574, allocations: 113.8 kB / 413.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.3575, allocations: 61.53 kB / 413.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.3575, allocations: 11.88 kB / 413.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3575, allocations: 0 / 413.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3575, allocations: 3.938 kB / 414 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3575, allocations: 4 kB / 414 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.3577, allocations: 177.6 kB / 414.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3578, allocations: 7.938 kB / 414.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.3578, allocations: 4 kB / 414.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.3578, allocations: 4 kB / 414.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.3578, allocations: 4.078 kB / 414.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3578, allocations: 0 / 414.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3578, allocations: 3.938 kB / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.3581, allocations: 189.1 kB / 414.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.705e-05/0.3582, allocations: 89.05 kB / 414.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3582, allocations: 0 / 414.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.3583, allocations: 8 kB / 414.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.3583, allocations: 3.938 kB / 414.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3583, allocations: 4 kB / 414.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.068e-05/0.3584, allocations: 107.2 kB / 414.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3584, allocations: 4 kB / 414.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.3586, allocations: 8 kB / 414.6 MB, free: 11.45 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: 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.0005018/0.3592, allocations: 0.7102 MB / 415.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.3593, allocations: 35.92 kB / 415.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3593, allocations: 0 / 415.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.3594, allocations: 15.92 kB / 415.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.3597, allocations: 23.95 kB / 415.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.3611, allocations: 1.403 MB / 416.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.3615, allocations: 0.6924 MB / 417.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.313e-05/0.3615, allocations: 0 / 417.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.3616, allocations: 23.42 kB / 417.5 MB, free: 8.383 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3616, allocations: 0 / 417.5 MB, free: 8.383 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.3856, allocations: 1.717 MB / 419.2 MB, free: 6.809 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.316/8.701, allocations: 7.062 kB / 419.2 MB, free: 6.809 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1)