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.001062/0.001062, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001001/0.001001, allocations: 191 kB / 18.63 MB, free: 4.512 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.48/1.48, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3064/0.3064, allocations: 48.84 MB / 320.7 MB, free: 11.03 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.001505/0.001505, allocations: 71.12 kB / 391.5 MB, free: 48.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1256, allocations: 59.16 MB / 450.7 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.4019/0.5276, allocations: 109.9 MB / 0.5474 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01731/0.545, allocations: 11.7 MB / 0.5589 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.5461, allocations: 21.66 kB / 0.5589 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.5478, allocations: 0.5737 MB / 0.5595 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.5493, allocations: 0.6627 MB / 0.5601 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01822/0.5675, allocations: 5.693 MB / 0.5657 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003332/0.5709, allocations: 1.875 MB / 0.5675 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.5721, allocations: 0.7039 MB / 0.5682 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.5738, allocations: 0.7127 MB / 0.5689 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007593/0.5745, allocations: 0.7025 MB / 0.5696 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.5746, allocations: 79.66 kB / 0.5696 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01469/0.5893, allocations: 6.442 MB / 0.5759 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000345/0.5897, allocations: 193.7 kB / 0.5761 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008982/0.5906, allocations: 492.2 kB / 0.5766 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.6015, allocations: 4.431 MB / 0.5809 GB, free: 2.281 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6015, allocations: 0 / 0.5809 GB, free: 2.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6015, allocations: 0 / 0.5809 GB, free: 2.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.6016, allocations: 0 / 0.5809 GB, free: 2.281 MB / 414.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.004435/0.606, allocations: 1.86 MB / 0.5827 GB, free: 1.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.606, allocations: 12.23 kB / 0.5827 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003237/0.6064, allocations: 132.4 kB / 0.5829 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.6071, allocations: 0.5299 MB / 0.5834 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.6072, allocations: 55.34 kB / 0.5834 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.519e-05/0.6073, allocations: 78.38 kB / 0.5835 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.6092, allocations: 0.9708 MB / 0.5845 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.6092, allocations: 4 kB / 0.5845 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.024e-05/0.6093, allocations: 32.62 kB / 0.5845 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.6093, allocations: 18.72 kB / 0.5845 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.6115, allocations: 0.7967 MB / 0.5853 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004564/0.6161, allocations: 4.676 MB / 0.5899 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/0.6183, allocations: 0.7108 MB / 0.5905 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008065/0.6191, allocations: 293.3 kB / 0.5908 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06087/0.68, allocations: 32.12 MB / 0.6222 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001585/0.6816, allocations: 0.5101 MB / 0.6227 GB, free: 10.53 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 2.675e-06/0.6816, allocations: 0 / 0.6227 GB, free: 10.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=42): time 0.003616/0.6852, allocations: 1.073 MB / 0.6237 GB, free: 9.453 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.6853, allocations: 87.84 kB / 0.6238 GB, free: 9.352 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006396/0.6859, allocations: 0.5666 MB / 0.6244 GB, free: 8.777 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.686, allocations: 37.69 kB / 0.6244 GB, free: 8.734 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.6863, allocations: 368.4 kB / 0.6248 GB, free: 8.367 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.6864, allocations: 137.5 kB / 0.6249 GB, free: 8.234 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.6866, allocations: 98.23 kB / 0.625 GB, free: 8.133 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6867, allocations: 378.7 kB / 0.6253 GB, free: 7.754 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008422/0.6876, allocations: 266.9 kB / 0.6256 GB, free: 7.488 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008618/0.6885, allocations: 369.6 kB / 0.626 GB, free: 7.098 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.6901, allocations: 0.6698 MB / 0.6266 GB, free: 6.367 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6901, allocations: 4 kB / 0.6266 GB, free: 6.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00214/0.6923, allocations: 0.8415 MB / 0.6274 GB, free: 5.492 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.662e-05/0.6923, allocations: 134.7 kB / 0.6276 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6924, allocations: 0 / 0.6276 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.6924, allocations: 9.219 kB / 0.6276 GB, free: 5.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.693, allocations: 131.8 kB / 0.6277 GB, free: 5.199 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.693, allocations: 4 kB / 0.6277 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006928/0.6937, allocations: 119.8 kB / 0.6278 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.6938, allocations: 24 kB / 0.6278 GB, free: 5.055 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009018/0.6947, allocations: 381 kB / 0.6282 GB, free: 4.676 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008073/0.6955, allocations: 345.4 kB / 0.6285 GB, free: 4.297 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00143/0.697, allocations: 0.6584 MB / 0.6292 GB, free: 3.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.697, allocations: 0 / 0.6292 GB, free: 3.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.001961/0.699, allocations: 0.8112 MB / 0.63 GB, free: 2.727 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.534e-05/0.6991, allocations: 122.8 kB / 0.6301 GB, free: 2.582 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6991, allocations: 6.5 kB / 0.6301 GB, free: 2.578 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.6991, allocations: 4.344 kB / 0.6301 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005393/0.6996, allocations: 131.8 kB / 0.6302 GB, free: 2.445 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.6997, allocations: 15.88 kB / 0.6302 GB, free: 2.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006434/0.7003, allocations: 99.48 kB / 0.6303 GB, free: 2.332 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/0.7004, allocations: 28 kB / 0.6304 GB, free: 2.305 MB / 462.1 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,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.0002335/0.7006, allocations: 219.7 kB / 0.6306 GB, free: 2.086 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.7007, allocations: 71.23 kB / 0.6306 GB, free: 2.016 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/0.7037, allocations: 1.832 MB / 0.6324 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.7038, allocations: 19.97 kB / 0.6324 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.7038, allocations: 0 / 0.6324 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.7038, allocations: 3.984 kB / 0.6324 GB, free: 148 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.7065, allocations: 1.99 MB / 0.6344 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.7066, allocations: 7.938 kB / 0.6344 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/0.7071, allocations: 103.8 kB / 0.6345 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.557e-06/0.7071, allocations: 4 kB / 0.6345 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/0.7072, allocations: 16.02 kB / 0.6345 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.7072, allocations: 0 / 0.6345 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.7072, allocations: 4 kB / 0.6345 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.7096, allocations: 1.19 MB / 0.6357 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.7099, allocations: 215.5 kB / 0.6359 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.7101, allocations: 18.61 kB / 0.6359 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006357/0.7107, allocations: 78.89 kB / 0.636 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/0.711, allocations: 79.89 kB / 0.6361 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.711, allocations: 20 kB / 0.6361 GB, free: 12.35 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004888/0.7115, allocations: 395.1 kB / 0.6365 GB, free: 11.97 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7115, allocations: 0 / 0.6365 GB, free: 11.97 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003836/0.7154, allocations: 1.124 MB / 0.6375 GB, free: 10.84 MB / 478.1 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.004942/0.7203, allocations: 0.9888 MB / 0.6385 GB, free: 9.934 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003221/0.7236, allocations: 1.537 MB / 0.64 GB, free: 8.305 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.7236, allocations: 4 kB / 0.64 GB, free: 8.301 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.7247, allocations: 0.5615 MB / 0.6406 GB, free: 7.738 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.7264, allocations: 369.4 kB / 0.6409 GB, free: 7.383 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.7291, allocations: 1.69 MB / 0.6426 GB, free: 5.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.7296, allocations: 1.019 MB / 0.6436 GB, free: 4.617 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006472/0.7302, allocations: 381.3 kB / 0.6439 GB, free: 4.242 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.7304, allocations: 59.44 kB / 0.644 GB, free: 4.184 MB / 478.1 MB Notification: Performance of SimCode: time 5.51e-07/0.7304, allocations: 4 kB / 0.644 GB, free: 4.18 MB / 478.1 MB Notification: Performance of Templates: time 0.05978/0.7902, allocations: 42.11 MB / 0.6851 GB, free: 10.05 MB / 0.5137 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 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe 2>&1)