Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.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.001072/0.001072, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.0009706/0.0009706, allocations: 172 kB / 24.91 MB, free: 8.77 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.9284/0.9284, allocations: 158.6 MB / 186.8 MB, free: 2.762 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.2025/0.2025, allocations: 36.34 MB / 275.4 MB, free: 10.54 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.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") translateModel(ThermoPower.Test.WaterComponents.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 305.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.261e-05, allocations: 2.312 kB / 305.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.03291/0.03293, allocations: 45.59 MB / 350.8 MB, free: 6.371 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009832/0.04276, allocations: 8.556 MB / 359.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006415/0.0434, allocations: 31.75 kB / 359.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007435/0.04415, allocations: 317.4 kB / 359.7 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.04522, allocations: 0.6905 MB / 360.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01278/0.058, allocations: 5.3 MB / 365.7 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002286/0.06028, allocations: 1.925 MB / 367.6 MB, free: 5.492 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.06137, allocations: 0.6051 MB / 368.2 MB, free: 4.863 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.06284, allocations: 0.9547 MB / 369.2 MB, free: 3.906 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008373/0.06368, allocations: 0.5763 MB / 369.7 MB, free: 3.328 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.06381, allocations: 80 kB / 369.8 MB, free: 3.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009777/0.07359, allocations: 5.797 MB / 375.6 MB, free: 13.45 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.07385, allocations: 203.1 kB / 375.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006029/0.07445, allocations: 351.3 kB / 376.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008845/0.0833, allocations: 4.817 MB / 381 MB, free: 8.078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.0833, allocations: 0 / 381 MB, free: 8.078 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.08331, allocations: 4 kB / 381 MB, free: 8.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.824e-05/0.08332, allocations: 0 / 381 MB, free: 8.074 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003529/0.08685, allocations: 1.696 MB / 382.7 MB, free: 6.324 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.08689, allocations: 8.031 kB / 382.7 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003663/0.08725, allocations: 184.7 kB / 382.9 MB, free: 6.137 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005951/0.08785, allocations: 409.3 kB / 383.3 MB, free: 5.711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/0.08789, allocations: 54.38 kB / 383.3 MB, free: 5.656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.592e-05/0.08798, allocations: 76.34 kB / 383.4 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.08922, allocations: 0.7871 MB / 384.2 MB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.08924, allocations: 4.188 kB / 384.2 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.08929, allocations: 39.92 kB / 384.2 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.08931, allocations: 16 kB / 384.2 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006465/0.08995, allocations: 320.6 kB / 384.5 MB, free: 4.363 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.09253, allocations: 2.53 MB / 387.1 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/0.0933, allocations: 368.9 kB / 387.4 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.09343, allocations: 77.69 kB / 387.5 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1347/0.2281, allocations: 58.26 MB / 445.8 MB, free: 6.949 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006196/0.2288, allocations: 366.1 kB / 446.1 MB, free: 6.566 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.894e-06/0.2288, allocations: 4 kB / 446.1 MB, free: 6.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.000901/0.2297, allocations: 0.5126 MB / 446.7 MB, free: 6.043 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.2297, allocations: 89.05 kB / 446.7 MB, free: 5.938 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.23, allocations: 419.2 kB / 447.1 MB, free: 5.516 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.23, allocations: 37.7 kB / 447.2 MB, free: 5.473 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.2302, allocations: 325.7 kB / 447.5 MB, free: 5.148 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/0.2303, allocations: 138.8 kB / 447.6 MB, free: 5.012 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.98e-05/0.2304, allocations: 94.12 kB / 447.7 MB, free: 4.914 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.2305, allocations: 378.7 kB / 448.1 MB, free: 4.535 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.2306, allocations: 181.6 kB / 448.3 MB, free: 4.328 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.2308, allocations: 258 kB / 448.5 MB, free: 4.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.2311, allocations: 365.1 kB / 448.9 MB, free: 3.598 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.2311, allocations: 4 kB / 448.9 MB, free: 3.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0003949/0.2315, allocations: 0.4909 MB / 449.4 MB, free: 3.047 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.872e-05/0.2315, allocations: 121.8 kB / 449.5 MB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2315, allocations: 4 kB / 449.5 MB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2315, allocations: 4 kB / 449.5 MB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.2318, allocations: 119.8 kB / 449.6 MB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.2318, allocations: 12.23 kB / 449.6 MB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.2321, allocations: 67.75 kB / 449.7 MB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.2321, allocations: 19.98 kB / 449.7 MB, free: 2.684 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001924/0.2323, allocations: 251.9 kB / 450 MB, free: 2.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001483/0.2324, allocations: 271.7 kB / 450.2 MB, free: 2.078 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002203/0.2326, allocations: 354.5 kB / 450.6 MB, free: 1.664 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.983e-06/0.2326, allocations: 0 / 450.6 MB, free: 1.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0003479/0.233, allocations: 0.4949 MB / 451.1 MB, free: 1.113 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.233, allocations: 126.7 kB / 451.2 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.233, allocations: 0 / 451.2 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.573e-06/0.233, allocations: 8 kB / 451.2 MB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.2332, allocations: 115.9 kB / 451.3 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2333, allocations: 11.92 kB / 451.3 MB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.2334, allocations: 59.94 kB / 451.4 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.2335, allocations: 27.98 kB / 451.4 MB, free: 0.7461 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 (Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition3,$whenCondition4,Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition1,$whenCondition2,T4.fluidState.phase,T5.fluidState.phase,T6.fluidState.phase,T1.fluidState.phase,T2.fluidState.phase,T3.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.2336, allocations: 218.1 kB / 451.6 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/0.2336, allocations: 47.89 kB / 451.7 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007467/0.2344, allocations: 0.8568 MB / 452.5 MB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.2344, allocations: 27.95 kB / 452.6 MB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.2344, allocations: 0 / 452.6 MB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2344, allocations: 4 kB / 452.6 MB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.2355, allocations: 0.9987 MB / 453.6 MB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.2355, allocations: 8 kB / 453.6 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.2357, allocations: 83.86 kB / 453.7 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.2357, allocations: 4 kB / 453.7 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.2357, allocations: 12 kB / 453.7 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2357, allocations: 0 / 453.7 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2357, allocations: 0 / 453.7 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.2362, allocations: 0.6333 MB / 454.3 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.2363, allocations: 99.11 kB / 454.4 MB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.2364, allocations: 15.98 kB / 454.4 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.2365, allocations: 39.97 kB / 454.5 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.2367, allocations: 91.8 kB / 454.5 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.2367, allocations: 12 kB / 454.6 MB, free: 13.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.2368, allocations: 184.4 kB / 454.7 MB, free: 13.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2368, allocations: 4 kB / 454.7 MB, free: 13.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002272/0.2391, allocations: 1.158 MB / 455.9 MB, free: 12.19 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count) * Number of discrete states: 4 (Sine3.count,Sine4.count,Sine2.count,Sine1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002943/0.242, allocations: 1.144 MB / 457 MB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008479/0.2429, allocations: 1.072 MB / 458.1 MB, free: 9.812 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/0.2429, allocations: 4 kB / 458.1 MB, free: 9.809 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.2431, allocations: 212.9 kB / 458.3 MB, free: 9.598 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007081/0.2438, allocations: 280.7 kB / 458.6 MB, free: 9.332 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.2459, allocations: 1.595 MB / 460.2 MB, free: 7.688 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.2461, allocations: 197.6 kB / 460.4 MB, free: 7.473 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004507/0.2465, allocations: 363.9 kB / 460.7 MB, free: 7.113 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/0.2469, allocations: 233.2 kB / 461 MB, free: 6.887 MB / 426.7 MB Notification: Performance of SimCode: time 1.864e-06/0.2469, allocations: 0 / 461 MB, free: 6.887 MB / 426.7 MB Notification: Performance of Templates: time 0.1689/0.4158, allocations: 44.56 MB / 0.4937 GB, free: 109 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.998630702029914]