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.0008426/0.0008426, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009963/0.0009963, allocations: 164.8 kB / 25.61 MB, free: 8.902 MB / 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.8988/0.8988, allocations: 177.1 MB / 206 MB, free: 4.5 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.09413/0.09413, allocations: 19.74 MB / 282.3 MB, free: 12.27 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.032e-06/1.032e-06, allocations: 0 / 359.2 MB, free: 44.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.005e-05, allocations: 6.75 kB / 359.2 MB, free: 44.15 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.01244/0.01246, allocations: 20 MB / 379.2 MB, free: 24.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005745/0.0182, allocations: 8.29 MB / 387.5 MB, free: 16.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.01841, allocations: 19.81 kB / 387.5 MB, free: 16.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.01875, allocations: 142.8 kB / 387.7 MB, free: 16.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.01912, allocations: 349.4 kB / 388 MB, free: 16.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006393/0.02551, allocations: 4.734 MB / 392.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005307/0.02605, allocations: 0.94 MB / 393.7 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.02629, allocations: 248.2 kB / 393.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.02656, allocations: 446.9 kB / 394.3 MB, free: 9.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.02678, allocations: 279.2 kB / 394.6 MB, free: 9.406 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.02681, allocations: 32 kB / 394.6 MB, free: 9.375 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005175/0.03199, allocations: 5.818 MB / 400.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.03204, allocations: 95.53 kB / 400.6 MB, free: 3.457 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.03215, allocations: 195.5 kB / 400.8 MB, free: 3.266 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003832/0.03598, allocations: 4.552 MB / 405.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.03599, allocations: 0 / 405.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.03599, allocations: 0 / 405.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.03599, allocations: 0 / 405.3 MB, free: 14.7 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.002031/0.03802, allocations: 1.346 MB / 406.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.03806, allocations: 8.031 kB / 406.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.03829, allocations: 148.4 kB / 406.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.03865, allocations: 369.2 kB / 407.2 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.03875, allocations: 199.4 kB / 407.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.03878, allocations: 36.38 kB / 407.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005333/0.03932, allocations: 400.8 kB / 407.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.03933, allocations: 3.938 kB / 407.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.03935, allocations: 16 kB / 407.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.03936, allocations: 11.94 kB / 407.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.03977, allocations: 278.9 kB / 408.1 MB, free: 11.8 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.001009/0.04078, allocations: 1.103 MB / 409.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.04117, allocations: 229 kB / 409.4 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.964e-05/0.04124, allocations: 65.98 kB / 409.5 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.04126, allocations: 4 kB / 409.5 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.04128, allocations: 33.39 kB / 409.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.04128, allocations: 4 kB / 409.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001363/0.04265, allocations: 0.5723 MB / 410.1 MB, free: 9.715 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.04267, allocations: 59.41 kB / 410.1 MB, free: 9.645 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.04287, allocations: 386.5 kB / 410.5 MB, free: 9.246 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.04289, allocations: 29.7 kB / 410.6 MB, free: 9.211 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.04301, allocations: 291.2 kB / 410.8 MB, free: 8.922 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.04306, allocations: 79.25 kB / 410.9 MB, free: 8.844 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.04314, allocations: 63.33 kB / 411 MB, free: 8.773 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.04326, allocations: 0.5273 MB / 411.5 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.534e-05/0.04333, allocations: 39.66 kB / 411.5 MB, free: 8.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.04339, allocations: 42 kB / 411.6 MB, free: 8.152 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.04352, allocations: 100.1 kB / 411.7 MB, free: 8.051 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.04352, allocations: 0 / 411.7 MB, free: 8.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000336/0.04385, allocations: 237 kB / 411.9 MB, free: 7.809 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.04387, allocations: 4 kB / 411.9 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.04387, allocations: 8 kB / 411.9 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.04497, allocations: 338.9 kB / 412.3 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.04511, allocations: 63.89 kB / 412.3 MB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000522/0.04564, allocations: 0.8896 MB / 413.2 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.04576, allocations: 27.84 kB / 413.2 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.04578, allocations: 11.98 kB / 413.2 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001143/0.04589, allocations: 158.8 kB / 413.4 MB, free: 6.281 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.202e-05/0.04596, allocations: 70.7 kB / 413.5 MB, free: 6.195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001263/0.04609, allocations: 124.5 kB / 413.6 MB, free: 6.059 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.82e-07/0.04609, allocations: 0 / 413.6 MB, free: 6.059 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0003491/0.04644, allocations: 247.8 kB / 413.8 MB, free: 5.809 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/0.04645, allocations: 8 kB / 413.8 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.04645, allocations: 0 / 413.8 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/0.04665, allocations: 71.59 kB / 413.9 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.0468, allocations: 67.95 kB / 414 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009521/0.04775, allocations: 1.827 MB / 415.8 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.04787, allocations: 19.81 kB / 415.8 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.04788, allocations: 12 kB / 415.8 MB, free: 3.688 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 9.832e-05/0.04798, allocations: 276.1 kB / 416.1 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.04804, allocations: 47.72 kB / 416.2 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.04839, allocations: 285.3 kB / 416.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.04839, allocations: 0 / 416.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.0484, allocations: 0 / 416.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.0484, allocations: 7.984 kB / 416.4 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.04863, allocations: 240.9 kB / 416.7 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.04863, allocations: 0 / 416.7 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.859e-05/0.0487, allocations: 35.92 kB / 416.7 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005813/0.04928, allocations: 215.4 kB / 416.9 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.04929, allocations: 11.98 kB / 416.9 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003897/0.04968, allocations: 0.906 MB / 417.8 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.04969, allocations: 3.938 kB / 417.8 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.05003, allocations: 412 kB / 418.2 MB, free: 1.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.05007, allocations: 35.7 kB / 418.3 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.0501, allocations: 8 kB / 418.3 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.447e-05/0.05019, allocations: 11.98 kB / 418.3 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.05024, allocations: 31.98 kB / 418.3 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.05025, allocations: 11.98 kB / 418.3 MB, free: 1.082 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.05037, allocations: 247 kB / 418.6 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05037, allocations: 0 / 418.6 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001543/0.05191, allocations: 1.002 MB / 419.6 MB, free: 15.84 MB / 346.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.002201/0.05411, allocations: 1.106 MB / 420.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000621/0.05473, allocations: 442.4 kB / 421.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.05473, allocations: 0 / 421.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.05489, allocations: 108 kB / 421.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.05554, allocations: 243.8 kB / 421.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.05664, allocations: 0.7453 MB / 422.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.825e-05/0.05669, allocations: 113.3 kB / 422.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003698/0.05706, allocations: 410.8 kB / 422.7 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.05729, allocations: 194.1 kB / 422.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.05729, allocations: 4 kB / 422.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of Templates: time 0.03737/0.09465, allocations: 41.84 MB / 464.8 MB, free: 2.773 MB / 378.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: 5.105153106618673]