Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8246/0.8246, allocations: 134 MB / 436.6 MB, free: 1.246 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 64.62 kB / 0.6051 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1741, allocations: 84.67 MB / 0.6878 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006453/0.1806, allocations: 4.758 MB / 0.6925 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003123/0.1837, allocations: 2.706 MB / 0.6951 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.279e-05/0.1838, allocations: 8 kB / 0.6951 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.1841, allocations: 43.69 kB / 0.6952 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.1843, allocations: 99.41 kB / 0.6953 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.1856, allocations: 0.5122 MB / 0.6958 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.1859, allocations: 228 kB / 0.696 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.1859, allocations: 5.562 kB / 0.696 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.1861, allocations: 123.5 kB / 0.6961 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1863, allocations: 91.64 kB / 0.6962 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1863, allocations: 8 kB / 0.6962 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007262/0.187, allocations: 371.3 kB / 0.6966 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.411e-05/0.1871, allocations: 39.83 kB / 0.6966 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1872, allocations: 87.58 kB / 0.6967 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005837/0.1878, allocations: 367 kB / 0.697 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1878, allocations: 4 kB / 0.697 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1878, allocations: 0 / 0.697 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.1878, allocations: 0 / 0.697 GB, free: 1.598 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007859/0.1886, allocations: 0.5025 MB / 0.6975 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1886, allocations: 15.97 kB / 0.6975 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/0.1887, allocations: 50.72 kB / 0.6976 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.1889, allocations: 24.84 kB / 0.6976 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.1892, allocations: 212.2 kB / 0.6978 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1892, allocations: 8.703 kB / 0.6978 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.1892, allocations: 20.38 kB / 0.6978 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.1896, allocations: 248 kB / 0.6981 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1896, allocations: 0 / 0.6981 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.1897, allocations: 8 kB / 0.6981 GB, free: 412 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/0.1897, allocations: 11.98 kB / 0.6981 GB, free: 400 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005257/0.1902, allocations: 431.5 kB / 0.6985 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.1914, allocations: 0.9526 MB / 0.6994 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.1917, allocations: 155.9 kB / 0.6996 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1918, allocations: 48.89 kB / 0.6996 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001628/0.1934, allocations: 1.825 MB / 0.7014 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1935, allocations: 42.44 kB / 0.7015 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.1935, allocations: 4 kB / 0.7015 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.000357/0.1938, allocations: 141.5 kB / 0.7016 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.1939, allocations: 59.39 kB / 0.7016 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.194, allocations: 163.3 kB / 0.7018 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.1941, allocations: 29.7 kB / 0.7018 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1942, allocations: 152 kB / 0.702 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.1942, allocations: 51.53 kB / 0.702 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.1943, allocations: 57.66 kB / 0.7021 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1945, allocations: 322.8 kB / 0.7024 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.1945, allocations: 39.97 kB / 0.7024 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.1947, allocations: 141.7 kB / 0.7026 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.195, allocations: 196.6 kB / 0.7027 GB, free: 11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.195, allocations: 0 / 0.7027 GB, free: 11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003435/0.1953, allocations: 221.1 kB / 0.703 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1953, allocations: 8.469 kB / 0.703 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1953, allocations: 8 kB / 0.703 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.1953, allocations: 7.938 kB / 0.703 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.1955, allocations: 47.92 kB / 0.703 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.1955, allocations: 11.98 kB / 0.703 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.1956, allocations: 27.78 kB / 0.7031 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.1957, allocations: 12 kB / 0.7031 GB, free: 10.66 MB / 0.5294 GB 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001208/0.1958, allocations: 133.7 kB / 0.7032 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.1958, allocations: 23.83 kB / 0.7032 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.1961, allocations: 151.1 kB / 0.7034 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.1962, allocations: 7.938 kB / 0.7034 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.1962, allocations: 3.984 kB / 0.7034 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1962, allocations: 7.938 kB / 0.7034 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.1964, allocations: 217.5 kB / 0.7036 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1964, allocations: 0 / 0.7036 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.1965, allocations: 27.98 kB / 0.7036 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1965, allocations: 3.938 kB / 0.7036 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1966, allocations: 4 kB / 0.7036 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1966, allocations: 3.938 kB / 0.7036 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1966, allocations: 3.984 kB / 0.7036 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.1968, allocations: 217.8 kB / 0.7038 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.1969, allocations: 112.9 kB / 0.704 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.197, allocations: 0 / 0.704 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.1971, allocations: 19.92 kB / 0.704 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.1972, allocations: 11.97 kB / 0.704 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.1972, allocations: 15.98 kB / 0.704 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001013/0.1973, allocations: 124.9 kB / 0.7041 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1973, allocations: 0 / 0.7041 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003842/0.1977, allocations: 71.88 kB / 0.7042 GB, free: 9.43 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0008019/0.1985, allocations: 0.8293 MB / 0.705 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.1987, allocations: 110.2 kB / 0.7051 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.1987, allocations: 0 / 0.7051 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.047e-05/0.1988, allocations: 48.8 kB / 0.7052 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.1992, allocations: 51.83 kB / 0.7052 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.2018, allocations: 2.052 MB / 0.7072 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.2022, allocations: 0.7089 MB / 0.7079 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.2024, allocations: 57.88 kB / 0.708 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.352e-05/0.2025, allocations: 43.42 kB / 0.708 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of SimCode: time 1.212e-06/0.2025, allocations: 0 / 0.708 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.2335, allocations: 5.263 MB / 0.7131 GB, free: 172 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/8.532, allocations: 6.812 kB / 0.7131 GB, free: 168 kB / 0.5294 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.983824944589287] Failed to read output from testmodel.py, exit status != 0: 8.602793822064996 8.623378716 8.431760926 Calling exit ...