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.ShiftSample.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.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001645/0.001645, 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.001814/0.001814, allocations: 198 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.585/1.585, 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.001947/0.001948, allocations: 67.89 kB / 358.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3168, allocations: 50.54 MB / 409.1 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003365/0.3202, allocations: 1.592 MB / 410.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3213, allocations: 0.5531 MB / 411.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.3215, allocations: 4 kB / 411.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.887e-05/0.3215, allocations: 3.938 kB / 411.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.3217, allocations: 15.86 kB / 411.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.3221, allocations: 62.75 kB / 411.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.3222, allocations: 47.86 kB / 411.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3223, allocations: 24.14 kB / 411.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3224, allocations: 31.86 kB / 411.4 MB, free: 15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.3225, allocations: 19.86 kB / 411.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.3225, allocations: 4 kB / 411.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.086e-05/0.3226, allocations: 4 kB / 411.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.3226, allocations: 15.92 kB / 411.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.3227, allocations: 31.8 kB / 411.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.3228, allocations: 62.69 kB / 411.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3228, allocations: 0 / 411.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3229, allocations: 0 / 411.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3229, allocations: 0 / 411.5 MB, free: 14.86 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.0005201/0.3234, allocations: 387 kB / 411.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3235, allocations: 12.03 kB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.3235, allocations: 30.75 kB / 412 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.3237, allocations: 16.88 kB / 412 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.324, allocations: 208.7 kB / 412.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.324, allocations: 8.125 kB / 412.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.324, allocations: 8 kB / 412.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.3243, allocations: 113.9 kB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3243, allocations: 0 / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3243, allocations: 4 kB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3243, allocations: 0 / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.118e-05/0.3244, allocations: 27.92 kB / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.3248, allocations: 278.6 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.325, allocations: 71.78 kB / 412.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.375e-05/0.325, allocations: 30.62 kB / 412.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.3251, allocations: 0 / 412.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.3251, allocations: 42.5 kB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3251, allocations: 3.938 kB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002838/0.3254, allocations: 85.56 kB / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/0.3255, allocations: 102.8 kB / 412.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.3257, allocations: 162.1 kB / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.3257, allocations: 25.7 kB / 413.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.3258, allocations: 92.12 kB / 413.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.3258, allocations: 384 / 413.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.3259, allocations: 25.67 kB / 413.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3261, allocations: 326.8 kB / 413.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.3261, allocations: 4 kB / 413.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.014e-05/0.3262, allocations: 35.42 kB / 413.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.3263, allocations: 47.36 kB / 413.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3263, allocations: 0 / 413.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000139/0.3264, allocations: 69.61 kB / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3265, allocations: 8 kB / 413.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3265, allocations: 128 / 413.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3265, allocations: 4 kB / 413.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.3266, allocations: 8 kB / 413.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.3266, allocations: 11.94 kB / 413.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.065e-05/0.3267, allocations: 3.984 kB / 413.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.3267, allocations: 4 kB / 413.8 MB, free: 12.34 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 0.0001155/0.3268, allocations: 117.8 kB / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.083e-05/0.3269, allocations: 57.59 kB / 413.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.3269, allocations: 11.94 kB / 413.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3269, allocations: 4 kB / 413.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.327, allocations: 3.938 kB / 413.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.327, allocations: 0 / 413.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.3272, allocations: 181.5 kB / 414.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3272, allocations: 0 / 414.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/0.3273, allocations: 8 kB / 414.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3273, allocations: 0 / 414.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.3273, allocations: 4 kB / 414.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3273, allocations: 3.984 kB / 414.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3273, allocations: 3.938 kB / 414.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.3275, allocations: 181.3 kB / 414.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-05/0.3276, allocations: 101 kB / 414.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.3276, allocations: 0 / 414.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.3277, allocations: 4 kB / 414.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.3278, allocations: 7.938 kB / 414.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.3278, allocations: 3.938 kB / 414.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.731e-05/0.3279, allocations: 111.2 kB / 414.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3279, allocations: 0 / 414.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.3281, allocations: 15.94 kB / 414.6 MB, free: 11.42 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.0005661/0.3287, allocations: 0.7063 MB / 415.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.3288, allocations: 31.92 kB / 415.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3289, allocations: 0 / 415.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.3289, allocations: 7.938 kB / 415.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3293, allocations: 36.44 kB / 415.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.3308, allocations: 1.401 MB / 416.7 MB, free: 9.102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.3312, allocations: 0.6924 MB / 417.4 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.489e-05/0.3313, allocations: 0 / 417.4 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.3313, allocations: 19.42 kB / 417.4 MB, free: 8.363 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3313, allocations: 0 / 417.4 MB, free: 8.363 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.3576, allocations: 1.765 MB / 419.2 MB, free: 6.742 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.438, allocations: 4 kB / 419.2 MB, free: 6.738 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1)