Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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.0009135/0.0009135, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004529/0.004529, allocations: 161.2 kB / 24.7 MB, free: 9.43 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.9016/0.9016, allocations: 158.6 MB / 186.5 MB, free: 3.039 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.1892/0.1892, allocations: 36.35 MB / 275.1 MB, free: 10.9 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.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 415.6 MB, free: 5.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.539e-05, allocations: 2.281 kB / 415.6 MB, free: 5.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.1888/0.1888, allocations: 42.3 MB / 457.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007203/0.196, allocations: 8.689 MB / 466.6 MB, free: 4.289 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/0.1963, allocations: 10.12 kB / 466.6 MB, free: 4.285 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006086/0.1969, allocations: 235.7 kB / 466.8 MB, free: 4.152 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.1974, allocations: 312.1 kB / 467.1 MB, free: 3.949 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00926/0.2067, allocations: 4.712 MB / 471.8 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000927/0.2076, allocations: 0.8105 MB / 472.6 MB, free: 432 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003175/0.2079, allocations: 204.3 kB / 472.8 MB, free: 288 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003582/0.2083, allocations: 404.6 kB / 473.2 MB, free: 56 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.2086, allocations: 255.4 kB / 473.5 MB, free: 15.92 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.2086, allocations: 28.75 kB / 473.5 MB, free: 15.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/0.2191, allocations: 5.945 MB / 479.5 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.2193, allocations: 85.48 kB / 479.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003996/0.2197, allocations: 155.5 kB / 479.7 MB, free: 12.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.2315, allocations: 4.708 MB / 484.4 MB, free: 8.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2315, allocations: 0 / 484.4 MB, free: 8.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2316, allocations: 0 / 484.4 MB, free: 8.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.2316, allocations: 0 / 484.4 MB, free: 8.43 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002323/0.2339, allocations: 1.091 MB / 485.5 MB, free: 7.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2339, allocations: 8.031 kB / 485.5 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.2342, allocations: 88.61 kB / 485.6 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/0.2348, allocations: 265.6 kB / 485.9 MB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.2348, allocations: 36.97 kB / 485.9 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.2348, allocations: 28.38 kB / 485.9 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.2353, allocations: 425.3 kB / 486.3 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.2354, allocations: 4.375 kB / 486.3 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.2354, allocations: 19.56 kB / 486.4 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.2354, allocations: 9.688 kB / 486.4 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.2358, allocations: 290.3 kB / 486.6 MB, free: 6.105 MB / 378.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.001113/0.2369, allocations: 1.341 MB / 488 MB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/0.2373, allocations: 256.5 kB / 488.2 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.2374, allocations: 96.83 kB / 488.3 MB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02727/0.2647, allocations: 16.8 MB / 0.4933 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.2647, allocations: 34.56 kB / 0.4933 GB, free: 3.488 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.354e-06/0.2647, allocations: 7.938 kB / 0.4933 GB, free: 3.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.002672/0.2674, allocations: 1.356 MB / 0.4947 GB, free: 2.082 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2674, allocations: 55.41 kB / 0.4947 GB, free: 2.016 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.2676, allocations: 280.3 kB / 0.495 GB, free: 1.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.2676, allocations: 33.7 kB / 0.495 GB, free: 1.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2678, allocations: 208.5 kB / 0.4952 GB, free: 1.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.972e-05/0.2678, allocations: 123 kB / 0.4953 GB, free: 1.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/0.2681, allocations: 69.69 kB / 0.4954 GB, free: 1.285 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.2682, allocations: 338.8 kB / 0.4957 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.2684, allocations: 124.8 kB / 0.4958 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.2685, allocations: 172.7 kB / 0.496 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.2688, allocations: 304.8 kB / 0.4963 GB, free: 324 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2688, allocations: 0 / 0.4963 GB, free: 324 kB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005432/0.2694, allocations: 446.3 kB / 0.4967 GB, free: 15.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2694, allocations: 8.156 kB / 0.4967 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2694, allocations: 7.938 kB / 0.4967 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002583/0.2697, allocations: 89.58 kB / 0.4968 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.2699, allocations: 79.89 kB / 0.4969 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005305/0.2704, allocations: 1.12 MB / 0.498 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.2705, allocations: 8.031 kB / 0.498 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.2705, allocations: 19.98 kB / 0.498 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002039/0.2707, allocations: 218.3 kB / 0.4982 GB, free: 14.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001441/0.2709, allocations: 165 kB / 0.4984 GB, free: 14.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002698/0.2711, allocations: 285.3 kB / 0.4987 GB, free: 13.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.2711, allocations: 4 kB / 0.4987 GB, free: 13.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0004737/0.2716, allocations: 414.5 kB / 0.4991 GB, free: 13.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.2716, allocations: 11.94 kB / 0.4991 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/0.2716, allocations: 0 / 0.4991 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002096/0.2718, allocations: 97.52 kB / 0.4992 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.272, allocations: 80.05 kB / 0.4992 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004454/0.2724, allocations: 1.109 MB / 0.5003 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.312e-05/0.2725, allocations: 12.81 kB / 0.5003 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.2725, allocations: 12 kB / 0.5003 GB, free: 12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (Valve.fluidState.phase,Tank2.liquidState.phase,Tank1.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.2726, allocations: 208.3 kB / 0.5005 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.2727, allocations: 31.81 kB / 0.5006 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009936/0.2737, allocations: 1.212 MB / 0.5018 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.2737, allocations: 11.97 kB / 0.5018 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2737, allocations: 4 kB / 0.5018 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2737, allocations: 0 / 0.5018 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.2741, allocations: 0.5411 MB / 0.5023 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.2741, allocations: 3.984 kB / 0.5023 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.2745, allocations: 67.91 kB / 0.5024 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002939/0.2748, allocations: 145.6 kB / 0.5025 GB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.2749, allocations: 4 kB / 0.5025 GB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005029/0.2754, allocations: 1.202 MB / 0.5037 GB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.2754, allocations: 3.984 kB / 0.5037 GB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.2764, allocations: 1.241 MB / 0.5049 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.2765, allocations: 71.56 kB / 0.505 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.2765, allocations: 18.55 kB / 0.505 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.583e-05/0.2766, allocations: 7.938 kB / 0.505 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/0.2767, allocations: 27.95 kB / 0.505 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.2767, allocations: 4 kB / 0.505 GB, free: 7.066 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.2768, allocations: 187.1 kB / 0.5052 GB, free: 6.887 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2768, allocations: 0 / 0.5052 GB, free: 6.887 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002506/0.2793, allocations: 0.9437 MB / 0.5061 GB, free: 5.941 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Tank1.y,Tank1.h,Tank2.y,Tank2.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003467/0.2828, allocations: 1.09 MB / 0.5072 GB, free: 4.844 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.2839, allocations: 0.6515 MB / 0.5078 GB, free: 4.191 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2839, allocations: 0 / 0.5078 GB, free: 4.191 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.2843, allocations: 365.2 kB / 0.5082 GB, free: 3.836 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006806/0.285, allocations: 162.4 kB / 0.5083 GB, free: 3.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.2871, allocations: 1.205 MB / 0.5095 GB, free: 2.441 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.2872, allocations: 259.3 kB / 0.5098 GB, free: 2.164 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.624e-05/0.2873, allocations: 40.48 kB / 0.5098 GB, free: 2.121 MB / 410.7 MB Notification: Performance of SimCode: time 1.693e-06/0.2873, allocations: 0 / 0.5098 GB, free: 2.121 MB / 410.7 MB Notification: Performance of Templates: time 0.02506/0.3124, allocations: 23.81 MB / 0.533 GB, free: 10.28 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.743951796554029] Failed to read output from testmodel.py, exit status != 0: 0.31805075891315937 0.326412706 0.093077453 Calling exit ...