Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.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.001338/0.001338, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.001549/0.001549, allocations: 189.4 kB / 22.1 MB, free: 4.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 207.6 MB / 232.8 MB, free: 2.812 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4482/0.4482, allocations: 55.67 MB / 340.7 MB, free: 11.51 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Annex60.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterProperties") translateModel(Annex60.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterProperties") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 72.7 kB / 482.1 MB, free: 36.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1645, allocations: 62.88 MB / 0.5322 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterProperties): time 0.007531/0.1721, allocations: 4.715 MB / 0.5368 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003287/0.1754, allocations: 2.628 MB / 0.5393 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.1755, allocations: 0 / 0.5393 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.1758, allocations: 43.69 kB / 0.5394 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.1761, allocations: 99.34 kB / 0.5395 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.1774, allocations: 465.1 kB / 0.5399 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000419/0.1778, allocations: 223.9 kB / 0.5401 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.329e-05/0.1779, allocations: 5.75 kB / 0.5401 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.1781, allocations: 111.5 kB / 0.5402 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.1783, allocations: 87.66 kB / 0.5403 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.1783, allocations: 11.94 kB / 0.5403 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007072/0.179, allocations: 299.4 kB / 0.5406 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.402e-05/0.1791, allocations: 39.89 kB / 0.5407 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1792, allocations: 75.66 kB / 0.5407 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006096/0.1798, allocations: 330.9 kB / 0.541 GB, free: 1.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1798, allocations: 3.938 kB / 0.5411 GB, free: 1.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1798, allocations: 0 / 0.5411 GB, free: 1.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1799, allocations: 0 / 0.5411 GB, free: 1.895 MB / 398.1 MB 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.000848/0.1807, allocations: 437.5 kB / 0.5415 GB, free: 1.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1807, allocations: 8.031 kB / 0.5415 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.1809, allocations: 20.84 kB / 0.5415 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.1813, allocations: 154.3 kB / 0.5416 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.1813, allocations: 12.7 kB / 0.5417 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.1813, allocations: 16.38 kB / 0.5417 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.1818, allocations: 261.1 kB / 0.5419 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1818, allocations: 0 / 0.5419 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.1818, allocations: 4 kB / 0.5419 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.1818, allocations: 8 kB / 0.5419 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005789/0.1824, allocations: 447.5 kB / 0.5424 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.1838, allocations: 0.9795 MB / 0.5433 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.1842, allocations: 157.6 kB / 0.5435 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.1843, allocations: 56.88 kB / 0.5435 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000799/0.1851, allocations: 451.9 kB / 0.544 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.1851, allocations: 38.56 kB / 0.544 GB, free: 14.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.1851, allocations: 0 / 0.544 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004128/0.1856, allocations: 149.4 kB / 0.5441 GB, free: 14.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.1856, allocations: 59.34 kB / 0.5442 GB, free: 14.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1858, allocations: 171.9 kB / 0.5444 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.1858, allocations: 25.7 kB / 0.5444 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.186, allocations: 140.2 kB / 0.5445 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.186, allocations: 55.52 kB / 0.5446 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.695e-05/0.1861, allocations: 57.66 kB / 0.5446 GB, free: 14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.1863, allocations: 322.8 kB / 0.5449 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/0.1864, allocations: 39.97 kB / 0.545 GB, free: 13.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.1866, allocations: 138.2 kB / 0.5451 GB, free: 13.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.1868, allocations: 208.8 kB / 0.5453 GB, free: 13.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1868, allocations: 3.938 kB / 0.5453 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003365/0.1872, allocations: 209.7 kB / 0.5455 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.1872, allocations: 10.03 kB / 0.5455 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.1872, allocations: 4 kB / 0.5455 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.1872, allocations: 4 kB / 0.5455 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.1874, allocations: 59.84 kB / 0.5456 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.1874, allocations: 15.88 kB / 0.5456 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.1875, allocations: 27.78 kB / 0.5456 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1876, allocations: 12 kB / 0.5456 GB, free: 12.86 MB / 414.1 MB 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.0001391/0.1877, allocations: 137.7 kB / 0.5458 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.1878, allocations: 23.92 kB / 0.5458 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.1881, allocations: 151 kB / 0.5459 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.1881, allocations: 11.88 kB / 0.5459 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1881, allocations: 0 / 0.5459 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.1881, allocations: 4 kB / 0.5459 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.1884, allocations: 184.6 kB / 0.5461 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1884, allocations: 0 / 0.5461 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-05/0.1885, allocations: 23.98 kB / 0.5461 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1885, allocations: 0 / 0.5461 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.1885, allocations: 4 kB / 0.5461 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.824e-06/0.1885, allocations: 11.94 kB / 0.5462 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1885, allocations: 0 / 0.5462 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.1888, allocations: 226.7 kB / 0.5464 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.1889, allocations: 27.88 kB / 0.5464 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.1889, allocations: 0 / 0.5464 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.1891, allocations: 11.94 kB / 0.5464 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.1891, allocations: 11.97 kB / 0.5464 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.1891, allocations: 16 kB / 0.5464 GB, free: 11.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.1893, allocations: 116 kB / 0.5465 GB, free: 11.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1893, allocations: 0 / 0.5465 GB, free: 11.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004298/0.1897, allocations: 79.8 kB / 0.5466 GB, free: 11.77 MB / 414.1 MB 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.0003485/0.1901, allocations: 171 kB / 0.5468 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.1903, allocations: 115.7 kB / 0.5469 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.1903, allocations: 4 kB / 0.5469 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.997e-05/0.1904, allocations: 43.91 kB / 0.5469 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.1909, allocations: 44.91 kB / 0.547 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000842/0.1917, allocations: 340.2 kB / 0.5473 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.1921, allocations: 0.7128 MB / 0.548 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.1923, allocations: 49.72 kB / 0.5481 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.1923, allocations: 27.44 kB / 0.5481 GB, free: 10.21 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1923, allocations: 4 kB / 0.5481 GB, free: 10.21 MB / 414.1 MB Notification: Performance of Templates: time 0.008433/0.2008, allocations: 3.37 MB / 0.5514 GB, free: 6.867 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.591497523710132] Failed to read output from testmodel.py, exit status != 0: 0.2093952400609851 0.227204803 0.0436049 Calling exit ...