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.0009469/0.0009469, allocations: 81.86 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.0009823/0.0009823, allocations: 168.5 kB / 24.82 MB, free: 8.918 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.8246/0.8246, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.165/0.165, allocations: 36.34 MB / 275.4 MB, free: 10.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.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.884e-06/1.884e-06, allocations: 0 / 354.3 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.905e-05, allocations: 2.312 kB / 354.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.04907/0.04909, allocations: 45.2 MB / 399.5 MB, free: 5.773 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007792/0.05688, allocations: 8.405 MB / 407.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003332/0.05722, allocations: 27.75 kB / 407.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.05776, allocations: 321.5 kB / 408.2 MB, free: 13 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007687/0.05853, allocations: 0.6944 MB / 408.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008343/0.06687, allocations: 5.269 MB / 414.2 MB, free: 7.008 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.06843, allocations: 1.921 MB / 416.1 MB, free: 5.078 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006342/0.06906, allocations: 0.6149 MB / 416.7 MB, free: 4.445 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008536/0.06992, allocations: 0.9586 MB / 417.7 MB, free: 3.484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004594/0.07038, allocations: 0.6153 MB / 418.3 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.424e-05/0.07045, allocations: 76 kB / 418.4 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006055/0.07651, allocations: 5.794 MB / 424.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.982e-05/0.0766, allocations: 203.1 kB / 424.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.07682, allocations: 351.2 kB / 424.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003828/0.08065, allocations: 4.821 MB / 429.5 MB, free: 7.617 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.08065, allocations: 0 / 429.5 MB, free: 7.617 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.08065, allocations: 0 / 429.5 MB, free: 7.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.08066, allocations: 0 / 429.5 MB, free: 7.617 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001993/0.08265, allocations: 1.801 MB / 431.3 MB, free: 5.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.08268, allocations: 16.03 kB / 431.3 MB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/0.08293, allocations: 208.1 kB / 431.5 MB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.08334, allocations: 482.8 kB / 432 MB, free: 5.031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.08337, allocations: 58.38 kB / 432.1 MB, free: 4.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.08343, allocations: 72.36 kB / 432.1 MB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008485/0.08428, allocations: 0.8197 MB / 433 MB, free: 4.004 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.08429, allocations: 192 / 433 MB, free: 4.004 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.08433, allocations: 31.94 kB / 433 MB, free: 3.973 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.08434, allocations: 16 kB / 433 MB, free: 3.957 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/0.0848, allocations: 348.6 kB / 433.3 MB, free: 3.613 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1249/0.2097, allocations: 3.534 MB / 436.9 MB, free: 71.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008062/0.2105, allocations: 401.8 kB / 437.3 MB, free: 71.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.2106, allocations: 100.2 kB / 437.4 MB, free: 71.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02304/0.2336, allocations: 14.7 MB / 452.1 MB, free: 69.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005435/0.2342, allocations: 379.4 kB / 452.4 MB, free: 69.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.894e-06/0.2342, allocations: 4 kB / 452.4 MB, free: 69.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.000949/0.2351, allocations: 0.6166 MB / 453.1 MB, free: 68.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.2352, allocations: 89.05 kB / 453.1 MB, free: 68.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.2354, allocations: 472.8 kB / 453.6 MB, free: 68.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.2354, allocations: 43.64 kB / 453.7 MB, free: 68.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.2356, allocations: 447.4 kB / 454.1 MB, free: 68.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/0.2356, allocations: 143.7 kB / 454.2 MB, free: 67.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.575e-05/0.2357, allocations: 112.7 kB / 454.3 MB, free: 67.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.934e-05/0.2358, allocations: 0.5404 MB / 454.9 MB, free: 67.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.2359, allocations: 183.1 kB / 455.1 MB, free: 67.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.236, allocations: 314.6 kB / 455.4 MB, free: 66.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.2363, allocations: 377.6 kB / 455.7 MB, free: 66.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2363, allocations: 0 / 455.7 MB, free: 66.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004183/0.2367, allocations: 0.6093 MB / 456.3 MB, free: 65.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.2367, allocations: 122.3 kB / 456.5 MB, free: 65.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.2367, allocations: 0 / 456.5 MB, free: 65.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2367, allocations: 7.938 kB / 456.5 MB, free: 65.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.237, allocations: 125.1 kB / 456.6 MB, free: 65.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.237, allocations: 11.3 kB / 456.6 MB, free: 65.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.2372, allocations: 68.7 kB / 456.7 MB, free: 65.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.2372, allocations: 23.36 kB / 456.7 MB, free: 65.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000156/0.2374, allocations: 307 kB / 457 MB, free: 65.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001131/0.2375, allocations: 317.5 kB / 457.3 MB, free: 64.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001783/0.2377, allocations: 401.9 kB / 457.7 MB, free: 64.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.2377, allocations: 0 / 457.7 MB, free: 64.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0003471/0.238, allocations: 0.5969 MB / 458.3 MB, free: 63.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.238, allocations: 122.4 kB / 458.4 MB, free: 63.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.238, allocations: 3.469 kB / 458.4 MB, free: 63.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/0.2381, allocations: 8 kB / 458.4 MB, free: 63.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.2382, allocations: 119.2 kB / 458.5 MB, free: 63.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.2382, allocations: 6.625 kB / 458.5 MB, free: 63.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.2384, allocations: 68.5 kB / 458.6 MB, free: 63.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.2384, allocations: 19.81 kB / 458.6 MB, free: 63.64 MB / 362.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 9.541e-05/0.2385, allocations: 316.6 kB / 458.9 MB, free: 63.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.2386, allocations: 71.5 kB / 459 MB, free: 63.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005668/0.2392, allocations: 0.9354 MB / 459.9 MB, free: 62.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.2392, allocations: 24.97 kB / 460 MB, free: 62.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.2392, allocations: 0 / 460 MB, free: 62.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2392, allocations: 7.984 kB / 460 MB, free: 62.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007862/0.24, allocations: 1.156 MB / 461.1 MB, free: 61.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.24, allocations: 0 / 461.1 MB, free: 61.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.2401, allocations: 86.73 kB / 461.2 MB, free: 61.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2401, allocations: 0 / 461.2 MB, free: 61.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.2402, allocations: 10.88 kB / 461.2 MB, free: 61.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2402, allocations: 7.938 kB / 461.2 MB, free: 61.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2402, allocations: 3.844 kB / 461.2 MB, free: 61.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.2406, allocations: 0.7594 MB / 462 MB, free: 60.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.2407, allocations: 137.5 kB / 462.1 MB, free: 60.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.2407, allocations: 13.69 kB / 462.2 MB, free: 60.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2409, allocations: 43.33 kB / 462.2 MB, free: 60.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.241, allocations: 89.98 kB / 462.3 MB, free: 60.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.241, allocations: 15.56 kB / 462.3 MB, free: 60.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.527e-05/0.2411, allocations: 297.9 kB / 462.6 MB, free: 60.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2411, allocations: 7.828 kB / 462.6 MB, free: 60.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001713/0.2429, allocations: 1.157 MB / 463.8 MB, free: 59.12 MB / 362.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.002122/0.245, allocations: 1.089 MB / 464.8 MB, free: 58.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000559/0.2455, allocations: 1.114 MB / 466 MB, free: 56.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2455, allocations: 0 / 466 MB, free: 56.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.2457, allocations: 245.3 kB / 466.2 MB, free: 56.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/0.2464, allocations: 278.5 kB / 466.5 MB, free: 56.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.248, allocations: 1.599 MB / 468.1 MB, free: 55.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.904e-05/0.248, allocations: 185.6 kB / 468.2 MB, free: 54.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003488/0.2484, allocations: 368 kB / 468.6 MB, free: 54.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/0.2487, allocations: 276.8 kB / 468.9 MB, free: 54.2 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2487, allocations: 0 / 468.9 MB, free: 54.2 MB / 362.7 MB Notification: Performance of Templates: time 0.03357/0.2823, allocations: 45.79 MB / 0.5026 GB, free: 8.703 MB / 362.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.419057698920369]