Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0009247/0.0009247, 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.0009672/0.0009672, 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 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 0.7669/0.7669, allocations: 158.6 MB / 186.4 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1708/0.1708, allocations: 36.34 MB / 275.1 MB, free: 10.64 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/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.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_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 353.8 MB, free: 3.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.993e-05, allocations: 5.969 kB / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.01718/0.0172, allocations: 19.78 MB / 373.6 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006868/0.02407, allocations: 8.183 MB / 381.8 MB, free: 7.355 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.02426, allocations: 11.88 kB / 381.8 MB, free: 7.344 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.02467, allocations: 138.9 kB / 381.9 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004439/0.02511, allocations: 313.6 kB / 382.2 MB, free: 6.898 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007976/0.03309, allocations: 4.518 MB / 386.7 MB, free: 2.363 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007418/0.03383, allocations: 0.8006 MB / 387.5 MB, free: 1.559 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002711/0.0341, allocations: 220.3 kB / 387.8 MB, free: 1.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.03439, allocations: 395 kB / 388.1 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.03463, allocations: 243.3 kB / 388.4 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.03467, allocations: 31.98 kB / 388.4 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006516/0.04118, allocations: 5.81 MB / 394.2 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.04124, allocations: 83.59 kB / 394.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.04139, allocations: 163.6 kB / 394.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003685/0.04507, allocations: 4.478 MB / 398.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.04507, allocations: 0 / 398.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.04507, allocations: 0 / 398.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.04508, allocations: 3.938 kB / 398.9 MB, free: 6.133 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001482/0.04656, allocations: 1.191 MB / 400.1 MB, free: 4.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.0466, allocations: 8.031 kB / 400.1 MB, free: 4.895 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002255/0.04682, allocations: 120.5 kB / 400.3 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.04727, allocations: 334.6 kB / 400.6 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.04729, allocations: 21.03 kB / 400.6 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.04732, allocations: 32.38 kB / 400.6 MB, free: 4.371 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.04778, allocations: 358 kB / 401 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.04779, allocations: 192 / 401 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.04781, allocations: 15.94 kB / 401 MB, free: 3.969 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.04782, allocations: 8 kB / 401 MB, free: 3.961 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.04809, allocations: 166.7 kB / 401.2 MB, free: 3.797 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.001129/0.04922, allocations: 1.558 MB / 402.7 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.04944, allocations: 122.9 kB / 402.9 MB, free: 2.039 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.272e-05/0.0495, allocations: 47.66 kB / 402.9 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02728/0.07679, allocations: 16.8 MB / 419.7 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.07682, allocations: 37.39 kB / 419.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.07682, allocations: 0 / 419.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001245/0.07807, allocations: 433.6 kB / 420.2 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.07809, allocations: 59.39 kB / 420.2 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.07833, allocations: 366.8 kB / 420.6 MB, free: 248 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.07835, allocations: 25.7 kB / 420.6 MB, free: 216 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.07848, allocations: 287.3 kB / 420.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.07851, allocations: 47.55 kB / 420.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.07857, allocations: 55.34 kB / 421 MB, free: 15.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.07872, allocations: 0.5118 MB / 421.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.88e-05/0.07878, allocations: 43.61 kB / 421.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.906e-05/0.07887, allocations: 78.39 kB / 421.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.07903, allocations: 138 kB / 421.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.07904, allocations: 0 / 421.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003054/0.07934, allocations: 219.8 kB / 422 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.07936, allocations: 4 kB / 422 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.07936, allocations: 4 kB / 422 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.08045, allocations: 311.5 kB / 422.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.08059, allocations: 43.95 kB / 422.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005173/0.0811, allocations: 0.8818 MB / 423.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.08123, allocations: 19.89 kB / 423.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.08124, allocations: 12 kB / 423.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001026/0.08135, allocations: 154.9 kB / 423.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.993e-05/0.08143, allocations: 109.5 kB / 423.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001241/0.08155, allocations: 142.4 kB / 423.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.08155, allocations: 0 / 423.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0003304/0.08188, allocations: 237.4 kB / 423.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.712e-06/0.08189, allocations: 4 kB / 423.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.08189, allocations: 7.984 kB / 423.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.08211, allocations: 75.86 kB / 423.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.08223, allocations: 55.89 kB / 424 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.08326, allocations: 1.854 MB / 425.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.08337, allocations: 23.89 kB / 425.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.08338, allocations: 8 kB / 425.9 MB, free: 10.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 13 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.08348, allocations: 280 kB / 426.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.08353, allocations: 47.8 kB / 426.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005331/0.08406, allocations: 0.5649 MB / 426.8 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.08407, allocations: 11.98 kB / 426.8 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.08407, allocations: 0 / 426.8 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.08407, allocations: 7.922 kB / 426.8 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.08436, allocations: 373.7 kB / 427.1 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.08437, allocations: 4 kB / 427.2 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/0.08441, allocations: 19.98 kB / 427.2 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006767/0.08508, allocations: 436.2 kB / 427.6 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.0851, allocations: 4 kB / 427.6 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005256/0.08562, allocations: 1.083 MB / 428.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.08562, allocations: 8.016 kB / 428.7 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.08607, allocations: 0.5966 MB / 429.3 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.08611, allocations: 55.48 kB / 429.3 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.08614, allocations: 3.938 kB / 429.3 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.08622, allocations: 8 kB / 429.4 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.08627, allocations: 19.95 kB / 429.4 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.08628, allocations: 8 kB / 429.4 MB, free: 6.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.08645, allocations: 287.1 kB / 429.7 MB, free: 6.695 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08645, allocations: 4 kB / 429.7 MB, free: 6.691 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001733/0.08818, allocations: 0.9707 MB / 430.6 MB, free: 5.719 MB / 362.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: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/0.09036, allocations: 1.063 MB / 431.7 MB, free: 4.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000662/0.09102, allocations: 427.8 kB / 432.1 MB, free: 4.203 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.09103, allocations: 4 kB / 432.1 MB, free: 4.199 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.09117, allocations: 125.2 kB / 432.2 MB, free: 4.078 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.09168, allocations: 167.9 kB / 432.4 MB, free: 3.914 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.09281, allocations: 0.8392 MB / 433.2 MB, free: 3.039 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.377e-05/0.09287, allocations: 113.6 kB / 433.4 MB, free: 2.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001723/0.09304, allocations: 162.6 kB / 433.5 MB, free: 2.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.09308, allocations: 32.5 kB / 433.5 MB, free: 2.723 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.09309, allocations: 0 / 433.5 MB, free: 2.723 MB / 362.7 MB Notification: Performance of Templates: time 0.14/0.2331, allocations: 40.07 MB / 473.6 MB, free: 76.54 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.819597582798451]