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.001646/0.001646, allocations: 103.8 kB / 16.45 MB, free: 6.449 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.001889/0.001889, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.546/1.546, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.8913/0.8913, allocations: 133.9 MB / 442.8 MB, free: 11.28 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.001894/0.001894, allocations: 62.97 kB / 0.6135 GB, free: 8.715 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1772, allocations: 85.85 MB / 0.6973 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006993/0.1841, allocations: 4.813 MB / 0.702 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003383/0.1875, allocations: 2.722 MB / 0.7047 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.1877, allocations: 0 / 0.7047 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.188, allocations: 51.67 kB / 0.7047 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.1883, allocations: 95.36 kB / 0.7048 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.1898, allocations: 0.513 MB / 0.7053 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.1901, allocations: 235.9 kB / 0.7055 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.1902, allocations: 13.55 kB / 0.7055 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.1904, allocations: 119.6 kB / 0.7056 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.1906, allocations: 95.59 kB / 0.7057 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.1906, allocations: 8 kB / 0.7057 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008119/0.1915, allocations: 391.3 kB / 0.7061 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.326e-05/0.1915, allocations: 35.89 kB / 0.7062 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.986e-05/0.1916, allocations: 83.64 kB / 0.7062 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000759/0.1924, allocations: 371 kB / 0.7066 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1924, allocations: 0 / 0.7066 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1924, allocations: 4 kB / 0.7066 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.1924, allocations: 0 / 0.7066 GB, free: 9.375 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.0009344/0.1933, allocations: 0.5103 MB / 0.7071 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1934, allocations: 9.109 kB / 0.7071 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.926e-05/0.1935, allocations: 54.73 kB / 0.7071 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.1936, allocations: 20.84 kB / 0.7072 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.194, allocations: 208.1 kB / 0.7074 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.194, allocations: 16.69 kB / 0.7074 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.194, allocations: 16.38 kB / 0.7074 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.1945, allocations: 252 kB / 0.7076 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1945, allocations: 4 kB / 0.7076 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.1945, allocations: 8 kB / 0.7076 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.1946, allocations: 7.984 kB / 0.7077 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005264/0.1951, allocations: 427.5 kB / 0.7081 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.1963, allocations: 0.9566 MB / 0.709 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.1966, allocations: 150.8 kB / 0.7091 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1967, allocations: 52.88 kB / 0.7092 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001653/0.1984, allocations: 1.833 MB / 0.711 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.1984, allocations: 38.5 kB / 0.711 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.1984, allocations: 4 kB / 0.711 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003653/0.1988, allocations: 151.5 kB / 0.7112 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.1988, allocations: 55.41 kB / 0.7112 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.199, allocations: 163.3 kB / 0.7114 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.199, allocations: 33.64 kB / 0.7114 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1991, allocations: 144 kB / 0.7115 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.1992, allocations: 59.52 kB / 0.7116 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/0.1993, allocations: 49.7 kB / 0.7116 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1994, allocations: 330.8 kB / 0.712 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.119e-05/0.1995, allocations: 35.97 kB / 0.712 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.1997, allocations: 137.7 kB / 0.7121 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.1999, allocations: 205.5 kB / 0.7123 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1999, allocations: 3.938 kB / 0.7123 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003412/0.2003, allocations: 215.1 kB / 0.7125 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2003, allocations: 4.469 kB / 0.7125 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.2003, allocations: 4 kB / 0.7125 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.2003, allocations: 15.94 kB / 0.7126 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.2005, allocations: 47.92 kB / 0.7126 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.2005, allocations: 11.97 kB / 0.7126 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.2006, allocations: 27.78 kB / 0.7126 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.2006, allocations: 16 kB / 0.7127 GB, free: 2.41 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.0001186/0.2007, allocations: 129.7 kB / 0.7128 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.2008, allocations: 15.91 kB / 0.7128 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.2011, allocations: 163 kB / 0.713 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.2011, allocations: 7.938 kB / 0.713 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2011, allocations: 0 / 0.713 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2011, allocations: 0 / 0.713 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.2014, allocations: 209.6 kB / 0.7132 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2014, allocations: 4 kB / 0.7132 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.904e-05/0.2015, allocations: 20 kB / 0.7132 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2015, allocations: 4 kB / 0.7132 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2015, allocations: 3.984 kB / 0.7132 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2015, allocations: 3.938 kB / 0.7132 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2015, allocations: 3.938 kB / 0.7132 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.2018, allocations: 225.2 kB / 0.7134 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.723e-05/0.2019, allocations: 109 kB / 0.7135 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.2019, allocations: 11.92 kB / 0.7135 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.2021, allocations: 11.94 kB / 0.7135 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.2021, allocations: 11.98 kB / 0.7136 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.2022, allocations: 11.98 kB / 0.7136 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.782e-05/0.2023, allocations: 124.9 kB / 0.7137 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2023, allocations: 4 kB / 0.7137 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000406/0.2027, allocations: 83.8 kB / 0.7138 GB, free: 1.18 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.0008273/0.2035, allocations: 0.837 MB / 0.7146 GB, free: 324 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.2038, allocations: 109.9 kB / 0.7147 GB, free: 216 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2038, allocations: 0 / 0.7147 GB, free: 216 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.785e-05/0.2038, allocations: 43.92 kB / 0.7147 GB, free: 172 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.2043, allocations: 52.81 kB / 0.7148 GB, free: 120 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.2067, allocations: 2.043 MB / 0.7168 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.207, allocations: 0.709 MB / 0.7175 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.2072, allocations: 53.84 kB / 0.7175 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.2073, allocations: 43.42 kB / 0.7176 GB, free: 13.07 MB / 0.545 GB Notification: Performance of SimCode: time 4.8e-07/0.2073, allocations: 0 / 0.7176 GB, free: 13.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03884/0.2461, allocations: 5.32 MB / 0.7228 GB, free: 7.879 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.245, allocations: 2.375 kB / 0.7228 GB, free: 7.879 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.038982928002952] Failed to read output from testmodel.py, exit status != 0: 8.315926515002502 8.34011193 8.143460742 Calling exit ...