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.001312/0.001312, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 210.4 kB / 18.58 MB, free: 4.578 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.437/1.437, allocations: 227.7 MB / 247 MB, free: 10.35 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.001889/0.001889, allocations: 62.52 kB / 307.3 MB, free: 420 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1067, allocations: 50.55 MB / 357.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00357/0.1103, allocations: 1.986 MB / 359.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1114, allocations: 0.5727 MB / 360.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.572e-05/0.1116, allocations: 7.938 kB / 360.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.1117, allocations: 15.8 kB / 360.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.698e-05/0.1118, allocations: 39.69 kB / 360.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.112, allocations: 51.88 kB / 360.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.1122, allocations: 147.5 kB / 360.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.1124, allocations: 69.5 kB / 360.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.1126, allocations: 79.7 kB / 360.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1127, allocations: 67.7 kB / 360.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.1127, allocations: 12 kB / 360.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.436e-05/0.1128, allocations: 16 kB / 360.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.617e-05/0.1128, allocations: 35.84 kB / 361 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.544e-05/0.1129, allocations: 75.66 kB / 361 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.1132, allocations: 163.7 kB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1132, allocations: 0 / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1132, allocations: 0 / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1132, allocations: 0 / 361.2 MB, free: 10.5 MB / 302.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.0006495/0.1138, allocations: 451 kB / 361.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1139, allocations: 8.031 kB / 361.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.402e-05/0.114, allocations: 54.67 kB / 361.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.1141, allocations: 24.75 kB / 361.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.1144, allocations: 204.1 kB / 361.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1144, allocations: 12.38 kB / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.1144, allocations: 20.38 kB / 362 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.1147, allocations: 145.5 kB / 362.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1148, allocations: 0 / 362.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1148, allocations: 4 kB / 362.1 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1148, allocations: 7.984 kB / 362.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.115, allocations: 87.94 kB / 362.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000835/0.1159, allocations: 0.5365 MB / 362.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.1161, allocations: 82.41 kB / 362.8 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.759e-05/0.1161, allocations: 32.84 kB / 362.8 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.1162, allocations: 4 kB / 362.8 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.1162, allocations: 34.56 kB / 362.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1162, allocations: 0 / 362.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001141/0.1174, allocations: 0.5984 MB / 363.5 MB, free: 7.949 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.1174, allocations: 55.34 kB / 363.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1176, allocations: 130.1 kB / 363.7 MB, free: 7.742 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1176, allocations: 25.7 kB / 363.7 MB, free: 7.711 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1177, allocations: 132 kB / 363.8 MB, free: 7.574 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.1178, allocations: 43.45 kB / 363.9 MB, free: 7.531 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.1178, allocations: 33.61 kB / 363.9 MB, free: 7.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.118, allocations: 326.8 kB / 364.2 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.12e-05/0.1181, allocations: 31.98 kB / 364.2 MB, free: 7.133 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.1182, allocations: 86.84 kB / 364.3 MB, free: 7.023 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.1185, allocations: 127.8 kB / 364.4 MB, free: 6.875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1185, allocations: 8 kB / 364.5 MB, free: 6.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002989/0.1188, allocations: 161.3 kB / 364.6 MB, free: 6.703 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1188, allocations: 4 kB / 364.6 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1188, allocations: 4 kB / 364.6 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1189, allocations: 4 kB / 364.6 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.119, allocations: 39.86 kB / 364.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.119, allocations: 0 / 364.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.1191, allocations: 8 kB / 364.7 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.1191, allocations: 8 kB / 364.7 MB, free: 6.637 MB / 302.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.0001386/0.1193, allocations: 141.9 kB / 364.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.1193, allocations: 7.906 kB / 364.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.1194, allocations: 8.719 kB / 364.8 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.1194, allocations: 7.938 kB / 364.8 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1194, allocations: 0 / 364.8 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1194, allocations: 0 / 364.8 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006211/0.12, allocations: 448 kB / 365.3 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.12, allocations: 3.984 kB / 365.3 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.1202, allocations: 23.98 kB / 365.3 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1202, allocations: 4 kB / 365.3 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.1202, allocations: 4 kB / 365.3 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1202, allocations: 3.938 kB / 365.3 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1202, allocations: 4 kB / 365.3 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.1206, allocations: 253.1 kB / 365.6 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.1207, allocations: 81.02 kB / 365.7 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.1207, allocations: 8 kB / 365.7 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.1208, allocations: 3.984 kB / 365.7 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.1208, allocations: 7.938 kB / 365.7 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.1208, allocations: 4 kB / 365.7 MB, free: 5.531 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.35e-05/0.1209, allocations: 109.4 kB / 365.8 MB, free: 5.426 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1209, allocations: 0 / 365.8 MB, free: 5.426 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.1212, allocations: 28.19 kB / 365.8 MB, free: 5.398 MB / 302.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.0006621/0.1219, allocations: 0.7921 MB / 366.6 MB, free: 4.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.1221, allocations: 99.83 kB / 366.7 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1222, allocations: 0 / 366.7 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.437e-05/0.1222, allocations: 39.92 kB / 366.7 MB, free: 4.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.1226, allocations: 12.55 kB / 366.7 MB, free: 4.422 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.125, allocations: 1.849 MB / 368.6 MB, free: 2.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.1254, allocations: 0.7119 MB / 369.3 MB, free: 1.695 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.193e-05/0.1254, allocations: 16.86 kB / 369.3 MB, free: 1.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.069e-05/0.1255, allocations: 43.42 kB / 369.4 MB, free: 1.637 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1255, allocations: 0 / 369.4 MB, free: 1.637 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1779/0.3035, allocations: 2.341 MB / 371.7 MB, free: 19.9 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.195, allocations: 5.469 kB / 371.7 MB, free: 19.9 MB / 302.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)