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.001465/0.001465, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.00163/0.00163, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.508/1.508, allocations: 230.5 MB / 254.8 MB, free: 15.25 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.001949/0.001949, allocations: 71.83 kB / 373.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1078, allocations: 53.33 MB / 427 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006084/0.1139, allocations: 4.568 MB / 431.6 MB, free: 244 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.1161, allocations: 1.818 MB / 433.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.1162, allocations: 4 kB / 433.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.1164, allocations: 43.62 kB / 433.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.1168, allocations: 131.2 kB / 433.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006395/0.1174, allocations: 249.4 kB / 433.8 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.1178, allocations: 290.9 kB / 434.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.1178, allocations: 9.125 kB / 434.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.1181, allocations: 131.6 kB / 434.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1182, allocations: 91.59 kB / 434.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.1182, allocations: 8 kB / 434.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.1185, allocations: 103.9 kB / 434.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.533e-05/0.1185, allocations: 31.91 kB / 434.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1186, allocations: 87.58 kB / 434.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.119, allocations: 219.2 kB / 434.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.119, allocations: 8 kB / 434.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.119, allocations: 0 / 434.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.119, allocations: 0 / 434.8 MB, free: 13.04 MB / 366.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.001004/0.12, allocations: 491 kB / 435.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.12, allocations: 12.03 kB / 435.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.549e-05/0.1201, allocations: 54.73 kB / 435.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.1203, allocations: 24.88 kB / 435.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.1206, allocations: 208.2 kB / 435.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.1206, allocations: 8.656 kB / 435.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.1207, allocations: 16.38 kB / 435.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.1211, allocations: 216.6 kB / 435.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1211, allocations: 0 / 435.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.1211, allocations: 8 kB / 435.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.1212, allocations: 4 kB / 435.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.1215, allocations: 147.8 kB / 435.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.1229, allocations: 0.9557 MB / 436.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.1234, allocations: 146.7 kB / 437 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.1235, allocations: 48.83 kB / 437.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005794/0.1241, allocations: 0.5071 MB / 437.6 MB, free: 9.945 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.1241, allocations: 34.56 kB / 437.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.1241, allocations: 0 / 437.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002734/0.1269, allocations: 0.7728 MB / 438.4 MB, free: 9.078 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.1269, allocations: 51.41 kB / 438.4 MB, free: 9.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.1271, allocations: 166.4 kB / 438.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.1271, allocations: 25.7 kB / 438.6 MB, free: 8.812 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.1272, allocations: 144.1 kB / 438.8 MB, free: 8.668 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.1274, allocations: 79.31 kB / 438.8 MB, free: 8.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.1275, allocations: 61.69 kB / 438.9 MB, free: 8.523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1277, allocations: 322.8 kB / 439.2 MB, free: 8.199 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.128, allocations: 87.94 kB / 439.3 MB, free: 8.113 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.1283, allocations: 189.6 kB / 439.5 MB, free: 7.879 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000632/0.129, allocations: 296 kB / 439.8 MB, free: 7.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.129, allocations: 0 / 439.8 MB, free: 7.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007723/0.1297, allocations: 318.2 kB / 440.1 MB, free: 7.227 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.1298, allocations: 11.98 kB / 440.1 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.1298, allocations: 4 kB / 440.1 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.1298, allocations: 8.406 kB / 440.1 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.1302, allocations: 79.89 kB / 440.2 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.1302, allocations: 8 kB / 440.2 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.1304, allocations: 15.98 kB / 440.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.1305, allocations: 16 kB / 440.2 MB, free: 7.086 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.000162/0.1306, allocations: 145.6 kB / 440.4 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.1307, allocations: 15.91 kB / 440.4 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007224/0.1314, allocations: 238.7 kB / 440.6 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1314, allocations: 4 kB / 440.6 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1314, allocations: 0 / 440.6 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1314, allocations: 0 / 440.6 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.1329, allocations: 0.6053 MB / 441.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1329, allocations: 0 / 441.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.1332, allocations: 60.02 kB / 441.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1332, allocations: 0 / 441.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.1332, allocations: 8 kB / 441.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.1332, allocations: 15.92 kB / 441.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1332, allocations: 3.938 kB / 441.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008838/0.1341, allocations: 404.5 kB / 441.7 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.1342, allocations: 105 kB / 441.8 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.1342, allocations: 4.062 kB / 441.8 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.1345, allocations: 19.92 kB / 441.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.1345, allocations: 11.98 kB / 441.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.1345, allocations: 15.98 kB / 441.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.48e-05/0.1346, allocations: 110.3 kB / 442 MB, free: 5.223 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1346, allocations: 0 / 442 MB, free: 5.223 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000422/0.1351, allocations: 63.94 kB / 442 MB, free: 5.16 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.001488/0.1365, allocations: 0.9615 MB / 443 MB, free: 4.156 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007162/0.1373, allocations: 212.1 kB / 443.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1373, allocations: 0 / 443.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.1375, allocations: 89 kB / 443.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.138, allocations: 35.84 kB / 443.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004645/0.1426, allocations: 2.374 MB / 445.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.1432, allocations: 0.7207 MB / 446.4 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002702/0.1434, allocations: 45.88 kB / 446.5 MB, free: 484 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.1436, allocations: 51.42 kB / 446.5 MB, free: 432 kB / 366.1 MB Notification: Performance of SimCode: time 1.353e-06/0.1436, allocations: 0 / 446.5 MB, free: 432 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.265/0.4086, allocations: 4.533 MB / 451 MB, free: 24.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.28, allocations: 14.44 kB / 451.1 MB, free: 24.85 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.848460448905826] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T'] 8.349774789996445 8.36648466 8.242916269 Calling exit ...