Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.001488/0.001488, 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.002688/0.002688, allocations: 209.7 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.773 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.9761/0.9761, allocations: 134 MB / 446.4 MB, free: 9.895 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: translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [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.002293/0.002293, allocations: 67.17 kB / 0.6189 GB, free: 6.383 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1731, allocations: 85.9 MB / 0.7028 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00717/0.1802, allocations: 3.917 MB / 0.7067 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002669/0.1805, allocations: 143.6 kB / 0.7068 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.1805, allocations: 0 / 0.7068 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1806, allocations: 0 / 0.7068 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.691e-05/0.1807, allocations: 19.91 kB / 0.7068 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.1811, allocations: 82.81 kB / 0.7069 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.408e-05/0.1812, allocations: 39.89 kB / 0.7069 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.1812, allocations: 0 / 0.7069 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.1813, allocations: 27.81 kB / 0.707 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.539e-05/0.1814, allocations: 15.97 kB / 0.707 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1814, allocations: 0 / 0.707 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.1816, allocations: 55.81 kB / 0.707 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.1816, allocations: 7.984 kB / 0.707 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.1817, allocations: 11.92 kB / 0.707 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.1818, allocations: 55.88 kB / 0.7071 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1818, allocations: 0 / 0.7071 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1818, allocations: 0 / 0.7071 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1818, allocations: 0 / 0.7071 GB, free: 12.17 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004295/0.1823, allocations: 266.3 kB / 0.7074 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1823, allocations: 8.031 kB / 0.7074 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.1824, allocations: 8.875 kB / 0.7074 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1825, allocations: 106.5 kB / 0.7075 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.1826, allocations: 55.97 kB / 0.7075 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.1826, allocations: 384 / 0.7075 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.1828, allocations: 75.31 kB / 0.7076 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1828, allocations: 0 / 0.7076 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1828, allocations: 4 kB / 0.7076 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.1829, allocations: 3.984 kB / 0.7076 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.768e-05/0.1829, allocations: 16 kB / 0.7076 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.1834, allocations: 220.4 kB / 0.7078 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.932e-05/0.1835, allocations: 22.56 kB / 0.7079 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.1835, allocations: 4.859 kB / 0.7079 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-05/0.1836, allocations: 4.062 kB / 0.7079 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.1836, allocations: 34.56 kB / 0.7079 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1836, allocations: 0 / 0.7079 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001925/0.1838, allocations: 41.62 kB / 0.7079 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.1839, allocations: 55.41 kB / 0.708 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.184, allocations: 97.98 kB / 0.7081 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.184, allocations: 25.7 kB / 0.7081 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/0.1841, allocations: 96.08 kB / 0.7082 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.258e-06/0.1841, allocations: 3.953 kB / 0.7082 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.1841, allocations: 13.72 kB / 0.7082 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1843, allocations: 318.8 kB / 0.7085 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.976e-05/0.1843, allocations: 7.984 kB / 0.7085 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.928e-05/0.1844, allocations: 13.72 kB / 0.7085 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.412e-05/0.1844, allocations: 25.66 kB / 0.7086 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1844, allocations: 4 kB / 0.7086 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001021/0.1845, allocations: 45.69 kB / 0.7086 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1845, allocations: 4 kB / 0.7086 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1845, allocations: 4 kB / 0.7086 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1846, allocations: 3.938 kB / 0.7086 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.54e-05/0.1846, allocations: 7.938 kB / 0.7086 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1846, allocations: 3.984 kB / 0.7086 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.1846, allocations: 0 / 0.7086 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.1846, allocations: 4 kB / 0.7086 GB, free: 10.4 MB / 0.5294 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 9.171e-05/0.1847, allocations: 113.8 kB / 0.7087 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.1848, allocations: 7.938 kB / 0.7088 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.1849, allocations: 121 kB / 0.7089 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.512e-05/0.185, allocations: 180.2 kB / 0.709 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.629e-05/0.1851, allocations: 176.3 kB / 0.7092 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.783e-05/0.1852, allocations: 184.2 kB / 0.7094 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.1854, allocations: 360.8 kB / 0.7097 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.784e-05/0.1855, allocations: 105 kB / 0.7098 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.1855, allocations: 104.9 kB / 0.7099 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.882e-05/0.1856, allocations: 184.3 kB / 0.7101 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.12e-05/0.1857, allocations: 188.2 kB / 0.7103 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.331e-05/0.1858, allocations: 180.2 kB / 0.7105 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.593e-05/0.1859, allocations: 180.3 kB / 0.7106 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.186, allocations: 311.7 kB / 0.7109 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.1861, allocations: 112.9 kB / 0.711 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.762e-05/0.1862, allocations: 176.3 kB / 0.7112 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.1864, allocations: 105 kB / 0.7113 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/0.1864, allocations: 184.2 kB / 0.7115 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/0.1865, allocations: 105 kB / 0.7116 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.555e-05/0.1866, allocations: 83.28 kB / 0.7117 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1866, allocations: 4 kB / 0.7117 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002751/0.1868, allocations: 15.94 kB / 0.7117 GB, free: 7.102 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 (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.0002192/0.187, allocations: 190.4 kB / 0.7119 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.271e-05/0.1871, allocations: 15.94 kB / 0.7119 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1871, allocations: 0 / 0.7119 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.1871, allocations: 0 / 0.7119 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.1877, allocations: 459.6 kB / 0.7123 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.188, allocations: 185.9 kB / 0.7125 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.324e-05/0.1881, allocations: 63.34 kB / 0.7125 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.254e-05/0.1882, allocations: 7.938 kB / 0.7126 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.1882, allocations: 11.44 kB / 0.7126 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1882, allocations: 0 / 0.7126 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of Templates: time 0.003338/0.1915, allocations: 0.6653 MB / 0.7132 GB, free: 5.477 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9177283346652985] Failed to read output from testmodel.py, exit status != 0: 0.19944803416728973 0.216652002 0.031389405 Calling exit ...