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.001928/0.001928, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002398/0.002398, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.56/1.56, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.8163/0.8163, allocations: 101.3 MB / 361.1 MB, free: 9.527 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.00219/0.00219, allocations: 62.28 kB / 0.5356 GB, free: 5.246 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1749, allocations: 85.89 MB / 0.6195 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005775/0.1807, allocations: 3.917 MB / 0.6233 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002175/0.1809, allocations: 147.6 kB / 0.6234 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.1809, allocations: 0 / 0.6234 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.979e-05/0.181, allocations: 3.938 kB / 0.6234 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.346e-05/0.1811, allocations: 19.92 kB / 0.6235 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.1814, allocations: 75.75 kB / 0.6235 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.1815, allocations: 35.84 kB / 0.6236 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.736e-05/0.1816, allocations: 4 kB / 0.6236 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.667e-05/0.1816, allocations: 23.91 kB / 0.6236 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.1817, allocations: 11.98 kB / 0.6236 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1817, allocations: 0 / 0.6236 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.1819, allocations: 55.81 kB / 0.6237 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.1819, allocations: 11.98 kB / 0.6237 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.182, allocations: 7.938 kB / 0.6237 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.1821, allocations: 59.81 kB / 0.6237 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1821, allocations: 3.938 kB / 0.6237 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.597e-06/0.1821, allocations: 3.984 kB / 0.6237 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.1821, allocations: 3.938 kB / 0.6237 GB, free: 13.19 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.0004441/0.1826, allocations: 262.3 kB / 0.624 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1826, allocations: 8.031 kB / 0.624 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.1827, allocations: 4.938 kB / 0.624 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1828, allocations: 106.5 kB / 0.6241 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.311e-05/0.1829, allocations: 55.95 kB / 0.6242 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.1829, allocations: 4.375 kB / 0.6242 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.183, allocations: 71.33 kB / 0.6242 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.183, allocations: 0 / 0.6242 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.183, allocations: 0 / 0.6242 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.1831, allocations: 4 kB / 0.6242 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.742e-05/0.1831, allocations: 19.92 kB / 0.6243 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.1835, allocations: 212.5 kB / 0.6245 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.518e-05/0.1836, allocations: 22.58 kB / 0.6245 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.1836, allocations: 4.859 kB / 0.6245 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.318e-05/0.1836, allocations: 8.047 kB / 0.6245 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.1837, allocations: 34.56 kB / 0.6245 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1837, allocations: 0 / 0.6245 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001381/0.1838, allocations: 37.64 kB / 0.6246 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.1839, allocations: 51.41 kB / 0.6246 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.233e-05/0.1839, allocations: 101.8 kB / 0.6247 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.184, allocations: 29.7 kB / 0.6247 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.184, allocations: 92.22 kB / 0.6248 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-06/0.184, allocations: 3.953 kB / 0.6248 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.1841, allocations: 17.7 kB / 0.6248 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1842, allocations: 318.8 kB / 0.6252 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.1842, allocations: 4 kB / 0.6252 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.1843, allocations: 17.7 kB / 0.6252 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.1843, allocations: 21.66 kB / 0.6252 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1843, allocations: 4 kB / 0.6252 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.394e-05/0.1844, allocations: 53.62 kB / 0.6253 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1844, allocations: 4 kB / 0.6253 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.1844, allocations: 0 / 0.6253 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1844, allocations: 4 kB / 0.6253 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.234e-05/0.1845, allocations: 7.938 kB / 0.6253 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1845, allocations: 0 / 0.6253 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.1845, allocations: 0 / 0.6253 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1845, allocations: 4 kB / 0.6253 GB, free: 11.43 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 8.174e-05/0.1846, allocations: 110.9 kB / 0.6254 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.1846, allocations: 8.266 kB / 0.6254 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.1847, allocations: 124.9 kB / 0.6255 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001033/0.1848, allocations: 184.2 kB / 0.6257 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.304e-05/0.1849, allocations: 180.2 kB / 0.6258 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.793e-05/0.185, allocations: 184.2 kB / 0.626 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.1853, allocations: 356.8 kB / 0.6264 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.082e-05/0.1853, allocations: 104.9 kB / 0.6265 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.1854, allocations: 109 kB / 0.6266 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-05/0.1855, allocations: 176.3 kB / 0.6267 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.04e-05/0.1856, allocations: 188.2 kB / 0.6269 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-05/0.1856, allocations: 180.3 kB / 0.6271 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.901e-05/0.1857, allocations: 184.2 kB / 0.6273 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.1859, allocations: 315.7 kB / 0.6276 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.186, allocations: 104.9 kB / 0.6277 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.486e-05/0.1861, allocations: 180.3 kB / 0.6278 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.1863, allocations: 112.9 kB / 0.6279 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.296e-05/0.1863, allocations: 176.3 kB / 0.6281 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.992e-05/0.1864, allocations: 101 kB / 0.6282 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.015e-05/0.1865, allocations: 91.27 kB / 0.6283 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1865, allocations: 3.938 kB / 0.6283 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000254/0.1867, allocations: 15.94 kB / 0.6283 GB, free: 8.125 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.0002065/0.1869, allocations: 190.5 kB / 0.6285 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.12e-05/0.187, allocations: 15.98 kB / 0.6285 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.187, allocations: 0 / 0.6285 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.187, allocations: 0 / 0.6285 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005197/0.1875, allocations: 462.8 kB / 0.629 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.1878, allocations: 186.1 kB / 0.6291 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.06e-05/0.1879, allocations: 55.36 kB / 0.6292 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.854e-05/0.1879, allocations: 16.05 kB / 0.6292 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.1879, allocations: 8.5 kB / 0.6292 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1879, allocations: 7.938 kB / 0.6292 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of Templates: time 0.003145/0.1911, allocations: 0.6521 MB / 0.6299 GB, free: 6.5 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.528196993982419] Failed to read output from testmodel.py, exit status != 0: 0.19898466696031392 0.214861657 0.029421142 Calling exit ...