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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") translateModel(ThermoPower.Test.WaterComponents.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001611, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 223.1 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000956/0.000956, allocations: 103.2 kB / 270.5 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3726/0.3726, allocations: 48.83 MB / 366.7 MB, free: 46.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 51.92 kB / 436.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1033, allocations: 59.15 MB / 495.7 MB, free: 140 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.2526/0.3559, allocations: 111 MB / 0.5925 GB, free: 1.234 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01493/0.3708, allocations: 12.58 MB / 0.6048 GB, free: 7.262 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008469/0.3717, allocations: 27 kB / 0.6049 GB, free: 7.25 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.373, allocations: 0.4926 MB / 0.6053 GB, free: 6.828 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.3742, allocations: 0.636 MB / 0.606 GB, free: 6.305 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01207/0.3862, allocations: 4.662 MB / 0.6105 GB, free: 1.82 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002618/0.3889, allocations: 2.804 MB / 0.6132 GB, free: 15.01 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008148/0.3897, allocations: 0.5972 MB / 0.6138 GB, free: 14.4 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008599/0.3906, allocations: 0.6419 MB / 0.6145 GB, free: 13.76 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007576/0.3913, allocations: 0.7236 MB / 0.6152 GB, free: 13.03 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.615e-05/0.3914, allocations: 52 kB / 0.6152 GB, free: 12.98 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/0.4018, allocations: 6.396 MB / 0.6215 GB, free: 6.578 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.402, allocations: 163.3 kB / 0.6216 GB, free: 6.418 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005598/0.4026, allocations: 477.7 kB / 0.6221 GB, free: 5.949 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0069/0.4095, allocations: 4.412 MB / 0.6264 GB, free: 1.527 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4095, allocations: 0 / 0.6264 GB, free: 1.527 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.4095, allocations: 0 / 0.6264 GB, free: 1.527 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.4095, allocations: 0 / 0.6264 GB, free: 1.527 MB / 442.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.00407/0.4136, allocations: 1.858 MB / 0.6282 GB, free: 15.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4136, allocations: 8.031 kB / 0.6282 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003081/0.414, allocations: 127.7 kB / 0.6283 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/0.4146, allocations: 0.5188 MB / 0.6288 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.4147, allocations: 58.36 kB / 0.6289 GB, free: 14.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/0.4148, allocations: 68.56 kB / 0.629 GB, free: 14.78 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.4169, allocations: 0.9795 MB / 0.6299 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.4169, allocations: 0 / 0.6299 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-05/0.417, allocations: 39.97 kB / 0.6299 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.417, allocations: 20 kB / 0.63 GB, free: 13.69 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.4195, allocations: 0.7894 MB / 0.6307 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004389/0.4239, allocations: 4.662 MB / 0.6353 GB, free: 7.785 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.4263, allocations: 0.7153 MB / 0.636 GB, free: 7.051 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009461/0.4273, allocations: 293.5 kB / 0.6363 GB, free: 6.758 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06404/0.4913, allocations: 31.98 MB / 0.6675 GB, free: 2.965 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001644/0.493, allocations: 0.5043 MB / 0.668 GB, free: 2.441 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 2.856e-06/0.4931, allocations: 4 kB / 0.668 GB, free: 2.438 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.003792/0.4969, allocations: 1.066 MB / 0.669 GB, free: 1.363 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.4969, allocations: 89.09 kB / 0.6691 GB, free: 1.258 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/0.4976, allocations: 0.5589 MB / 0.6697 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.4977, allocations: 37.7 kB / 0.6697 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.498, allocations: 372.3 kB / 0.6701 GB, free: 284 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.4981, allocations: 134.1 kB / 0.6702 GB, free: 148 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.4983, allocations: 102.1 kB / 0.6703 GB, free: 40 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4984, allocations: 386.8 kB / 0.6706 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009316/0.4994, allocations: 266.9 kB / 0.6709 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009679/0.5003, allocations: 356.6 kB / 0.6712 GB, free: 15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.5022, allocations: 0.6786 MB / 0.6719 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5022, allocations: 0 / 0.6719 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002248/0.5044, allocations: 0.8446 MB / 0.6727 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.408e-05/0.5045, allocations: 122.7 kB / 0.6728 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5045, allocations: 7.938 kB / 0.6729 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.5046, allocations: 4 kB / 0.6729 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006488/0.5052, allocations: 139.8 kB / 0.673 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.5052, allocations: 12.2 kB / 0.673 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008272/0.5061, allocations: 143.8 kB / 0.6731 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/0.5061, allocations: 23.98 kB / 0.6732 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001003/0.5072, allocations: 381 kB / 0.6735 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008884/0.5081, allocations: 349.3 kB / 0.6739 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00168/0.5097, allocations: 0.67 MB / 0.6745 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.5098, allocations: 6.266 kB / 0.6745 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.002067/0.5118, allocations: 0.7999 MB / 0.6753 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/0.5119, allocations: 124.3 kB / 0.6754 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5119, allocations: 4.5 kB / 0.6754 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.5119, allocations: 8 kB / 0.6754 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/0.5125, allocations: 135.8 kB / 0.6756 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.5125, allocations: 4 kB / 0.6756 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000765/0.5133, allocations: 132.2 kB / 0.6757 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.5134, allocations: 24 kB / 0.6757 GB, free: 10.14 MB / 0.4948 GB 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,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase,T6.fluidState.phase,T5.fluidState.phase,T4.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.0001893/0.5135, allocations: 218.1 kB / 0.6759 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.5137, allocations: 79.14 kB / 0.676 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003045/0.5167, allocations: 1.831 MB / 0.6778 GB, free: 8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.5168, allocations: 27.95 kB / 0.6778 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5168, allocations: 0 / 0.6778 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.5168, allocations: 3.984 kB / 0.6778 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/0.5195, allocations: 1.992 MB / 0.6798 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.5195, allocations: 7.875 kB / 0.6798 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005521/0.52, allocations: 107.8 kB / 0.6799 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.5201, allocations: 7.984 kB / 0.6799 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.5201, allocations: 12 kB / 0.6799 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-06/0.5201, allocations: 4.031 kB / 0.6799 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5201, allocations: 0 / 0.6799 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003861/0.524, allocations: 2.396 MB / 0.6822 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.5243, allocations: 219.5 kB / 0.6824 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.353e-05/0.5244, allocations: 19.98 kB / 0.6825 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007327/0.5251, allocations: 115.7 kB / 0.6826 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/0.5253, allocations: 79.83 kB / 0.6826 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/0.5254, allocations: 16 kB / 0.6827 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003875/0.5258, allocations: 403 kB / 0.683 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5258, allocations: 0 / 0.683 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002852/0.5286, allocations: 1.147 MB / 0.6842 GB, free: 1.324 MB / 0.4948 GB 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.003879/0.5325, allocations: 0.9998 MB / 0.6851 GB, free: 324 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.1607/0.6932, allocations: 1.532 MB / 0.6866 GB, free: 163.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6933, allocations: 0 / 0.6866 GB, free: 163.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.6945, allocations: 0.5671 MB / 0.6872 GB, free: 163.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.6965, allocations: 354.2 kB / 0.6875 GB, free: 163.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.6995, allocations: 2.711 MB / 0.6902 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.7001, allocations: 1.042 MB / 0.6912 GB, free: 161.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007874/0.7009, allocations: 385.4 kB / 0.6916 GB, free: 161.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.7011, allocations: 55.36 kB / 0.6916 GB, free: 161.3 MB / 0.4948 GB Notification: Performance of SimCode: time 7.12e-07/0.7011, allocations: 1.188 kB / 0.6916 GB, free: 161.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.04729/0.7484, allocations: 41.51 MB / 0.7322 GB, free: 146.5 MB / 0.4948 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.makefile (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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe 2>&1)