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.0009319/0.0009319, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001092/0.001092, allocations: 165.3 kB / 24.82 MB, free: 9.27 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.9601/0.9601, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.1312/0.1312, allocations: 19.74 MB / 281.5 MB, free: 9.113 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 2.034e-06/2.034e-06, allocations: 0 / 358.4 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.123e-05, allocations: 2.312 kB / 358.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.01651/0.01654, allocations: 19.98 MB / 378.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007821/0.02436, allocations: 8.304 MB / 386.7 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003633/0.02472, allocations: 15.81 kB / 386.7 MB, free: 9.895 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004767/0.0252, allocations: 142.8 kB / 386.9 MB, free: 9.754 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005333/0.02573, allocations: 353.4 kB / 387.2 MB, free: 9.406 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01062/0.03635, allocations: 4.729 MB / 392 MB, free: 4.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.03741, allocations: 0.9444 MB / 392.9 MB, free: 3.711 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.03775, allocations: 244.3 kB / 393.1 MB, free: 3.469 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004078/0.03816, allocations: 446.9 kB / 393.6 MB, free: 3.031 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.03845, allocations: 275.2 kB / 393.8 MB, free: 2.762 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.0385, allocations: 36 kB / 393.9 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008542/0.04704, allocations: 5.814 MB / 399.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.04718, allocations: 99.53 kB / 399.8 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.04746, allocations: 191.5 kB / 400 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008154/0.05562, allocations: 4.556 MB / 404.5 MB, free: 8.055 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.05563, allocations: 0 / 404.5 MB, free: 8.055 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.05563, allocations: 0 / 404.5 MB, free: 8.055 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.05563, allocations: 0 / 404.5 MB, free: 8.055 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.002667/0.0583, allocations: 1.334 MB / 405.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.05834, allocations: 16.02 kB / 405.9 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.05858, allocations: 140.4 kB / 406 MB, free: 6.527 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.05896, allocations: 377.1 kB / 406.4 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.05907, allocations: 207.3 kB / 406.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.0591, allocations: 32.38 kB / 406.6 MB, free: 5.863 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005492/0.05965, allocations: 399.4 kB / 407 MB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.05966, allocations: 7.938 kB / 407 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.05968, allocations: 12 kB / 407 MB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.05969, allocations: 8 kB / 407 MB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/0.06009, allocations: 282.8 kB / 407.3 MB, free: 5.148 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.001052/0.06114, allocations: 1.103 MB / 408.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.06156, allocations: 234 kB / 408.6 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/0.06162, allocations: 59.64 kB / 408.7 MB, free: 3.703 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.06165, allocations: 11.98 kB / 408.7 MB, free: 3.691 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.06168, allocations: 33.39 kB / 408.7 MB, free: 3.648 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.984e-06/0.06168, allocations: 0 / 408.7 MB, free: 3.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0014/0.06308, allocations: 0.5787 MB / 409.3 MB, free: 3.059 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.06311, allocations: 59.41 kB / 409.4 MB, free: 2.988 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.06332, allocations: 386.5 kB / 409.8 MB, free: 2.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.06333, allocations: 29.7 kB / 409.8 MB, free: 2.555 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.06345, allocations: 291.1 kB / 410.1 MB, free: 2.266 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.809e-05/0.06351, allocations: 79.27 kB / 410.2 MB, free: 2.188 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.06358, allocations: 67.31 kB / 410.2 MB, free: 2.113 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.06371, allocations: 0.5195 MB / 410.7 MB, free: 1.582 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.06377, allocations: 43.66 kB / 410.8 MB, free: 1.535 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-05/0.06383, allocations: 42.06 kB / 410.8 MB, free: 1.496 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.06396, allocations: 100.1 kB / 410.9 MB, free: 1.395 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.06397, allocations: 0 / 410.9 MB, free: 1.395 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003527/0.06432, allocations: 256.9 kB / 411.2 MB, free: 1.133 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.06433, allocations: 8 kB / 411.2 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.06434, allocations: 4 kB / 411.2 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.06536, allocations: 335.2 kB / 411.5 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.06551, allocations: 59.95 kB / 411.6 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1517/0.2172, allocations: 0.8861 MB / 412.5 MB, free: 39.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.2175, allocations: 19.75 kB / 412.5 MB, free: 39.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.2176, allocations: 9.766 kB / 412.5 MB, free: 39.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001609/0.2177, allocations: 160.9 kB / 412.6 MB, free: 39.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001021/0.2178, allocations: 81.73 kB / 412.7 MB, free: 39.6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001427/0.218, allocations: 108.1 kB / 412.8 MB, free: 39.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/0.218, allocations: 2.719 kB / 412.8 MB, free: 39.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0004766/0.2184, allocations: 246 kB / 413.1 MB, free: 39.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2185, allocations: 6.172 kB / 413.1 MB, free: 39.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2185, allocations: 4.188 kB / 413.1 MB, free: 39.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002781/0.2187, allocations: 78.84 kB / 413.2 MB, free: 39.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.2189, allocations: 70.72 kB / 413.2 MB, free: 39.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.2199, allocations: 1.821 MB / 415 MB, free: 37.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.2201, allocations: 18.44 kB / 415.1 MB, free: 37.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.2201, allocations: 12.34 kB / 415.1 MB, free: 37.82 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 0.0001464/0.2203, allocations: 279.3 kB / 415.3 MB, free: 37.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.744e-05/0.2204, allocations: 49.97 kB / 415.4 MB, free: 37.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005915/0.2209, allocations: 291.8 kB / 415.7 MB, free: 37.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.221, allocations: 3.281 kB / 415.7 MB, free: 37.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.221, allocations: 0.8125 kB / 415.7 MB, free: 37.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.221, allocations: 6.047 kB / 415.7 MB, free: 37.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.2214, allocations: 250.3 kB / 415.9 MB, free: 37.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2214, allocations: 1.859 kB / 415.9 MB, free: 37.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.2215, allocations: 39 kB / 416 MB, free: 37.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007142/0.2222, allocations: 207.3 kB / 416.2 MB, free: 37.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.2222, allocations: 11.83 kB / 416.2 MB, free: 37.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003935/0.2226, allocations: 0.9031 MB / 417.1 MB, free: 36.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2226, allocations: 2.125 kB / 417.1 MB, free: 36.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.223, allocations: 419.8 kB / 417.5 MB, free: 36.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.223, allocations: 44.7 kB / 417.5 MB, free: 36.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.2231, allocations: 7.328 kB / 417.6 MB, free: 36.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/0.2232, allocations: 11.52 kB / 417.6 MB, free: 36.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.2232, allocations: 34.3 kB / 417.6 MB, free: 36.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.2232, allocations: 10.98 kB / 417.6 MB, free: 36.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001439/0.2234, allocations: 254.9 kB / 417.9 MB, free: 36.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2234, allocations: 0 / 417.9 MB, free: 36.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002651/0.226, allocations: 0.9979 MB / 418.9 MB, free: 36.18 MB / 330.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.002914/0.2289, allocations: 1.115 MB / 420 MB, free: 36.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008313/0.2298, allocations: 437.9 kB / 420.4 MB, free: 35.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2298, allocations: 1.281 kB / 420.4 MB, free: 35.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.23, allocations: 116.6 kB / 420.5 MB, free: 35.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007471/0.2307, allocations: 225.2 kB / 420.7 MB, free: 35.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.2322, allocations: 0.7521 MB / 421.5 MB, free: 35.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.985e-05/0.2323, allocations: 107 kB / 421.6 MB, free: 35.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006714/0.233, allocations: 421.4 kB / 422 MB, free: 35.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/0.2333, allocations: 196.1 kB / 422.2 MB, free: 35.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2333, allocations: 0 / 422.2 MB, free: 35.29 MB / 330.7 MB Notification: Performance of Templates: time 0.04866/0.282, allocations: 41.68 MB / 463.9 MB, free: 4.855 MB / 330.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: 4.639061535708606]