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.001331/0.001331, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001662/0.001662, allocations: 207.4 kB / 22.24 MB, free: 5.262 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.781 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.8276/0.8276, allocations: 134 MB / 446.4 MB, free: 9.926 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.002038/0.002038, allocations: 71.3 kB / 0.6185 GB, free: 6.828 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1737, allocations: 85.91 MB / 0.7024 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.007439/0.1811, allocations: 4.517 MB / 0.7068 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003258/0.1843, allocations: 2.461 MB / 0.7092 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.1845, allocations: 0 / 0.7092 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.1848, allocations: 43.69 kB / 0.7093 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.1852, allocations: 95.42 kB / 0.7094 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.1868, allocations: 0.5245 MB / 0.7099 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.1872, allocations: 228 kB / 0.7101 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.995e-05/0.1872, allocations: 5.75 kB / 0.7101 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.1875, allocations: 123.5 kB / 0.7102 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.1877, allocations: 95.58 kB / 0.7103 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.1877, allocations: 8 kB / 0.7103 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008062/0.1885, allocations: 311.4 kB / 0.7106 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.429e-05/0.1886, allocations: 51.77 kB / 0.7107 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.879e-05/0.1887, allocations: 71.72 kB / 0.7107 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007485/0.1895, allocations: 347.2 kB / 0.7111 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1895, allocations: 7.984 kB / 0.7111 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1895, allocations: 3.938 kB / 0.7111 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.1895, allocations: 0 / 0.7111 GB, free: 8.098 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.000818/0.1903, allocations: 441.4 kB / 0.7115 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1903, allocations: 8.031 kB / 0.7115 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.1905, allocations: 58.67 kB / 0.7116 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.1906, allocations: 28.83 kB / 0.7116 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.191, allocations: 146.4 kB / 0.7117 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.191, allocations: 12.7 kB / 0.7117 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.191, allocations: 16.38 kB / 0.7117 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005948/0.1916, allocations: 491.3 kB / 0.7122 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1916, allocations: 3.938 kB / 0.7122 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.1916, allocations: 8 kB / 0.7122 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/0.1917, allocations: 4 kB / 0.7122 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/0.1922, allocations: 424.1 kB / 0.7126 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.1934, allocations: 0.8086 MB / 0.7134 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.1937, allocations: 151.2 kB / 0.7136 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1938, allocations: 52.88 kB / 0.7136 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007577/0.1946, allocations: 459.8 kB / 0.7141 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.1946, allocations: 38.56 kB / 0.7141 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.1946, allocations: 0 / 0.7141 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003407/0.195, allocations: 145.4 kB / 0.7142 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.195, allocations: 59.41 kB / 0.7143 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.1952, allocations: 171.2 kB / 0.7145 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.1952, allocations: 29.7 kB / 0.7145 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.1953, allocations: 148 kB / 0.7146 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.1953, allocations: 55.53 kB / 0.7147 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.1954, allocations: 53.66 kB / 0.7147 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1956, allocations: 326.8 kB / 0.715 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.455e-05/0.1957, allocations: 35.97 kB / 0.7151 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.1958, allocations: 136.4 kB / 0.7152 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.1961, allocations: 197.5 kB / 0.7154 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1961, allocations: 0 / 0.7154 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003569/0.1964, allocations: 221.1 kB / 0.7156 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1965, allocations: 10.97 kB / 0.7156 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.1965, allocations: 12 kB / 0.7156 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.1965, allocations: 11.92 kB / 0.7156 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.1967, allocations: 63.84 kB / 0.7157 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.1967, allocations: 7.938 kB / 0.7157 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.1968, allocations: 27.78 kB / 0.7157 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.1968, allocations: 16 kB / 0.7157 GB, free: 2.906 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.0001189/0.197, allocations: 129.7 kB / 0.7159 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.197, allocations: 19.91 kB / 0.7159 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.1973, allocations: 153.2 kB / 0.716 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.1973, allocations: 11.94 kB / 0.716 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1973, allocations: 0 / 0.716 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1973, allocations: 0 / 0.716 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.1976, allocations: 184.6 kB / 0.7162 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1976, allocations: 0 / 0.7162 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.1977, allocations: 31.92 kB / 0.7163 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1977, allocations: 0 / 0.7163 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.1977, allocations: 8 kB / 0.7163 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1977, allocations: 7.875 kB / 0.7163 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1977, allocations: 0 / 0.7163 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.198, allocations: 219.4 kB / 0.7165 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.1981, allocations: 35.86 kB / 0.7165 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.1981, allocations: 0 / 0.7165 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.1983, allocations: 19.92 kB / 0.7165 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.1983, allocations: 7.984 kB / 0.7165 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.1983, allocations: 15.94 kB / 0.7166 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001068/0.1984, allocations: 128.9 kB / 0.7167 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1984, allocations: 0 / 0.7167 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003887/0.1988, allocations: 75.88 kB / 0.7167 GB, free: 1.809 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.0008246/0.1996, allocations: 0.8312 MB / 0.7176 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.1999, allocations: 112.7 kB / 0.7177 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1999, allocations: 0 / 0.7177 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/0.2, allocations: 39.92 kB / 0.7177 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.2004, allocations: 66.34 kB / 0.7178 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.2029, allocations: 2.047 MB / 0.7198 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.2031, allocations: 107.2 kB / 0.7199 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001854/0.2033, allocations: 41.91 kB / 0.7199 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.357e-05/0.2034, allocations: 51.41 kB / 0.72 GB, free: 14.31 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.2034, allocations: 0 / 0.72 GB, free: 14.31 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0363/0.2397, allocations: 6.083 MB / 0.7259 GB, free: 8.441 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.49, allocations: 6.562 kB / 0.7259 GB, free: 8.438 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.WaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.230337779968977] Failed to read output from testmodel.py, exit status != 0: 11.601112362928689 11.627199449 11.432700277 Calling exit ...