Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001479/0.001479, allocations: 104.2 kB / 16.45 MB, free: 6.504 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.001415/0.001415, allocations: 192.6 kB / 19.41 MB, free: 3.68 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.374/1.374, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.8371/0.8371, allocations: 134 MB / 436.6 MB, free: 1.25 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 73.08 kB / 0.6051 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1702, allocations: 84.68 MB / 0.6878 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005052/0.1753, allocations: 3.313 MB / 0.691 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001134/0.1754, allocations: 55.86 kB / 0.6911 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/0.1754, allocations: 0 / 0.6911 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.1755, allocations: 3.938 kB / 0.6911 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.064e-05/0.1756, allocations: 19.91 kB / 0.6911 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.1761, allocations: 177 kB / 0.6913 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.491e-05/0.1762, allocations: 39.84 kB / 0.6913 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.1763, allocations: 4 kB / 0.6913 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.363e-05/0.1763, allocations: 15.98 kB / 0.6913 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.296e-05/0.1764, allocations: 19.84 kB / 0.6914 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.1764, allocations: 4 kB / 0.6914 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003433/0.1767, allocations: 179.5 kB / 0.6915 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.1768, allocations: 4 kB / 0.6915 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.1768, allocations: 15.92 kB / 0.6916 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.1771, allocations: 132 kB / 0.6917 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1771, allocations: 0 / 0.6917 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1771, allocations: 4 kB / 0.6917 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.1771, allocations: 3.938 kB / 0.6917 GB, free: 7.102 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004817/0.1776, allocations: 355.2 kB / 0.692 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1776, allocations: 8.031 kB / 0.692 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.1776, allocations: 38.69 kB / 0.6921 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.1777, allocations: 0.9375 kB / 0.6921 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.1778, allocations: 160.4 kB / 0.6922 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.465e-05/0.1779, allocations: 34.27 kB / 0.6923 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.1779, allocations: 8.125 kB / 0.6923 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1781, allocations: 45.61 kB / 0.6923 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1781, allocations: 4 kB / 0.6923 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1781, allocations: 0 / 0.6923 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.1781, allocations: 3.984 kB / 0.6923 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.84e-05/0.1782, allocations: 19.92 kB / 0.6923 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007055/0.1789, allocations: 0.5794 MB / 0.6929 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.452e-05/0.1789, allocations: 22.58 kB / 0.6929 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.1789, allocations: 4.859 kB / 0.6929 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/0.1792, allocations: 340.5 kB / 0.6932 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.1792, allocations: 30.56 kB / 0.6933 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.1793, allocations: 0 / 0.6933 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001611/0.1794, allocations: 49.58 kB / 0.6933 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1795, allocations: 55.53 kB / 0.6934 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.305e-05/0.1795, allocations: 97.86 kB / 0.6935 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1796, allocations: 25.7 kB / 0.6935 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.1796, allocations: 92.08 kB / 0.6936 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.1796, allocations: 3.938 kB / 0.6936 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.1797, allocations: 17.72 kB / 0.6936 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1798, allocations: 314.8 kB / 0.6939 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.1798, allocations: 7.984 kB / 0.6939 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.1798, allocations: 17.72 kB / 0.6939 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.626e-05/0.1799, allocations: 21.66 kB / 0.694 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1799, allocations: 0 / 0.694 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.58e-05/0.18, allocations: 49.69 kB / 0.694 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.18, allocations: 7.938 kB / 0.694 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.18, allocations: 3.938 kB / 0.694 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.18, allocations: 4.062 kB / 0.694 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.745e-05/0.18, allocations: 8 kB / 0.694 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.18, allocations: 3.984 kB / 0.694 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.1801, allocations: 3.953 kB / 0.694 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1801, allocations: 4 kB / 0.694 GB, free: 4.301 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 8.258e-05/0.1802, allocations: 109.8 kB / 0.6941 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.1802, allocations: 4 kB / 0.6941 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.1803, allocations: 117 kB / 0.6943 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.059e-05/0.1804, allocations: 188.2 kB / 0.6944 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.596e-05/0.1805, allocations: 180.3 kB / 0.6946 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.536e-05/0.1805, allocations: 180.2 kB / 0.6948 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.1808, allocations: 409.2 kB / 0.6952 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.031e-05/0.1809, allocations: 105 kB / 0.6953 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.1809, allocations: 109 kB / 0.6954 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-05/0.181, allocations: 188.2 kB / 0.6955 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.292e-05/0.1811, allocations: 184.2 kB / 0.6957 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.592e-05/0.1811, allocations: 180.2 kB / 0.6959 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.558e-05/0.1812, allocations: 180.2 kB / 0.6961 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.1814, allocations: 311.8 kB / 0.6964 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.621e-05/0.1815, allocations: 186 kB / 0.6965 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.185e-05/0.1816, allocations: 176.3 kB / 0.6967 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.1818, allocations: 112.9 kB / 0.6968 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.881e-05/0.1819, allocations: 176.3 kB / 0.697 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/0.1819, allocations: 113 kB / 0.6971 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.788e-05/0.182, allocations: 87.27 kB / 0.6972 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.182, allocations: 0 / 0.6972 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003179/0.1823, allocations: 39.81 kB / 0.6972 GB, free: 0.8125 MB / 0.5137 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 (0): * Single equations (assignments): 0 * 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.0006787/0.183, allocations: 0.8673 MB / 0.6981 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.823e-05/0.183, allocations: 4 kB / 0.6981 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.183, allocations: 12 kB / 0.6981 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.781e-06/0.183, allocations: 4 kB / 0.6981 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.1835, allocations: 455.7 kB / 0.6985 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.1848, allocations: 1.336 MB / 0.6998 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.1851, allocations: 0.6729 MB / 0.7005 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.307e-05/0.1852, allocations: 10.23 kB / 0.7005 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.1852, allocations: 7.438 kB / 0.7005 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1852, allocations: 0 / 0.7005 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.2096, allocations: 2.156 MB / 0.7026 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/7.873, allocations: 11.11 kB / 0.7026 GB, free: 11.34 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.326077030040324] Failed to read output from testmodel.py, exit status != 0: 7.939692765008658 7.957258676 7.777269771 Calling exit ...