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.001398/0.001398, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001781/0.001781, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9547/0.9547, allocations: 158.6 MB / 187.5 MB, free: 2.805 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.1802/0.1802, allocations: 36.33 MB / 276.2 MB, free: 14.38 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.573e-06/1.573e-06, allocations: 0 / 355.1 MB, free: 62.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.139e-05, allocations: 2.312 kB / 355.1 MB, free: 62.64 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.0407/0.04073, allocations: 45.18 MB / 400.2 MB, free: 25.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.05147, allocations: 8.412 MB / 408.7 MB, free: 17.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000974/0.05244, allocations: 27.75 kB / 408.7 MB, free: 17.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009837/0.05342, allocations: 329.5 kB / 409 MB, free: 16.79 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.0548, allocations: 0.6943 MB / 409.7 MB, free: 16.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01518/0.06998, allocations: 5.266 MB / 415 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002521/0.0725, allocations: 1.925 MB / 416.9 MB, free: 8.871 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.07352, allocations: 0.6032 MB / 417.5 MB, free: 8.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.07487, allocations: 0.9586 MB / 418.5 MB, free: 7.289 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007574/0.07563, allocations: 0.6153 MB / 419.1 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.07576, allocations: 80 kB / 419.1 MB, free: 6.594 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009927/0.08568, allocations: 5.799 MB / 424.9 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.08593, allocations: 199.2 kB / 425.1 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005594/0.08649, allocations: 355.2 kB / 425.5 MB, free: 252 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.09684, allocations: 4.821 MB / 430.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.09685, allocations: 0 / 430.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09685, allocations: 0 / 430.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.09687, allocations: 3.938 kB / 430.3 MB, free: 11.41 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.004015/0.1009, allocations: 1.794 MB / 432.1 MB, free: 9.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1009, allocations: 16.02 kB / 432.1 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004659/0.1014, allocations: 208.1 kB / 432.3 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007079/0.1021, allocations: 490.7 kB / 432.8 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/0.1021, allocations: 54.38 kB / 432.9 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.516e-05/0.1022, allocations: 68.38 kB / 432.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.1037, allocations: 0.8236 MB / 433.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.1037, allocations: 192 / 433.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.528e-05/0.1038, allocations: 31.94 kB / 433.8 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.1038, allocations: 20 kB / 433.8 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008348/0.1047, allocations: 348.6 kB / 434.1 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003447/0.1081, allocations: 3.53 MB / 437.7 MB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009636/0.1091, allocations: 402.7 kB / 438.1 MB, free: 3.336 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.1092, allocations: 99.81 kB / 438.2 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03888/0.1481, allocations: 14.6 MB / 452.8 MB, free: 4.613 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008836/0.149, allocations: 377.4 kB / 453.1 MB, free: 4.215 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.154e-06/0.149, allocations: 0 / 453.1 MB, free: 4.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001626/0.1506, allocations: 0.6146 MB / 453.7 MB, free: 3.594 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.1507, allocations: 97.03 kB / 453.8 MB, free: 3.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005788/0.1513, allocations: 474.4 kB / 454.3 MB, free: 3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.1513, allocations: 33.7 kB / 454.3 MB, free: 2.961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.1516, allocations: 447.1 kB / 454.8 MB, free: 2.516 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.1517, allocations: 142.8 kB / 454.9 MB, free: 2.375 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.1519, allocations: 107.7 kB / 455 MB, free: 2.262 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1521, allocations: 0.5429 MB / 455.6 MB, free: 1.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.1523, allocations: 192.4 kB / 455.8 MB, free: 1.492 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.1526, allocations: 304 kB / 456 MB, free: 1.117 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.153, allocations: 391.8 kB / 456.4 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.153, allocations: 4 kB / 456.4 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008392/0.1538, allocations: 0.6021 MB / 457 MB, free: 0 / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.1539, allocations: 123.4 kB / 457.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.154, allocations: 0 / 457.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.154, allocations: 8 kB / 457.2 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/0.1544, allocations: 123.8 kB / 457.3 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.1544, allocations: 4 kB / 457.3 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.1549, allocations: 75.75 kB / 457.4 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/0.1549, allocations: 27.98 kB / 457.4 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003639/0.1553, allocations: 305.6 kB / 457.7 MB, free: 15.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002695/0.1555, allocations: 327.2 kB / 458 MB, free: 14.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000388/0.1559, allocations: 396 kB / 458.4 MB, free: 14.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/0.1559, allocations: 0 / 458.4 MB, free: 14.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0007176/0.1567, allocations: 0.5981 MB / 459 MB, free: 13.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.589e-05/0.1567, allocations: 126.8 kB / 459.1 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1567, allocations: 0 / 459.1 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.926e-06/0.1567, allocations: 11.98 kB / 459.1 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.1571, allocations: 119.8 kB / 459.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1571, allocations: 4 kB / 459.3 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.1575, allocations: 63.75 kB / 459.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.1575, allocations: 19.98 kB / 459.3 MB, free: 13.41 MB / 378.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.0002078/0.1577, allocations: 310 kB / 459.6 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1578, allocations: 75.56 kB / 459.7 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.159, allocations: 0.9307 MB / 460.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/0.159, allocations: 31.89 kB / 460.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.159, allocations: 0 / 460.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.159, allocations: 0 / 460.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.1603, allocations: 1.158 MB / 461.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.1603, allocations: 0 / 461.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.1605, allocations: 79.94 kB / 461.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1605, allocations: 0 / 461.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.1605, allocations: 8 kB / 461.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.1605, allocations: 11.92 kB / 461.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1605, allocations: 0 / 461.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.1611, allocations: 0.7721 MB / 462.7 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.1612, allocations: 131 kB / 462.8 MB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.1613, allocations: 12 kB / 462.8 MB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.1615, allocations: 46.39 kB / 462.9 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.1616, allocations: 87.81 kB / 463 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.1617, allocations: 15.98 kB / 463 MB, free: 9.676 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001486/0.1618, allocations: 302.6 kB / 463.3 MB, free: 9.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1618, allocations: 0 / 463.3 MB, free: 9.379 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002323/0.1641, allocations: 1.162 MB / 464.4 MB, free: 8.215 MB / 378.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.002577/0.1667, allocations: 1.096 MB / 465.5 MB, free: 7.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008832/0.1676, allocations: 1.104 MB / 466.6 MB, free: 5.852 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1676, allocations: 0 / 466.6 MB, free: 5.852 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.1678, allocations: 245.9 kB / 466.9 MB, free: 5.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000785/0.1686, allocations: 278.8 kB / 467.2 MB, free: 5.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.1707, allocations: 1.593 MB / 468.7 MB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.1708, allocations: 185.6 kB / 468.9 MB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004636/0.1713, allocations: 367.9 kB / 469.3 MB, free: 3.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.1717, allocations: 278 kB / 469.6 MB, free: 2.863 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.1717, allocations: 3.938 kB / 469.6 MB, free: 2.859 MB / 378.7 MB Notification: Performance of Templates: time 0.04797/0.2197, allocations: 46.08 MB / 0.5036 GB, free: 4.758 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: 5.5413016909733415]