Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.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.000894/0.000894, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.0008738/0.0008738, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.8871/0.8871, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09151/0.09151, allocations: 19.74 MB / 281.2 MB, free: 9.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 358 MB, free: 6.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.426e-05, allocations: 2.312 kB / 358 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.02328/0.02329, allocations: 36.31 MB / 394.3 MB, free: 2.133 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00778/0.03107, allocations: 8.978 MB / 403.3 MB, free: 9.121 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002961/0.03137, allocations: 35.62 kB / 403.3 MB, free: 9.086 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005309/0.0319, allocations: 273.7 kB / 403.6 MB, free: 8.816 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007092/0.03261, allocations: 0.5854 MB / 404.1 MB, free: 8.227 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008393/0.041, allocations: 5.856 MB / 410 MB, free: 2.348 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.04222, allocations: 1.625 MB / 411.6 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004061/0.04262, allocations: 382.2 kB / 412 MB, free: 340 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1162/0.1588, allocations: 0.7375 MB / 412.7 MB, free: 22.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006117/0.1594, allocations: 443.7 kB / 413.2 MB, free: 22.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.825e-05/0.1595, allocations: 49.62 kB / 413.2 MB, free: 22.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007788/0.1673, allocations: 5.853 MB / 419.1 MB, free: 22.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.914e-05/0.1674, allocations: 150.5 kB / 419.2 MB, free: 22.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00032/0.1677, allocations: 308.9 kB / 419.5 MB, free: 22.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005387/0.1731, allocations: 4.783 MB / 424.3 MB, free: 22.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1731, allocations: 0 / 424.3 MB, free: 22.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1731, allocations: 0 / 424.3 MB, free: 22.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.1731, allocations: 2.625 kB / 424.3 MB, free: 22.26 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002123/0.1752, allocations: 1.678 MB / 426 MB, free: 21.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1752, allocations: 8.656 kB / 426 MB, free: 21.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.1755, allocations: 222.9 kB / 426.2 MB, free: 21.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.176, allocations: 0.5492 MB / 426.8 MB, free: 21.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.1761, allocations: 283.8 kB / 427 MB, free: 20.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.1762, allocations: 52.47 kB / 427.1 MB, free: 20.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007475/0.1769, allocations: 0.6617 MB / 427.8 MB, free: 20.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1769, allocations: 6.656 kB / 427.8 MB, free: 20.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.177, allocations: 24.91 kB / 427.8 MB, free: 20.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.177, allocations: 17.23 kB / 427.8 MB, free: 20.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006219/0.1776, allocations: 462.3 kB / 428.3 MB, free: 20.62 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.179, allocations: 2.678 MB / 430.9 MB, free: 18.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.1794, allocations: 272.2 kB / 431.2 MB, free: 18.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.034e-05/0.1794, allocations: 63.64 kB / 431.3 MB, free: 18.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1795, allocations: 15.19 kB / 431.3 MB, free: 18.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.1795, allocations: 43.52 kB / 431.3 MB, free: 18.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.894e-06/0.1795, allocations: 3.062 kB / 431.3 MB, free: 18.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009586/0.1804, allocations: 0.4942 MB / 431.8 MB, free: 18.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.1805, allocations: 131.7 kB / 431.9 MB, free: 18.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.1808, allocations: 0.5546 MB / 432.5 MB, free: 18.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1808, allocations: 32.27 kB / 432.5 MB, free: 18.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1809, allocations: 444 kB / 433 MB, free: 17.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.181, allocations: 85.52 kB / 433 MB, free: 17.87 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/0.181, allocations: 70.03 kB / 433.1 MB, free: 17.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.317e-05/0.1811, allocations: 0.542 MB / 433.7 MB, free: 17.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.1812, allocations: 41.09 kB / 433.7 MB, free: 17.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.5e-05/0.1813, allocations: 90.86 kB / 433.8 MB, free: 17.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.1814, allocations: 126.8 kB / 433.9 MB, free: 17.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1814, allocations: 0 / 433.9 MB, free: 17.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002978/0.1817, allocations: 243.2 kB / 434.1 MB, free: 17.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.1818, allocations: 6.438 kB / 434.2 MB, free: 17.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1818, allocations: 4 kB / 434.2 MB, free: 17.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1818, allocations: 3.469 kB / 434.2 MB, free: 17.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.182, allocations: 71.17 kB / 434.2 MB, free: 17.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.182, allocations: 0 / 434.2 MB, free: 17.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.1821, allocations: 22.56 kB / 434.2 MB, free: 17.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.1821, allocations: 15.08 kB / 434.3 MB, free: 17.15 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00012/0.1822, allocations: 166.2 kB / 434.4 MB, free: 17.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.993e-05/0.1823, allocations: 147.6 kB / 434.6 MB, free: 16.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001527/0.1825, allocations: 184 kB / 434.8 MB, free: 16.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.41e-07/0.1825, allocations: 4 kB / 434.8 MB, free: 16.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0002632/0.1827, allocations: 243.6 kB / 435 MB, free: 16.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.461e-06/0.1827, allocations: 9.531 kB / 435 MB, free: 16.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.1828, allocations: 3.031 kB / 435 MB, free: 16.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-06/0.1828, allocations: 9.031 kB / 435 MB, free: 16.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1829, allocations: 63.92 kB / 435.1 MB, free: 16.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.1829, allocations: 6.875 kB / 435.1 MB, free: 16.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.183, allocations: 27.12 kB / 435.1 MB, free: 16.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.183, allocations: 12.56 kB / 435.1 MB, free: 16.67 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 5.846e-05/0.1831, allocations: 283.3 kB / 435.4 MB, free: 16.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.1832, allocations: 74.41 kB / 435.5 MB, free: 16.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.1835, allocations: 242.2 kB / 435.7 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1835, allocations: 3.531 kB / 435.7 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.1835, allocations: 3.438 kB / 435.7 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1835, allocations: 0 / 435.7 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007591/0.1842, allocations: 1.252 MB / 437 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1842, allocations: 3.531 kB / 437 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.635e-05/0.1843, allocations: 55.38 kB / 437 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1843, allocations: 6.844 kB / 437 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1843, allocations: 17.61 kB / 437 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1843, allocations: 8.906 kB / 437.1 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1843, allocations: 3.375 kB / 437.1 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.1846, allocations: 0.8123 MB / 437.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.1847, allocations: 59.72 kB / 437.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.1847, allocations: 21.52 kB / 438 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.1849, allocations: 9.75 kB / 438 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.1849, allocations: 32.47 kB / 438 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.1849, allocations: 17.03 kB / 438 MB, free: 14.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001876/0.1851, allocations: 384 kB / 438.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1851, allocations: 6.953 kB / 438.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001533/0.1866, allocations: 1.123 MB / 439.5 MB, free: 14.39 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.002051/0.1887, allocations: 1.094 MB / 440.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003203/0.189, allocations: 231.9 kB / 440.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.189, allocations: 448 / 440.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.859e-05/0.1891, allocations: 87.95 kB / 440.9 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.1901, allocations: 378.6 kB / 441.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1912, allocations: 1.149 MB / 442.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.707e-05/0.1913, allocations: 134.2 kB / 442.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005418/0.1918, allocations: 0.8326 MB / 443.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.1919, allocations: 54.53 kB / 443.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1919, allocations: 0 / 443.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of Templates: time 0.0473/0.2392, allocations: 44.25 MB / 487.7 MB, free: 3.141 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.786736798007041]