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.001986/0.001986, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002158/0.002158, allocations: 161.3 kB / 24.27 MB, free: 152 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 1.326/1.326, allocations: 158.6 MB / 186.1 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.2788/0.2788, allocations: 36.33 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] 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.523e-06/1.523e-06, allocations: 0 / 353 MB, free: 3.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.013e-05, allocations: 9.688 kB / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.05655/0.05658, allocations: 42.87 MB / 395.9 MB, free: 8.77 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0159/0.07248, allocations: 9.71 MB / 405.6 MB, free: 15.03 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005543/0.07303, allocations: 19.88 kB / 405.7 MB, free: 15.01 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009291/0.07396, allocations: 218.4 kB / 405.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008685/0.07483, allocations: 309.7 kB / 406.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01459/0.08942, allocations: 4.751 MB / 410.9 MB, free: 9.719 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.09072, allocations: 0.7928 MB / 411.7 MB, free: 8.922 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004349/0.09115, allocations: 224.3 kB / 411.9 MB, free: 8.695 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006212/0.09178, allocations: 387 kB / 412.3 MB, free: 8.316 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004689/0.09224, allocations: 247.2 kB / 412.6 MB, free: 8.074 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.026e-05/0.0923, allocations: 28 kB / 412.6 MB, free: 8.047 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0131/0.1054, allocations: 5.966 MB / 418.5 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.1056, allocations: 87.61 kB / 418.6 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.1061, allocations: 163.6 kB / 418.8 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.1189, allocations: 4.743 MB / 423.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.1189, allocations: 0 / 423.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1189, allocations: 3.938 kB / 423.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1189, allocations: 0 / 423.5 MB, free: 13.07 MB / 362.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.003496/0.1224, allocations: 1.245 MB / 424.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.1224, allocations: 8.031 kB / 424.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004124/0.1229, allocations: 120.5 kB / 424.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006258/0.1235, allocations: 334.6 kB / 425.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.1235, allocations: 25.03 kB / 425.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.1236, allocations: 28.38 kB / 425.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000891/0.1245, allocations: 409.3 kB / 425.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1245, allocations: 4.188 kB / 425.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.1245, allocations: 15.94 kB / 425.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1245, allocations: 8 kB / 425.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006616/0.1252, allocations: 241.8 kB / 426 MB, free: 10.55 MB / 362.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.002371/0.1276, allocations: 1.64 MB / 427.6 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.128, allocations: 154.9 kB / 427.7 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.1282, allocations: 71.66 kB / 427.8 MB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2171/0.3453, allocations: 16.8 MB / 444.6 MB, free: 90.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.3453, allocations: 41.92 kB / 444.7 MB, free: 90.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.824e-06/0.3453, allocations: 0 / 444.7 MB, free: 90.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.002155/0.3475, allocations: 0.4979 MB / 445.1 MB, free: 90.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.3475, allocations: 53.66 kB / 445.2 MB, free: 90.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.3478, allocations: 426.8 kB / 445.6 MB, free: 89.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3478, allocations: 29.7 kB / 445.6 MB, free: 89.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.3479, allocations: 296.4 kB / 445.9 MB, free: 89.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.3479, allocations: 60.56 kB / 446 MB, free: 89.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.896e-05/0.348, allocations: 51.36 kB / 446 MB, free: 89.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.058e-05/0.3481, allocations: 0.5274 MB / 446.6 MB, free: 89.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3482, allocations: 70.84 kB / 446.6 MB, free: 88.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.3484, allocations: 118.4 kB / 446.8 MB, free: 88.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.3487, allocations: 197 kB / 447 MB, free: 88.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3487, allocations: 0 / 447 MB, free: 88.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004833/0.3491, allocations: 289.5 kB / 447.2 MB, free: 88.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3492, allocations: 7.984 kB / 447.2 MB, free: 88.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3492, allocations: 4 kB / 447.2 MB, free: 88.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/0.3514, allocations: 336.1 kB / 447.6 MB, free: 88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.3517, allocations: 51.89 kB / 447.6 MB, free: 87.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006967/0.3524, allocations: 0.9171 MB / 448.5 MB, free: 87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.3526, allocations: 22.19 kB / 448.6 MB, free: 86.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.3526, allocations: 12.03 kB / 448.6 MB, free: 86.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001939/0.3528, allocations: 206.8 kB / 448.8 MB, free: 86.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001303/0.3529, allocations: 141.5 kB / 448.9 MB, free: 86.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002238/0.3532, allocations: 201 kB / 449.1 MB, free: 86.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.3532, allocations: 0 / 449.1 MB, free: 86.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.000611/0.3538, allocations: 302.1 kB / 449.4 MB, free: 86.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/0.3538, allocations: 8 kB / 449.4 MB, free: 86.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-06/0.3538, allocations: 0 / 449.4 MB, free: 86.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003777/0.3542, allocations: 87.61 kB / 449.5 MB, free: 85.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.3544, allocations: 63.91 kB / 449.6 MB, free: 85.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.3557, allocations: 1.967 MB / 451.5 MB, free: 83.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.3559, allocations: 12.89 kB / 451.5 MB, free: 83.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.356, allocations: 23.42 kB / 451.6 MB, free: 83.77 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 9.848e-05/0.3561, allocations: 278.3 kB / 451.8 MB, free: 83.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-05/0.3561, allocations: 47.7 kB / 451.9 MB, free: 83.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000785/0.3569, allocations: 0.5946 MB / 452.5 MB, free: 82.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.3569, allocations: 7.984 kB / 452.5 MB, free: 82.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.3569, allocations: 8 kB / 452.5 MB, free: 82.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3569, allocations: 0 / 452.5 MB, free: 82.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.3573, allocations: 424.3 kB / 452.9 MB, free: 82.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3573, allocations: 0 / 452.9 MB, free: 82.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.126e-05/0.3574, allocations: 19.98 kB / 452.9 MB, free: 82.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/0.3587, allocations: 441.1 kB / 453.4 MB, free: 81.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3587, allocations: 8 kB / 453.4 MB, free: 81.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000602/0.3593, allocations: 1.122 MB / 454.5 MB, free: 80.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3593, allocations: 0 / 454.5 MB, free: 80.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.3599, allocations: 0.6352 MB / 455.1 MB, free: 80.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.36, allocations: 53.77 kB / 455.2 MB, free: 80.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.36, allocations: 15.95 kB / 455.2 MB, free: 80.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.3602, allocations: 8 kB / 455.2 MB, free: 80.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.3603, allocations: 15.97 kB / 455.2 MB, free: 80.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.3603, allocations: 4 kB / 455.2 MB, free: 80.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002241/0.3605, allocations: 335 kB / 455.5 MB, free: 79.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3605, allocations: 0 / 455.5 MB, free: 79.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002338/0.3628, allocations: 0.9769 MB / 456.5 MB, free: 78.75 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.003072/0.3659, allocations: 1.085 MB / 457.6 MB, free: 77.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.3672, allocations: 0.5033 MB / 458.1 MB, free: 77.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3672, allocations: 0 / 458.1 MB, free: 77.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.3675, allocations: 149.6 kB / 458.3 MB, free: 77.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009203/0.3684, allocations: 176 kB / 458.4 MB, free: 76.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.3694, allocations: 0.8387 MB / 459.3 MB, free: 76.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.3696, allocations: 242.2 kB / 459.5 MB, free: 75.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002062/0.3698, allocations: 162.6 kB / 459.7 MB, free: 75.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.3698, allocations: 32.5 kB / 459.7 MB, free: 75.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3698, allocations: 0 / 459.7 MB, free: 75.6 MB / 362.7 MB Notification: Performance of Templates: time 0.0369/0.4067, allocations: 35.05 MB / 494.7 MB, free: 40.55 MB / 362.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: 7.200184987974353]