Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.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.00162/0.00162, allocations: 122 kB / 18.46 MB, free: 4.59 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.001966/0.001966, allocations: 211.3 kB / 21.41 MB, free: 1.641 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.485/1.485, allocations: 227.7 MB / 251.9 MB, free: 15.99 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.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SimpleLiquidWater",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.002133/0.002133, allocations: 71.81 kB / 365.2 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1131, allocations: 50.54 MB / 415.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.007112/0.1203, allocations: 4.542 MB / 420.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.1228, allocations: 1.822 MB / 422.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1229, allocations: 0 / 422.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.1233, allocations: 39.69 kB / 422.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000424/0.1237, allocations: 127.2 kB / 422.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006942/0.1244, allocations: 253.4 kB / 422.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.1249, allocations: 286.9 kB / 422.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.368e-05/0.1249, allocations: 21.11 kB / 422.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.1253, allocations: 127.6 kB / 422.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1254, allocations: 87.61 kB / 423 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.1255, allocations: 8 kB / 423 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.1258, allocations: 103.9 kB / 423.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.428e-05/0.1259, allocations: 35.91 kB / 423.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.126, allocations: 79.64 kB / 423.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.1264, allocations: 227.2 kB / 423.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1264, allocations: 0 / 423.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1264, allocations: 4 kB / 423.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1264, allocations: 0 / 423.5 MB, free: 5.867 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001104/0.1276, allocations: 495 kB / 424 MB, free: 5.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1276, allocations: 8.031 kB / 424 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.751e-05/0.1277, allocations: 54.73 kB / 424 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.1279, allocations: 24.88 kB / 424 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.1282, allocations: 204.2 kB / 424.2 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1283, allocations: 12.66 kB / 424.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.1283, allocations: 12.38 kB / 424.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.1288, allocations: 220.6 kB / 424.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1288, allocations: 0 / 424.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.1288, allocations: 8 kB / 424.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1288, allocations: 4 kB / 424.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004/0.1293, allocations: 143.8 kB / 424.6 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.1307, allocations: 0.9519 MB / 425.6 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.1311, allocations: 158.6 kB / 425.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.1313, allocations: 52.83 kB / 425.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000648/0.1319, allocations: 0.5032 MB / 426.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.132, allocations: 38.56 kB / 426.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.132, allocations: 0 / 426.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002729/0.1347, allocations: 0.773 MB / 427.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.1348, allocations: 55.41 kB / 427.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1349, allocations: 154.4 kB / 427.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.135, allocations: 37.7 kB / 427.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.1351, allocations: 136.2 kB / 427.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.932e-05/0.1352, allocations: 79.31 kB / 427.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1353, allocations: 57.69 kB / 427.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1354, allocations: 326.8 kB / 427.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.1357, allocations: 79.94 kB / 428 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.136, allocations: 193.7 kB / 428.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.1367, allocations: 300 kB / 428.5 MB, free: 380 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1367, allocations: 0 / 428.5 MB, free: 380 kB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007704/0.1374, allocations: 326.3 kB / 428.8 MB, free: 48 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1375, allocations: 7.984 kB / 428.8 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.1375, allocations: 4 kB / 428.8 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.1375, allocations: 7.938 kB / 428.8 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004515/0.138, allocations: 92.23 kB / 428.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.138, allocations: 4 kB / 428.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.1382, allocations: 15.98 kB / 428.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.1383, allocations: 16 kB / 429 MB, free: 15.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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.0001539/0.1384, allocations: 137.7 kB / 429.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.1385, allocations: 15.91 kB / 429.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007084/0.1392, allocations: 242.6 kB / 429.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.1392, allocations: 0 / 429.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.1392, allocations: 7.938 kB / 429.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1392, allocations: 0 / 429.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.1407, allocations: 0.5915 MB / 429.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1407, allocations: 4 kB / 429.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.141, allocations: 60.02 kB / 430 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-06/0.141, allocations: 4 kB / 430 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.141, allocations: 0 / 430 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/0.141, allocations: 7.984 kB / 430 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.141, allocations: 3.938 kB / 430 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009337/0.142, allocations: 404.7 kB / 430.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.1421, allocations: 105 kB / 430.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.1422, allocations: 8 kB / 430.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.1424, allocations: 23.98 kB / 430.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.1424, allocations: 7.984 kB / 430.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.1425, allocations: 15.98 kB / 430.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.447e-05/0.1426, allocations: 110.5 kB / 430.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1426, allocations: 4 kB / 430.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003879/0.143, allocations: 59.94 kB / 430.7 MB, free: 13.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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.001361/0.1444, allocations: 0.9673 MB / 431.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006727/0.145, allocations: 220 kB / 431.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1451, allocations: 0 / 431.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.1453, allocations: 93.06 kB / 432 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.1458, allocations: 39.83 kB / 432.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.1497, allocations: 2.378 MB / 434.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.1502, allocations: 0.7168 MB / 435.2 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002601/0.1505, allocations: 53.86 kB / 435.2 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.1506, allocations: 47.36 kB / 435.3 MB, free: 9.227 MB / 366.1 MB Notification: Performance of SimCode: time 1.203e-06/0.1506, allocations: 0 / 435.3 MB, free: 9.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.1804, allocations: 4.506 MB / 439.8 MB, free: 4.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/7.934, allocations: 6.094 kB / 439.8 MB, free: 4.82 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 Modelica_4_1_0-beta_om_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.584388106013648] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T'] 8.00390344497282 8.185892594 8.057428689 Calling exit ...