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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 119.5 kB / 18.5 MB, free: 4.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 201.6 kB / 21.45 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.461/1.461, allocations: 230.5 MB / 254.8 MB, free: 15.28 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "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.003177/0.003177, allocations: 71.83 kB / 373.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1231, allocations: 53.32 MB / 427 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003524/0.1266, allocations: 2.006 MB / 429 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1277, allocations: 0.5765 MB / 429.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.728e-05/0.1278, allocations: 4 kB / 429.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.1279, allocations: 23.72 kB / 429.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.62e-05/0.128, allocations: 31.7 kB / 429.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.1282, allocations: 55.86 kB / 429.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.1285, allocations: 147.4 kB / 429.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.1287, allocations: 45.55 kB / 429.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.1288, allocations: 79.7 kB / 430 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.1289, allocations: 71.7 kB / 430 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.129, allocations: 12 kB / 430 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.518e-05/0.129, allocations: 16 kB / 430.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/0.1291, allocations: 35.89 kB / 430.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.018e-05/0.1291, allocations: 79.55 kB / 430.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.1294, allocations: 167.3 kB / 430.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1294, allocations: 0 / 430.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1294, allocations: 0 / 430.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1294, allocations: 3.984 kB / 430.3 MB, free: 1.508 MB / 350.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.0006687/0.1301, allocations: 446.8 kB / 430.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1301, allocations: 8.031 kB / 430.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.1302, allocations: 50.73 kB / 430.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.1303, allocations: 24.83 kB / 430.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.1306, allocations: 208.1 kB / 431.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.1307, allocations: 12.38 kB / 431.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.1307, allocations: 12.38 kB / 431.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.131, allocations: 153.4 kB / 431.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.131, allocations: 7.953 kB / 431.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.131, allocations: 8 kB / 431.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.131, allocations: 4 kB / 431.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/0.1313, allocations: 87.94 kB / 431.3 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008321/0.1321, allocations: 0.5253 MB / 431.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1323, allocations: 70.55 kB / 431.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/0.1324, allocations: 24.98 kB / 432 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1324, allocations: 7.938 kB / 432 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/0.1324, allocations: 38.55 kB / 432 MB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.1324, allocations: 0 / 432 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001093/0.1335, allocations: 0.5954 MB / 432.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.1336, allocations: 59.34 kB / 432.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.1337, allocations: 132.4 kB / 432.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1337, allocations: 25.7 kB / 432.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1338, allocations: 148.1 kB / 433 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.1339, allocations: 43.58 kB / 433 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.1339, allocations: 37.7 kB / 433 MB, free: 14.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1341, allocations: 322.8 kB / 433.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.725e-05/0.1342, allocations: 35.98 kB / 433.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.1343, allocations: 88.91 kB / 433.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.1345, allocations: 126.7 kB / 433.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1345, allocations: 3.938 kB / 433.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002865/0.1348, allocations: 157.4 kB / 433.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.1348, allocations: 8 kB / 433.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1348, allocations: 0 / 433.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1349, allocations: 4 kB / 433.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.135, allocations: 48.03 kB / 433.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.1351, allocations: 8 kB / 433.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.112e-05/0.1351, allocations: 4 kB / 433.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1351, allocations: 8 kB / 433.8 MB, free: 13.64 MB / 366.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.0001198/0.1353, allocations: 125.8 kB / 434 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.1353, allocations: 7.953 kB / 434 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.1353, allocations: 20.7 kB / 434 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1353, allocations: 3.938 kB / 434 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1354, allocations: 288 / 434 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1354, allocations: 4 kB / 434 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006334/0.136, allocations: 447.9 kB / 434.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.136, allocations: 4 kB / 434.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.1362, allocations: 23.98 kB / 434.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1362, allocations: 0 / 434.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.1362, allocations: 0 / 434.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1362, allocations: 4 kB / 434.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1362, allocations: 4.062 kB / 434.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.1366, allocations: 257 kB / 434.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.1367, allocations: 89.05 kB / 434.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1367, allocations: 0 / 434.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.1368, allocations: 8.062 kB / 434.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.1368, allocations: 11.98 kB / 434.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1368, allocations: 0 / 434.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.137, allocations: 99.27 kB / 434.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.137, allocations: 0 / 434.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1372, allocations: 24 kB / 434.9 MB, free: 12.41 MB / 366.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.0006871/0.1379, allocations: 0.7843 MB / 435.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.1382, allocations: 91.83 kB / 435.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1382, allocations: 448 / 435.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.747e-05/0.1383, allocations: 43.92 kB / 435.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.1386, allocations: 11.98 kB / 435.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.1411, allocations: 1.881 MB / 437.8 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.1414, allocations: 0.7158 MB / 438.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.68e-05/0.1415, allocations: 8.875 kB / 438.5 MB, free: 8.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/0.1415, allocations: 43.42 kB / 438.5 MB, free: 8.641 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1415, allocations: 0 / 438.5 MB, free: 8.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/0.1754, allocations: 2.427 MB / 440.9 MB, free: 6.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/8.374, allocations: 6.297 kB / 441 MB, free: 6.312 MB / 366.1 MB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.97884063795209] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass.s', 'mass.v'] 8.441950074862689 8.622288984 8.490572423 Calling exit ...