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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 215.7 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.988 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.8759/0.8759, allocations: 134 MB / 446.4 MB, free: 10.26 MB / 350.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 70.86 kB / 0.6186 GB, free: 7.184 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1749, allocations: 85.91 MB / 0.7025 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006978/0.1819, allocations: 4.851 MB / 0.7072 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003319/0.1852, allocations: 2.73 MB / 0.7099 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.381e-05/0.1853, allocations: 4 kB / 0.7099 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.1856, allocations: 43.69 kB / 0.7099 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.1859, allocations: 103.3 kB / 0.71 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.1871, allocations: 0.5153 MB / 0.7105 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.1875, allocations: 235.9 kB / 0.7108 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.1875, allocations: 5.75 kB / 0.7108 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.1877, allocations: 119.5 kB / 0.7109 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.1879, allocations: 99.64 kB / 0.711 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.1879, allocations: 8 kB / 0.711 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008064/0.1887, allocations: 399.2 kB / 0.7114 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.1888, allocations: 31.89 kB / 0.7114 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1889, allocations: 83.64 kB / 0.7115 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000609/0.1895, allocations: 367.1 kB / 0.7118 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1895, allocations: 0 / 0.7118 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.52e-07/0.1895, allocations: 4 kB / 0.7118 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.1895, allocations: 0 / 0.7118 GB, free: 7.742 MB / 0.5294 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.0007914/0.1903, allocations: 457.4 kB / 0.7123 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1904, allocations: 12.03 kB / 0.7123 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.634e-05/0.1904, allocations: 46.73 kB / 0.7123 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.1906, allocations: 20.84 kB / 0.7123 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.1909, allocations: 154.4 kB / 0.7125 GB, free: 7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1909, allocations: 12.7 kB / 0.7125 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.1909, allocations: 12.38 kB / 0.7125 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.1913, allocations: 264 kB / 0.7128 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1913, allocations: 0 / 0.7128 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.1913, allocations: 11.94 kB / 0.7128 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.1914, allocations: 4 kB / 0.7128 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005307/0.1919, allocations: 440.1 kB / 0.7132 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.1931, allocations: 0.9323 MB / 0.7141 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.1934, allocations: 152.2 kB / 0.7142 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.841e-05/0.1935, allocations: 56.88 kB / 0.7143 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008068/0.1943, allocations: 471.8 kB / 0.7148 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.1943, allocations: 38.56 kB / 0.7148 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.193e-06/0.1944, allocations: 0 / 0.7148 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003533/0.1947, allocations: 147.6 kB / 0.7149 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1947, allocations: 55.41 kB / 0.715 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.1949, allocations: 175.2 kB / 0.7152 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.195, allocations: 33.7 kB / 0.7152 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1951, allocations: 140 kB / 0.7153 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.1951, allocations: 51.59 kB / 0.7154 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.065e-05/0.1952, allocations: 53.69 kB / 0.7154 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1953, allocations: 326.8 kB / 0.7157 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.1954, allocations: 35.92 kB / 0.7158 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.1956, allocations: 141.6 kB / 0.7159 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.1958, allocations: 199.7 kB / 0.7161 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.1958, allocations: 0 / 0.7161 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003655/0.1962, allocations: 221.2 kB / 0.7163 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1962, allocations: 4 kB / 0.7163 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1962, allocations: 4 kB / 0.7163 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.1963, allocations: 11.94 kB / 0.7163 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.1964, allocations: 51.92 kB / 0.7164 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1964, allocations: 4.469 kB / 0.7164 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1965, allocations: 31.78 kB / 0.7164 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.1966, allocations: 19.98 kB / 0.7164 GB, free: 2.668 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.000133/0.1967, allocations: 137.7 kB / 0.7166 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.1968, allocations: 15.91 kB / 0.7166 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.1971, allocations: 154.9 kB / 0.7167 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.1971, allocations: 7.875 kB / 0.7167 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1971, allocations: 0 / 0.7167 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1971, allocations: 3.984 kB / 0.7167 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.1974, allocations: 188.7 kB / 0.7169 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1974, allocations: 0 / 0.7169 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.471e-05/0.1974, allocations: 19.98 kB / 0.7169 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1975, allocations: 4 kB / 0.7169 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1975, allocations: 4 kB / 0.7169 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.1975, allocations: 7.922 kB / 0.7169 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1975, allocations: 0 / 0.7169 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.1978, allocations: 229.5 kB / 0.7172 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/0.1978, allocations: 35.81 kB / 0.7172 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.1979, allocations: 4 kB / 0.7172 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.1981, allocations: 15.92 kB / 0.7172 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.1981, allocations: 7.984 kB / 0.7172 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.1981, allocations: 15.98 kB / 0.7172 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001093/0.1982, allocations: 124.9 kB / 0.7174 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1982, allocations: 0 / 0.7174 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004018/0.1986, allocations: 79.86 kB / 0.7174 GB, free: 1.562 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.0008568/0.1995, allocations: 0.8292 MB / 0.7182 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002534/0.1997, allocations: 122.6 kB / 0.7184 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1997, allocations: 0 / 0.7184 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.964e-05/0.1998, allocations: 39.92 kB / 0.7184 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.2003, allocations: 60.7 kB / 0.7185 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.2029, allocations: 2.043 MB / 0.7204 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.2033, allocations: 0.7167 MB / 0.7211 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001535/0.2034, allocations: 41.91 kB / 0.7212 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.2035, allocations: 47.42 kB / 0.7212 GB, free: 13.45 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.2035, allocations: 0 / 0.7212 GB, free: 13.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03906/0.2426, allocations: 5.557 MB / 0.7267 GB, free: 8.066 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.48, allocations: 6.656 kB / 0.7267 GB, free: 8.062 MB / 0.545 GB " [Timeout remaining time 648] (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: 15.202189560979605] Failed to read output from testmodel.py, exit status != 0: 11.582575884880498 11.609955571 11.415503268 Calling exit ...