Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.0009449/0.0009449, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.0009446/0.0009446, allocations: 165 kB / 24.56 MB, free: 8 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.8962/0.8962, 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.08736/0.08736, allocations: 19.73 MB / 281.2 MB, free: 9.238 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.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 358 MB, free: 6.605 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.178e-05, allocations: 6.25 kB / 358 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.0191/0.01912, allocations: 20.23 MB / 378.2 MB, free: 2.285 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007083/0.0262, allocations: 8.433 MB / 386.6 MB, free: 9.816 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.02641, allocations: 15.88 kB / 386.7 MB, free: 9.801 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.02675, allocations: 154.7 kB / 386.8 MB, free: 9.648 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.02718, allocations: 345.5 kB / 387.1 MB, free: 9.309 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007218/0.0344, allocations: 4.736 MB / 391.9 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007106/0.03511, allocations: 0.9328 MB / 392.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.03538, allocations: 244.3 kB / 393.1 MB, free: 3.379 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.03574, allocations: 446.9 kB / 393.5 MB, free: 2.941 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.03601, allocations: 283.1 kB / 393.8 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.03605, allocations: 32 kB / 393.8 MB, free: 2.633 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00666/0.04271, allocations: 5.822 MB / 399.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.953e-05/0.04278, allocations: 87.59 kB / 399.7 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.04293, allocations: 195.5 kB / 399.9 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004404/0.04733, allocations: 4.552 MB / 404.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.04734, allocations: 4 kB / 404.5 MB, free: 7.961 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.04734, allocations: 0 / 404.5 MB, free: 7.961 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.04734, allocations: 0 / 404.5 MB, free: 7.961 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001915/0.04926, allocations: 1.334 MB / 405.8 MB, free: 6.586 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.0493, allocations: 8.031 kB / 405.8 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.04954, allocations: 144.4 kB / 405.9 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.04992, allocations: 377.2 kB / 406.3 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.05003, allocations: 207.4 kB / 406.5 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.05007, allocations: 32.31 kB / 406.5 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006008/0.05067, allocations: 431.4 kB / 407 MB, free: 5.328 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.05068, allocations: 7.938 kB / 407 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.0507, allocations: 12 kB / 407 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.05071, allocations: 8 kB / 407 MB, free: 5.301 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.05121, allocations: 323.5 kB / 407.3 MB, free: 4.984 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.001082/0.05229, allocations: 1.153 MB / 408.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.05272, allocations: 246.1 kB / 408.7 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.05282, allocations: 67.59 kB / 408.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.05285, allocations: 8 kB / 408.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.05287, allocations: 37.39 kB / 408.8 MB, free: 3.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.263e-06/0.05287, allocations: 0 / 408.8 MB, free: 3.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001473/0.05434, allocations: 0.5983 MB / 409.4 MB, free: 2.801 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.05437, allocations: 59.34 kB / 409.5 MB, free: 2.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.05461, allocations: 386.7 kB / 409.8 MB, free: 2.332 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.05463, allocations: 33.7 kB / 409.9 MB, free: 2.293 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.05475, allocations: 287.2 kB / 410.2 MB, free: 2.008 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/0.0548, allocations: 91.22 kB / 410.2 MB, free: 1.918 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/0.05487, allocations: 63.33 kB / 410.3 MB, free: 1.848 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.055, allocations: 0.5157 MB / 410.8 MB, free: 1.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.376e-05/0.05509, allocations: 55.66 kB / 410.9 MB, free: 1.262 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.05518, allocations: 46.06 kB / 410.9 MB, free: 1.219 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.05536, allocations: 112.1 kB / 411 MB, free: 1.105 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.05536, allocations: 4 kB / 411 MB, free: 1.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003924/0.05575, allocations: 264.9 kB / 411.3 MB, free: 0.832 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.05576, allocations: 4 kB / 411.3 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.05576, allocations: 0 / 411.3 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.05692, allocations: 351.2 kB / 411.6 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.05707, allocations: 51.95 kB / 411.7 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1128/0.1699, allocations: 0.8875 MB / 412.6 MB, free: 39.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.1701, allocations: 24.34 kB / 412.6 MB, free: 39.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1701, allocations: 9.906 kB / 412.6 MB, free: 39.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001538/0.1703, allocations: 169.8 kB / 412.8 MB, free: 39.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001017/0.1704, allocations: 86.25 kB / 412.9 MB, free: 39.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001582/0.1705, allocations: 122.1 kB / 413 MB, free: 39.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.1705, allocations: 0 / 413 MB, free: 39.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.000462/0.171, allocations: 262.8 kB / 413.2 MB, free: 39.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.171, allocations: 7.75 kB / 413.2 MB, free: 39.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.171, allocations: 1.25 kB / 413.2 MB, free: 39.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002633/0.1713, allocations: 76.88 kB / 413.3 MB, free: 39.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.1715, allocations: 69.31 kB / 413.4 MB, free: 39.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008547/0.1723, allocations: 1.852 MB / 415.2 MB, free: 37.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.1725, allocations: 18.94 kB / 415.3 MB, free: 37.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.1725, allocations: 12.86 kB / 415.3 MB, free: 37.55 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 8.087e-05/0.1726, allocations: 284 kB / 415.5 MB, free: 37.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.1726, allocations: 45.09 kB / 415.6 MB, free: 37.28 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/0.1731, allocations: 296.3 kB / 415.9 MB, free: 37.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1731, allocations: 5.703 kB / 415.9 MB, free: 37.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.1731, allocations: 2.094 kB / 415.9 MB, free: 37.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1731, allocations: 2.062 kB / 415.9 MB, free: 37.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.1733, allocations: 309.6 kB / 416.2 MB, free: 37.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1733, allocations: 3.938 kB / 416.2 MB, free: 37.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.818e-05/0.1734, allocations: 34.58 kB / 416.2 MB, free: 37.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006677/0.1741, allocations: 220.9 kB / 416.4 MB, free: 37.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.1741, allocations: 9.891 kB / 416.5 MB, free: 37.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003344/0.1744, allocations: 0.9145 MB / 417.4 MB, free: 36.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1744, allocations: 6.328 kB / 417.4 MB, free: 36.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.1748, allocations: 419.1 kB / 417.8 MB, free: 36.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.1749, allocations: 43.58 kB / 417.8 MB, free: 36.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.1749, allocations: 10.16 kB / 417.8 MB, free: 36.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.181e-05/0.175, allocations: 9.5 kB / 417.8 MB, free: 36.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.1751, allocations: 39.2 kB / 417.9 MB, free: 36.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1751, allocations: 12.7 kB / 417.9 MB, free: 36.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001599/0.1752, allocations: 262.9 kB / 418.2 MB, free: 35.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1752, allocations: 0 / 418.2 MB, free: 35.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001971/0.1772, allocations: 1.001 MB / 419.2 MB, free: 35.88 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (V1.fluidState.phase,V2.fluidState.phase,V3.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002536/0.1797, allocations: 1.076 MB / 420.2 MB, free: 35.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007554/0.1805, allocations: 454.4 kB / 420.7 MB, free: 35.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1805, allocations: 3.562 kB / 420.7 MB, free: 35.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.1807, allocations: 127.3 kB / 420.8 MB, free: 35.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.1814, allocations: 228 kB / 421 MB, free: 35.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.1827, allocations: 0.7594 MB / 421.8 MB, free: 35.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.962e-05/0.1827, allocations: 106.3 kB / 421.9 MB, free: 35.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004693/0.1832, allocations: 419.9 kB / 422.3 MB, free: 35.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.1833, allocations: 37.23 kB / 422.3 MB, free: 35.07 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1833, allocations: 0 / 422.3 MB, free: 35.07 MB / 330.7 MB Notification: Performance of Templates: time 0.03169/0.215, allocations: 36.82 MB / 459.2 MB, free: 9.629 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.245851495303214]