Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.001441, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.99/1.99, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009924/0.0009925, allocations: 86.7 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4013/0.4013, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.105e-05/4.107e-05, allocations: 4 kB / 432.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1807, allocations: 60.26 MB / 492.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.23/9.411, allocations: 2.902 GB / 3.383 GB, free: 38.36 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/9.411, allocations: 72.66 kB / 3.383 GB, free: 38.32 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.567/11.98, allocations: 0.6576 GB / 4.04 GB, free: 44.35 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.074e-06/11.98, allocations: 0.8125 kB / 4.04 GB, free: 44.35 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001204/11.98, allocations: 20.16 kB / 4.04 GB, free: 44.35 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.007723/11.99, allocations: 1.396 MB / 4.042 GB, free: 43.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/11.99, allocations: 8.031 kB / 4.042 GB, free: 43.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007515/11.99, allocations: 116.2 kB / 4.042 GB, free: 43.83 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/11.99, allocations: 0.5355 MB / 4.042 GB, free: 43.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.189e-05/11.99, allocations: 51.81 kB / 4.043 GB, free: 43.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/11.99, allocations: 61.25 kB / 4.043 GB, free: 43.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/11.99, allocations: 0.9451 MB / 4.044 GB, free: 43.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/11.99, allocations: 4.125 kB / 4.044 GB, free: 43.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/11.99, allocations: 30.28 kB / 4.044 GB, free: 43.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/11.99, allocations: 17.19 kB / 4.044 GB, free: 43.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/11.99, allocations: 0.5564 MB / 4.044 GB, free: 43.24 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00387/12, allocations: 4.413 MB / 4.048 GB, free: 39.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/12, allocations: 494.2 kB / 4.049 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/12, allocations: 161.5 kB / 4.049 GB, free: 39.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05608/12.05, allocations: 31.98 MB / 4.08 GB, free: 20.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/12.05, allocations: 39.75 kB / 4.08 GB, free: 20.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 2.815e-06/12.05, allocations: 0 / 4.08 GB, free: 20.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.001801/12.06, allocations: 0.5672 MB / 4.081 GB, free: 20.37 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/12.06, allocations: 86.23 kB / 4.081 GB, free: 20.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/12.06, allocations: 402.6 kB / 4.081 GB, free: 20.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/12.06, allocations: 36.45 kB / 4.081 GB, free: 20.13 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/12.06, allocations: 329.5 kB / 4.082 GB, free: 19.97 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/12.06, allocations: 113.9 kB / 4.082 GB, free: 19.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/12.06, allocations: 6.453 kB / 4.082 GB, free: 19.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008514/12.06, allocations: 364.6 kB / 4.082 GB, free: 35.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/12.06, allocations: 100.2 kB / 4.082 GB, free: 35.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/12.06, allocations: 179 kB / 4.082 GB, free: 35.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/12.06, allocations: 119.4 kB / 4.083 GB, free: 35.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/12.06, allocations: 1.188 kB / 4.083 GB, free: 35.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007376/12.06, allocations: 378.3 kB / 4.083 GB, free: 35.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003601/12.06, allocations: 0.8748 MB / 4.084 GB, free: 34.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/12.06, allocations: 0 / 4.084 GB, free: 34.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/12.06, allocations: 10.69 kB / 4.084 GB, free: 34.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/12.06, allocations: 91.3 kB / 4.084 GB, free: 34.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/12.06, allocations: 12.95 kB / 4.084 GB, free: 34.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/12.06, allocations: 85.64 kB / 4.084 GB, free: 34.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/12.06, allocations: 17.7 kB / 4.084 GB, free: 34.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/12.06, allocations: 6.75 kB / 4.084 GB, free: 34.5 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003902/12.06, allocations: 248 kB / 4.084 GB, free: 34.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/12.06, allocations: 0 / 4.084 GB, free: 34.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.824e-06/12.06, allocations: 10.5 kB / 4.084 GB, free: 34.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/12.06, allocations: 90.92 kB / 4.084 GB, free: 34.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/12.06, allocations: 5.531 kB / 4.084 GB, free: 34.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/12.06, allocations: 84.5 kB / 4.084 GB, free: 34.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/12.06, allocations: 13.25 kB / 4.084 GB, free: 34.48 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001709/12.06, allocations: 132.4 kB / 4.085 GB, free: 34.36 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/12.06, allocations: 56.31 kB / 4.085 GB, free: 34.34 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/12.06, allocations: 1.525 MB / 4.086 GB, free: 34.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/12.06, allocations: 22.75 kB / 4.086 GB, free: 34.16 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/12.06, allocations: 3.969 kB / 4.086 GB, free: 34.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/12.06, allocations: 3.703 kB / 4.086 GB, free: 34.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/12.06, allocations: 0.9761 MB / 4.087 GB, free: 33.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/12.06, allocations: 0 / 4.087 GB, free: 33.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/12.07, allocations: 68.45 kB / 4.087 GB, free: 33.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/12.07, allocations: 11.47 kB / 4.087 GB, free: 33.92 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/12.07, allocations: 17.88 kB / 4.087 GB, free: 33.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/12.07, allocations: 1.875 kB / 4.087 GB, free: 33.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/12.07, allocations: 3.781 kB / 4.087 GB, free: 33.92 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/12.07, allocations: 0.946 MB / 4.088 GB, free: 33.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/12.07, allocations: 192.3 kB / 4.088 GB, free: 33.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/12.07, allocations: 11.38 kB / 4.088 GB, free: 33.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005395/12.07, allocations: 68 kB / 4.088 GB, free: 33.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/12.07, allocations: 33.69 kB / 4.088 GB, free: 33.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/12.07, allocations: 12 kB / 4.088 GB, free: 33.45 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003126/12.07, allocations: 316.7 kB / 4.089 GB, free: 33.36 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.213e-06/12.07, allocations: 0 / 4.089 GB, free: 33.36 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00544/12.07, allocations: 1.14 MB / 4.09 GB, free: 33.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009231/12.08, allocations: 1.786 MB / 4.092 GB, free: 32.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001248/12.08, allocations: 0.6089 MB / 4.092 GB, free: 32.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/12.08, allocations: 0 / 4.092 GB, free: 32.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005557/12.08, allocations: 396.2 kB / 4.092 GB, free: 32.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/12.09, allocations: 306.5 kB / 4.093 GB, free: 32.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/12.09, allocations: 1.223 MB / 4.094 GB, free: 32.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/12.09, allocations: 1.003 MB / 4.095 GB, free: 31.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001038/12.09, allocations: 414.4 kB / 4.095 GB, free: 31.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/12.09, allocations: 44.52 kB / 4.095 GB, free: 31.78 MB / 0.5417 GB Notification: Performance of SimCode: time 1.773e-06/12.09, allocations: 0 / 4.095 GB, free: 31.78 MB / 0.5417 GB Notification: Performance of Templates: time 0.06181/12.15, allocations: 47.47 MB / 4.142 GB, free: 29.07 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1)