Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.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.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001183/0.001183, 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.001309/0.001309, 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.43/1.43, allocations: 227.7 MB / 247.2 MB, free: 10.2 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.001955/0.001955, allocations: 63.91 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2834, allocations: 50.54 MB / 409.1 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.0046/0.2881, allocations: 2.004 MB / 411.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.2893, allocations: 0.5765 MB / 411.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.2894, allocations: 4 kB / 411.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.2896, allocations: 19.78 kB / 411.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.945e-05/0.2897, allocations: 35.64 kB / 411.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.29, allocations: 55.86 kB / 411.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.2902, allocations: 151.4 kB / 411.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.2904, allocations: 69.52 kB / 412 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.2906, allocations: 71.77 kB / 412 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.2908, allocations: 63.7 kB / 412.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.2908, allocations: 16 kB / 412.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.197e-05/0.2909, allocations: 24 kB / 412.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.2909, allocations: 35.89 kB / 412.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.291, allocations: 71.61 kB / 412.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.2913, allocations: 170.3 kB / 412.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2913, allocations: 0 / 412.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2913, allocations: 0 / 412.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.2913, allocations: 3.984 kB / 412.4 MB, free: 14.02 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007547/0.2921, allocations: 450.8 kB / 412.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.2922, allocations: 8.031 kB / 412.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.237e-05/0.2922, allocations: 46.73 kB / 412.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.2925, allocations: 28.83 kB / 412.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.2928, allocations: 208.1 kB / 413.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.2929, allocations: 12.38 kB / 413.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/0.2929, allocations: 20.31 kB / 413.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.2934, allocations: 145.5 kB / 413.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.2934, allocations: 3.953 kB / 413.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.2934, allocations: 11.94 kB / 413.3 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.2935, allocations: 4 kB / 413.3 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003363/0.2938, allocations: 91.94 kB / 413.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.2949, allocations: 0.5175 MB / 413.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.2952, allocations: 78.55 kB / 414 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.2953, allocations: 28.86 kB / 414 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.2953, allocations: 0 / 414 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.2954, allocations: 34.55 kB / 414.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/0.2954, allocations: 192 / 414.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001418/0.2968, allocations: 0.5985 MB / 414.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.2969, allocations: 59.28 kB / 414.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.2971, allocations: 131.1 kB / 414.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.2971, allocations: 25.7 kB / 414.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.2973, allocations: 140.1 kB / 415 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.2973, allocations: 47.58 kB / 415.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/0.2974, allocations: 37.7 kB / 415.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.2977, allocations: 322.8 kB / 415.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.2978, allocations: 31.98 kB / 415.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.298, allocations: 86.78 kB / 415.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.2984, allocations: 134.7 kB / 415.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2984, allocations: 4 kB / 415.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004239/0.2988, allocations: 157.4 kB / 415.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2989, allocations: 4 kB / 415.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2989, allocations: 4 kB / 415.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2989, allocations: 0 / 415.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.2992, allocations: 43.91 kB / 415.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.2992, allocations: 7.938 kB / 415.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.965e-05/0.2993, allocations: 8.188 kB / 415.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.2993, allocations: 4 kB / 415.9 MB, free: 10.15 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.0001489/0.2995, allocations: 125.8 kB / 416 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.2995, allocations: 7.953 kB / 416 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.345e-05/0.2996, allocations: 16.7 kB / 416 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2996, allocations: 3.938 kB / 416 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2996, allocations: 3.938 kB / 416 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2996, allocations: 0 / 416 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008096/0.3005, allocations: 452 kB / 416.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3005, allocations: 0 / 416.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.3007, allocations: 31.98 kB / 416.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3007, allocations: 0 / 416.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.3007, allocations: 4 kB / 416.5 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3008, allocations: 0 / 416.5 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3008, allocations: 0 / 416.5 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005217/0.3013, allocations: 261.2 kB / 416.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.3014, allocations: 89.05 kB / 416.9 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.3014, allocations: 4 kB / 416.9 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.3016, allocations: 4 kB / 416.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.3016, allocations: 7.984 kB / 416.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.3017, allocations: 12.06 kB / 416.9 MB, free: 9.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.3018, allocations: 98.78 kB / 417 MB, free: 8.941 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3018, allocations: 0 / 417 MB, free: 8.941 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005005/0.3023, allocations: 28 kB / 417 MB, free: 8.914 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * 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 (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.0009189/0.3032, allocations: 0.7843 MB / 417.8 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.3036, allocations: 91.83 kB / 417.9 MB, free: 8.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3036, allocations: 0 / 417.9 MB, free: 8.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.3037, allocations: 40.42 kB / 417.9 MB, free: 7.969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.3042, allocations: 16.39 kB / 417.9 MB, free: 7.953 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.3074, allocations: 1.861 MB / 419.8 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.3079, allocations: 0.7157 MB / 420.5 MB, free: 5.215 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.047e-05/0.308, allocations: 20.81 kB / 420.5 MB, free: 5.191 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.3081, allocations: 39.42 kB / 420.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3081, allocations: 0 / 420.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03477/0.3429, allocations: 2.414 MB / 423 MB, free: 2.836 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.484, allocations: 16.12 kB / 423 MB, free: 2.828 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1)