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.SubSample.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.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001915/0.001915, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002215/0.002216, allocations: 200.7 kB / 18.74 MB, free: 4.184 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.524/1.524, allocations: 227.7 MB / 247.2 MB, free: 10.17 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.001932/0.001932, allocations: 67.84 kB / 358.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2891, allocations: 50.54 MB / 409.1 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002917/0.292, allocations: 1.596 MB / 410.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009681/0.293, allocations: 0.5259 MB / 411.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.2931, allocations: 0 / 411.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.037e-05/0.2932, allocations: 11.86 kB / 411.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.2933, allocations: 7.938 kB / 411.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.2936, allocations: 63.81 kB / 411.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.2938, allocations: 51.78 kB / 411.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.269e-05/0.2939, allocations: 12.17 kB / 411.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.294, allocations: 35.86 kB / 411.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.2941, allocations: 27.84 kB / 411.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.2941, allocations: 0 / 411.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.326e-05/0.2941, allocations: 8 kB / 411.4 MB, free: 15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.2942, allocations: 15.94 kB / 411.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.2942, allocations: 27.8 kB / 411.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.2944, allocations: 58.69 kB / 411.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2944, allocations: 0 / 411.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2944, allocations: 0 / 411.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.2944, allocations: 4 kB / 411.5 MB, free: 14.9 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.0005297/0.295, allocations: 383 kB / 411.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.295, allocations: 12.03 kB / 411.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.791e-05/0.2951, allocations: 34.73 kB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.2952, allocations: 16.89 kB / 412 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.2955, allocations: 213.8 kB / 412.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.2955, allocations: 12.06 kB / 412.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.2955, allocations: 4 kB / 412.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.2958, allocations: 113.9 kB / 412.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2958, allocations: 0 / 412.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.2958, allocations: 0 / 412.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2959, allocations: 0 / 412.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.086e-05/0.296, allocations: 23.92 kB / 412.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.2963, allocations: 282.6 kB / 412.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.2964, allocations: 71.78 kB / 412.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/0.2965, allocations: 30.62 kB / 412.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.2965, allocations: 8 kB / 412.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2966, allocations: 34.5 kB / 412.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2966, allocations: 0 / 412.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002698/0.2969, allocations: 85.56 kB / 412.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.2969, allocations: 111.2 kB / 412.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.2971, allocations: 153.1 kB / 413.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.2971, allocations: 25.7 kB / 413.1 MB, free: 13.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.2972, allocations: 92.12 kB / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.2972, allocations: 0 / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.2972, allocations: 21.67 kB / 413.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2974, allocations: 322.8 kB / 413.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.467e-05/0.2974, allocations: 11.94 kB / 413.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.2975, allocations: 43.34 kB / 413.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.67e-05/0.2976, allocations: 43.36 kB / 413.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2976, allocations: 8 kB / 413.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000136/0.2978, allocations: 69.61 kB / 413.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2978, allocations: 4 kB / 413.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2978, allocations: 4 kB / 413.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.2978, allocations: 4 kB / 413.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.2979, allocations: 4 kB / 413.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.2979, allocations: 7.938 kB / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.298, allocations: 8.109 kB / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.298, allocations: 4 kB / 413.7 MB, free: 12.38 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.825e-05/0.2981, allocations: 117.8 kB / 413.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-05/0.2982, allocations: 57.59 kB / 413.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.2982, allocations: 11.88 kB / 413.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2982, allocations: 0 / 413.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2982, allocations: 3.938 kB / 413.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2982, allocations: 0 / 413.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.2985, allocations: 177.6 kB / 414.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2985, allocations: 8 kB / 414.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.2985, allocations: 8 kB / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2985, allocations: 3.938 kB / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2986, allocations: 7.984 kB / 414.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2986, allocations: 0 / 414.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2986, allocations: 3.938 kB / 414.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.2988, allocations: 177.2 kB / 414.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.2989, allocations: 93.05 kB / 414.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.2989, allocations: 7.938 kB / 414.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.299, allocations: 4 kB / 414.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.299, allocations: 3.938 kB / 414.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.299, allocations: 4 kB / 414.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.028e-05/0.2991, allocations: 107.2 kB / 414.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2991, allocations: 0 / 414.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.2993, allocations: 12 kB / 414.5 MB, free: 11.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: 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.0005115/0.2998, allocations: 0.7024 MB / 415.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.3, allocations: 39.92 kB / 415.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3, allocations: 0 / 415.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.3001, allocations: 15.86 kB / 415.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.3004, allocations: 27.95 kB / 415.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.3018, allocations: 1.402 MB / 416.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.3022, allocations: 0.6963 MB / 417.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.209e-05/0.3022, allocations: 4 kB / 417.4 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.3023, allocations: 19.42 kB / 417.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3023, allocations: 0 / 417.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.3282, allocations: 1.72 MB / 419.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.463/8.791, allocations: 7.031 kB / 419.2 MB, free: 6.824 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_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_SubSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1)