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.001563/0.001563, allocations: 180 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001095/0.001094, allocations: 96.23 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6139/0.6139, allocations: 48.78 MB / 367.9 MB, free: 47.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005992/0.0005993, allocations: 11.94 kB / 438.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2396, allocations: 60.25 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.78/9.019, allocations: 2.902 GB / 3.389 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003892/9.02, allocations: 75.78 kB / 3.389 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.598/11.62, allocations: 0.6606 GB / 4.049 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.818e-06/11.62, allocations: 0 / 4.049 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.92e-05/11.62, allocations: 20.89 kB / 4.05 GB, free: 20.12 MB / 0.5105 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.006699/11.63, allocations: 1.465 MB / 4.051 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/11.63, allocations: 11.31 kB / 4.051 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003563/11.63, allocations: 113.6 kB / 4.051 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/11.63, allocations: 0.5444 MB / 4.052 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/11.63, allocations: 58.69 kB / 4.052 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.109e-05/11.63, allocations: 59.81 kB / 4.052 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/11.63, allocations: 0.9439 MB / 4.053 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/11.63, allocations: 3.5 kB / 4.053 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.864e-05/11.63, allocations: 30.72 kB / 4.053 GB, free: 18.08 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/11.63, allocations: 26.02 kB / 4.053 GB, free: 18.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/11.63, allocations: 0.5963 MB / 4.053 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003289/11.63, allocations: 4.413 MB / 4.058 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/11.63, allocations: 496 kB / 4.058 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05981/11.69, allocations: 31.87 MB / 4.089 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/11.69, allocations: 34.5 kB / 4.089 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 3.957e-06/11.69, allocations: 0 / 4.089 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.002605/11.7, allocations: 0.7238 MB / 4.09 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/11.7, allocations: 89.03 kB / 4.09 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000578/11.7, allocations: 410.2 kB / 4.09 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/11.7, allocations: 29.7 kB / 4.09 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/11.7, allocations: 327.8 kB / 4.091 GB, free: 312 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/11.7, allocations: 112.4 kB / 4.091 GB, free: 200 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/11.7, allocations: 12 kB / 4.091 GB, free: 188 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002158/11.7, allocations: 362.7 kB / 4.091 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/11.7, allocations: 140.6 kB / 4.091 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/11.7, allocations: 213.8 kB / 4.092 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/11.7, allocations: 151.9 kB / 4.092 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/11.7, allocations: 0 / 4.092 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001032/11.7, allocations: 451.9 kB / 4.092 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005822/11.7, allocations: 0.8731 MB / 4.093 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/11.7, allocations: 4 kB / 4.093 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.364e-05/11.7, allocations: 11.92 kB / 4.093 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/11.7, allocations: 95.88 kB / 4.093 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/11.7, allocations: 4 kB / 4.093 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007788/11.7, allocations: 87.47 kB / 4.093 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/11.7, allocations: 16 kB / 4.093 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/11.7, allocations: 4 kB / 4.093 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005966/11.7, allocations: 301.2 kB / 4.093 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/11.7, allocations: 4.062 kB / 4.093 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.172e-06/11.7, allocations: 4 kB / 4.093 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/11.7, allocations: 87.89 kB / 4.094 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/11.7, allocations: 7.953 kB / 4.094 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/11.7, allocations: 95.47 kB / 4.094 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/11.7, allocations: 12 kB / 4.094 GB, free: 13.19 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 () * Number of clocked 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.0004102/11.7, allocations: 253.5 kB / 4.094 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/11.7, allocations: 59.25 kB / 4.094 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/11.71, allocations: 1.59 MB / 4.096 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.042e-05/11.71, allocations: 19.97 kB / 4.096 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/11.71, allocations: 0 / 4.096 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/11.71, allocations: 7.922 kB / 4.096 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/11.71, allocations: 0.9907 MB / 4.097 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/11.71, allocations: 0 / 4.097 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/11.71, allocations: 67.94 kB / 4.097 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/11.71, allocations: 4 kB / 4.097 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/11.71, allocations: 15.92 kB / 4.097 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/11.71, allocations: 8 kB / 4.097 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/11.71, allocations: 0 / 4.097 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/11.71, allocations: 1.017 MB / 4.098 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/11.71, allocations: 191.8 kB / 4.098 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/11.71, allocations: 4 kB / 4.098 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/11.71, allocations: 75.78 kB / 4.098 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/11.71, allocations: 27.95 kB / 4.098 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/11.71, allocations: 19.94 kB / 4.098 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003438/11.71, allocations: 318.9 kB / 4.098 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/11.71, allocations: 0 / 4.098 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005974/11.72, allocations: 1.139 MB / 4.099 GB, free: 7.293 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 () * Number of clocked 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.008/11.73, allocations: 1.785 MB / 4.101 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001658/11.73, allocations: 0.6763 MB / 4.102 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/11.73, allocations: 0 / 4.102 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007003/11.73, allocations: 430 kB / 4.102 GB, free: 4.668 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/11.73, allocations: 302.1 kB / 4.102 GB, free: 4.383 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/11.73, allocations: 1.961 MB / 4.104 GB, free: 2.391 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/11.73, allocations: 0.9948 MB / 4.105 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008721/11.74, allocations: 396.9 kB / 4.106 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/11.74, allocations: 51.42 kB / 4.106 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of SimCode: time 1.002e-06/11.74, allocations: 0 / 4.106 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of Templates: time 0.4245/12.16, allocations: 41.96 MB / 4.147 GB, free: 61.81 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)