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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 108.3 kB / 17.74 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 187 kB / 18.67 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2973/0.2973, allocations: 48.85 MB / 320.7 MB, free: 11.02 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 71.89 kB / 451.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1313, allocations: 59.17 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.3912/0.5226, allocations: 109.9 MB / 0.6057 GB, free: 9.578 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01777/0.5404, allocations: 11.71 MB / 0.6172 GB, free: 64 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.542, allocations: 25.38 kB / 0.6172 GB, free: 52 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.5445, allocations: 0.573 MB / 0.6177 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00238/0.5469, allocations: 0.6616 MB / 0.6184 GB, free: 14.99 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01882/0.5657, allocations: 5.709 MB / 0.624 GB, free: 9.418 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00331/0.5691, allocations: 1.868 MB / 0.6258 GB, free: 7.543 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.5707, allocations: 0.7016 MB / 0.6265 GB, free: 6.836 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.5725, allocations: 0.7122 MB / 0.6272 GB, free: 6.121 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.5739, allocations: 0.708 MB / 0.6279 GB, free: 5.41 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002761/0.5742, allocations: 80 kB / 0.6279 GB, free: 5.332 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01553/0.5898, allocations: 6.451 MB / 0.6342 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003935/0.5902, allocations: 179.4 kB / 0.6344 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.5912, allocations: 493.7 kB / 0.6349 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01287/0.6041, allocations: 4.44 MB / 0.6392 GB, free: 9.766 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.6042, allocations: 0 / 0.6392 GB, free: 9.766 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6042, allocations: 0 / 0.6392 GB, free: 9.766 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.954e-05/0.6042, allocations: 0 / 0.6392 GB, free: 9.766 MB / 494.1 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.005901/0.6101, allocations: 1.859 MB / 0.641 GB, free: 7.832 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.6102, allocations: 11.89 kB / 0.641 GB, free: 7.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004588/0.6107, allocations: 124.6 kB / 0.6412 GB, free: 7.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.6118, allocations: 0.5344 MB / 0.6417 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.494e-05/0.6119, allocations: 58.38 kB / 0.6417 GB, free: 7.066 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.612, allocations: 68.56 kB / 0.6418 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.6144, allocations: 0.9717 MB / 0.6428 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.6145, allocations: 4 kB / 0.6428 GB, free: 5.969 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.026e-05/0.6145, allocations: 28 kB / 0.6428 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.6146, allocations: 16 kB / 0.6428 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.617, allocations: 0.8011 MB / 0.6436 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00513/0.6221, allocations: 4.672 MB / 0.6481 GB, free: 0 / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/0.6245, allocations: 0.7114 MB / 0.6488 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008618/0.6254, allocations: 293.4 kB / 0.6491 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06423/0.6896, allocations: 32.12 MB / 0.6805 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001803/0.6915, allocations: 0.5195 MB / 0.681 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 4.519e-06/0.6915, allocations: 0 / 0.681 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.003851/0.6954, allocations: 1.066 MB / 0.682 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.6955, allocations: 93.09 kB / 0.6821 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008404/0.6963, allocations: 0.5627 MB / 0.6827 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.462e-05/0.6964, allocations: 37.7 kB / 0.6827 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/0.6968, allocations: 372.4 kB / 0.6831 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.6969, allocations: 142 kB / 0.6832 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.6971, allocations: 94.23 kB / 0.6833 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.6973, allocations: 378.7 kB / 0.6836 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009147/0.6982, allocations: 272.1 kB / 0.6839 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000917/0.6992, allocations: 363.6 kB / 0.6843 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.7009, allocations: 0.6728 MB / 0.6849 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.701, allocations: 0 / 0.6849 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002169/0.7031, allocations: 0.8464 MB / 0.6857 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.7032, allocations: 130.6 kB / 0.6859 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.7033, allocations: 0 / 0.6859 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.7033, allocations: 4 kB / 0.6859 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/0.704, allocations: 148 kB / 0.686 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.704, allocations: 4 kB / 0.686 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/0.7048, allocations: 111.3 kB / 0.6861 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.576e-05/0.7049, allocations: 25.34 kB / 0.6861 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009921/0.7059, allocations: 381 kB / 0.6865 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008637/0.7068, allocations: 345.3 kB / 0.6868 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001565/0.7083, allocations: 0.6584 MB / 0.6875 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.938e-06/0.7084, allocations: 0 / 0.6875 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.002054/0.7104, allocations: 0.8154 MB / 0.6883 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.217e-05/0.7105, allocations: 118.8 kB / 0.6884 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7105, allocations: 0 / 0.6884 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.7105, allocations: 8 kB / 0.6884 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/0.7111, allocations: 136.6 kB / 0.6885 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.7111, allocations: 5.875 kB / 0.6885 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007028/0.7118, allocations: 107.6 kB / 0.6886 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.7119, allocations: 23.98 kB / 0.6887 GB, free: 2.258 MB / 0.5294 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.0002514/0.7122, allocations: 222.1 kB / 0.6889 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.7123, allocations: 67.25 kB / 0.6889 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003076/0.7154, allocations: 1.829 MB / 0.6907 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.718e-05/0.7154, allocations: 23.97 kB / 0.6907 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.7155, allocations: 0 / 0.6907 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.7155, allocations: 7.969 kB / 0.6907 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002828/0.7183, allocations: 1.99 MB / 0.6927 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.7183, allocations: 7.875 kB / 0.6927 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005446/0.7189, allocations: 115.8 kB / 0.6928 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.7189, allocations: 4 kB / 0.6928 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.7189, allocations: 11.98 kB / 0.6928 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.719, allocations: 0 / 0.6928 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.719, allocations: 4 kB / 0.6928 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.7213, allocations: 1.188 MB / 0.694 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.7217, allocations: 219.5 kB / 0.6942 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.7218, allocations: 12 kB / 0.6942 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006345/0.7224, allocations: 75.89 kB / 0.6943 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.7227, allocations: 79.91 kB / 0.6944 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.7227, allocations: 19.98 kB / 0.6944 GB, free: 12.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000454/0.7232, allocations: 391.1 kB / 0.6948 GB, free: 11.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7232, allocations: 0 / 0.6948 GB, free: 11.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003448/0.7266, allocations: 1.124 MB / 0.6958 GB, free: 10.77 MB / 0.545 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.00462/0.7313, allocations: 0.9804 MB / 0.6968 GB, free: 9.785 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003451/0.7347, allocations: 1.542 MB / 0.6983 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.7348, allocations: 3.938 kB / 0.6983 GB, free: 8.141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.736, allocations: 0.5554 MB / 0.6989 GB, free: 7.582 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.7377, allocations: 364.9 kB / 0.6992 GB, free: 7.227 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.7409, allocations: 1.738 MB / 0.7009 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/0.7415, allocations: 1.011 MB / 0.7019 GB, free: 4.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.7417, allocations: 63.42 kB / 0.702 GB, free: 4.348 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.7417, allocations: 0 / 0.702 GB, free: 4.348 MB / 0.545 GB Notification: Performance of Templates: time 0.04369/0.7854, allocations: 25.46 MB / 0.7268 GB, free: 10.84 MB / 0.5762 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)