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.0008685/0.0008685, allocations: 76.31 kB / 22.21 MB, free: 2.266 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.0008997/0.0008997, allocations: 170.4 kB / 25.61 MB, free: 8.906 MB / 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.848/0.848, allocations: 158.6 MB / 187.5 MB, free: 2.816 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.1857/0.1857, allocations: 36.34 MB / 276.2 MB, free: 14.47 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.322e-06/1.322e-06, allocations: 2.25 kB / 355 MB, free: 62.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.355e-05, allocations: 2.312 kB / 355 MB, free: 62.57 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.01388/0.0139, allocations: 19.55 MB / 374.6 MB, free: 49.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006417/0.02031, allocations: 8.04 MB / 382.6 MB, free: 43.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002811/0.02059, allocations: 14.81 kB / 382.6 MB, free: 43.28 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.02098, allocations: 136.1 kB / 382.8 MB, free: 43.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.02142, allocations: 306.9 kB / 383.1 MB, free: 42.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008421/0.02984, allocations: 4.541 MB / 387.6 MB, free: 38.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006109/0.03045, allocations: 0.7929 MB / 388.4 MB, free: 37.53 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.03069, allocations: 212.3 kB / 388.6 MB, free: 37.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.03096, allocations: 391.1 kB / 389 MB, free: 36.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.03117, allocations: 239.2 kB / 389.2 MB, free: 36.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.03121, allocations: 32 kB / 389.3 MB, free: 36.67 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005638/0.03684, allocations: 5.813 MB / 395.1 MB, free: 30.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.0369, allocations: 83.61 kB / 395.2 MB, free: 30.76 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.644e-05/0.03699, allocations: 163.6 kB / 395.3 MB, free: 30.6 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004023/0.04102, allocations: 4.482 MB / 399.8 MB, free: 26.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.04102, allocations: 4 kB / 399.8 MB, free: 26.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.04102, allocations: 0 / 399.8 MB, free: 26.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.04103, allocations: 0 / 399.8 MB, free: 26.11 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.001837/0.04287, allocations: 1.186 MB / 401 MB, free: 24.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.04289, allocations: 12.03 kB / 401 MB, free: 24.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.04309, allocations: 124.5 kB / 401.1 MB, free: 24.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.04335, allocations: 326.6 kB / 401.4 MB, free: 24.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.04336, allocations: 25.03 kB / 401.5 MB, free: 24.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.04339, allocations: 36.3 kB / 401.5 MB, free: 24.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.04371, allocations: 341.9 kB / 401.8 MB, free: 23.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.04372, allocations: 4.188 kB / 401.8 MB, free: 23.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.04374, allocations: 11.94 kB / 401.9 MB, free: 23.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.04375, allocations: 8 kB / 401.9 MB, free: 23.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.04394, allocations: 139.3 kB / 402 MB, free: 23.81 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.0008033/0.04474, allocations: 1.496 MB / 403.5 MB, free: 22.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.04493, allocations: 111 kB / 403.6 MB, free: 22.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.04497, allocations: 39.66 kB / 403.6 MB, free: 22.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02371/0.06868, allocations: 14.59 MB / 418.2 MB, free: 7.484 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.06871, allocations: 41.33 kB / 418.3 MB, free: 7.434 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/0.06871, allocations: 3.938 kB / 418.3 MB, free: 7.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.001196/0.06991, allocations: 420 kB / 418.7 MB, free: 7.012 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.645e-05/0.06993, allocations: 59.39 kB / 418.7 MB, free: 6.941 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.07008, allocations: 358.6 kB / 419.1 MB, free: 6.574 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.0701, allocations: 29.7 kB / 419.1 MB, free: 6.539 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.07017, allocations: 283.1 kB / 419.4 MB, free: 6.254 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.0702, allocations: 51.53 kB / 419.5 MB, free: 6.203 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.07025, allocations: 59.33 kB / 419.5 MB, free: 6.137 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.07031, allocations: 0.5156 MB / 420 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/0.07035, allocations: 31.61 kB / 420.1 MB, free: 5.574 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.612e-05/0.07041, allocations: 82.31 kB / 420.1 MB, free: 5.473 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.07051, allocations: 110.9 kB / 420.2 MB, free: 5.344 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.07051, allocations: 0 / 420.2 MB, free: 5.344 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002278/0.07074, allocations: 216.6 kB / 420.5 MB, free: 5.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.07075, allocations: 7.984 kB / 420.5 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.07075, allocations: 0 / 420.5 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.07177, allocations: 307.4 kB / 420.8 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.07189, allocations: 55.89 kB / 420.8 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003645/0.07225, allocations: 0.8702 MB / 421.7 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.07238, allocations: 23.88 kB / 421.7 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.0724, allocations: 12 kB / 421.7 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.378e-05/0.07247, allocations: 146.4 kB / 421.9 MB, free: 3.676 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.015e-05/0.07252, allocations: 111 kB / 422 MB, free: 3.531 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.975e-05/0.0726, allocations: 141.1 kB / 422.1 MB, free: 3.355 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.62e-07/0.07261, allocations: 0 / 422.1 MB, free: 3.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0002706/0.07288, allocations: 224.9 kB / 422.3 MB, free: 3.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.192e-06/0.07288, allocations: 8 kB / 422.3 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.07288, allocations: 4 kB / 422.3 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.07308, allocations: 79.62 kB / 422.4 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.0732, allocations: 55.95 kB / 422.5 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006715/0.07387, allocations: 1.819 MB / 424.3 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.07398, allocations: 23.92 kB / 424.3 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.07399, allocations: 11.98 kB / 424.3 MB, free: 1.012 MB / 330.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 (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 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 6.085e-05/0.07405, allocations: 280 kB / 424.6 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.07408, allocations: 35.91 kB / 424.6 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003952/0.07448, allocations: 0.5182 MB / 425.2 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.07448, allocations: 4 kB / 425.2 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.07449, allocations: 7.922 kB / 425.2 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.07449, allocations: 4 kB / 425.2 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.07476, allocations: 318.3 kB / 425.5 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.07476, allocations: 0 / 425.5 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.07481, allocations: 23.92 kB / 425.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006675/0.07547, allocations: 424.2 kB / 425.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.07548, allocations: 4 kB / 425.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004898/0.07597, allocations: 1.05 MB / 427 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.07597, allocations: 0 / 427 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.07638, allocations: 0.5583 MB / 427.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.07642, allocations: 51.55 kB / 427.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.07645, allocations: 11.94 kB / 427.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.433e-05/0.07653, allocations: 11.95 kB / 427.6 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.07657, allocations: 19.97 kB / 427.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.07658, allocations: 4 kB / 427.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.07671, allocations: 271 kB / 427.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07671, allocations: 0 / 427.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001751/0.07846, allocations: 0.9668 MB / 428.9 MB, free: 12.38 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: 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.002257/0.08071, allocations: 1.098 MB / 430 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005909/0.0813, allocations: 400.7 kB / 430.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.08131, allocations: 0 / 430.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.08144, allocations: 114.2 kB / 430.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/0.08197, allocations: 161.4 kB / 430.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.083, allocations: 0.8133 MB / 431.4 MB, free: 9.738 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.139e-05/0.08307, allocations: 121.6 kB / 431.6 MB, free: 9.602 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.08326, allocations: 161 kB / 431.7 MB, free: 9.449 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.08342, allocations: 158.1 kB / 431.9 MB, free: 9.293 MB / 346.7 MB Notification: Performance of SimCode: time 7.91e-07/0.08343, allocations: 0 / 431.9 MB, free: 9.293 MB / 346.7 MB Notification: Performance of Templates: time 0.03607/0.1195, allocations: 39.4 MB / 471.3 MB, free: 1.883 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.839280911255628]