Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.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.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") translateModel(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002391/0.002391, allocations: 174.8 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 2.013/2.013, 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.0009091/0.0009091, allocations: 78.73 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.383/0.383, allocations: 48.78 MB / 364.3 MB, free: 6.855 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.25e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1457, allocations: 60.25 MB / 492.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.883/9.029, allocations: 2.851 GB / 3.332 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/9.029, allocations: 76.69 kB / 3.332 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.319/11.35, allocations: 0.6433 GB / 3.975 GB, free: 49.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.415e-06/11.35, allocations: 0 / 3.975 GB, free: 49.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.107e-05/11.35, allocations: 23.27 kB / 3.975 GB, free: 49.14 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.008423/11.36, allocations: 1.707 MB / 3.977 GB, free: 48.31 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/11.36, allocations: 14.02 kB / 3.977 GB, free: 48.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006797/11.36, allocations: 125.2 kB / 3.977 GB, free: 48.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/11.36, allocations: 0.5815 MB / 3.978 GB, free: 48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.697e-05/11.36, allocations: 50 kB / 3.978 GB, free: 48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/11.36, allocations: 65.41 kB / 3.978 GB, free: 48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/11.36, allocations: 0.9613 MB / 3.979 GB, free: 47.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/11.36, allocations: 3 kB / 3.979 GB, free: 47.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/11.36, allocations: 41.06 kB / 3.979 GB, free: 47.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/11.36, allocations: 17.84 kB / 3.979 GB, free: 47.68 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/11.36, allocations: 0.5733 MB / 3.979 GB, free: 47.67 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005347/11.37, allocations: 4.415 MB / 3.984 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/11.37, allocations: 0.5334 MB / 3.984 GB, free: 44.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003986/11.37, allocations: 184.4 kB / 3.984 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07382/11.44, allocations: 32 MB / 4.016 GB, free: 25.01 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001327/11.45, allocations: 431.2 kB / 4.016 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 4.839e-06/11.45, allocations: 3.844 kB / 4.016 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42): time 0.002287/11.45, allocations: 0.6608 MB / 4.017 GB, free: 24.87 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/11.45, allocations: 86.61 kB / 4.017 GB, free: 24.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006687/11.45, allocations: 476.1 kB / 4.017 GB, free: 24.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.513e-05/11.45, allocations: 40.7 kB / 4.017 GB, free: 24.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/11.45, allocations: 357.7 kB / 4.018 GB, free: 24.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/11.45, allocations: 130.2 kB / 4.018 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/11.45, allocations: 10.84 kB / 4.018 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001032/11.45, allocations: 378.6 kB / 4.018 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/11.45, allocations: 142.4 kB / 4.018 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/11.45, allocations: 220.2 kB / 4.018 GB, free: 24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/11.45, allocations: 260.3 kB / 4.019 GB, free: 23.87 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/11.45, allocations: 0 / 4.019 GB, free: 23.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001145/11.45, allocations: 0.6002 MB / 4.019 GB, free: 23.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001859/11.45, allocations: 0.8118 MB / 4.02 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/11.45, allocations: 0 / 4.02 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/11.45, allocations: 6.375 kB / 4.02 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009372/11.45, allocations: 153.7 kB / 4.02 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/11.45, allocations: 5.5 kB / 4.02 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/11.45, allocations: 184.9 kB / 4.02 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.225e-05/11.45, allocations: 26.56 kB / 4.02 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/11.45, allocations: 7.844 kB / 4.02 GB, free: 22.78 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009727/11.46, allocations: 0.5183 MB / 4.021 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/11.46, allocations: 3.625 kB / 4.021 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/11.46, allocations: 6.969 kB / 4.021 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/11.46, allocations: 150.9 kB / 4.021 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/11.46, allocations: 6.969 kB / 4.021 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/11.46, allocations: 171.7 kB / 4.021 GB, free: 22.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/11.46, allocations: 15.47 kB / 4.021 GB, free: 22.62 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition4,$whenCondition3,$PRE.Sine1.T_start,Sine1.T_start,$PRE.Sine1.count,Sine1.count,$PRE.Sine2.T_start,Sine2.T_start,$PRE.Sine2.count,Sine2.count,$whenCondition2,$whenCondition1,$PRE.Sine3.T_start,Sine3.T_start,$PRE.Sine3.count,Sine3.count,$PRE.Sine4.T_start,Sine4.T_start,$PRE.Sine4.count,Sine4.count,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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 4 * 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.0002102/11.46, allocations: 142.4 kB / 4.021 GB, free: 22.51 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/11.46, allocations: 70.89 kB / 4.022 GB, free: 22.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/11.46, allocations: 1.61 MB / 4.023 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/11.46, allocations: 29.22 kB / 4.023 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/11.46, allocations: 0 / 4.023 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/11.46, allocations: 3.938 kB / 4.023 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/11.46, allocations: 1.03 MB / 4.024 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/11.46, allocations: 3.844 kB / 4.024 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008018/11.46, allocations: 135.5 kB / 4.024 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/11.46, allocations: 3.812 kB / 4.024 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/11.46, allocations: 18.41 kB / 4.024 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/11.46, allocations: 3.938 kB / 4.024 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/11.46, allocations: 5.031 kB / 4.024 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/11.46, allocations: 0.89 MB / 4.025 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/11.46, allocations: 217.5 kB / 4.025 GB, free: 21.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/11.46, allocations: 11.19 kB / 4.025 GB, free: 21.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/11.47, allocations: 146.3 kB / 4.026 GB, free: 21.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/11.47, allocations: 75.8 kB / 4.026 GB, free: 21.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/11.47, allocations: 13 kB / 4.026 GB, free: 21.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006032/11.47, allocations: 377.1 kB / 4.026 GB, free: 21.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.91e-07/11.47, allocations: 2.562 kB / 4.026 GB, free: 21.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006704/11.47, allocations: 1.191 MB / 4.027 GB, free: 21.44 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count) * Number of discrete states: 4 (Sine3.count,Sine4.count,Sine1.count,Sine2.count) * 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 (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.01008/11.48, allocations: 1.784 MB / 4.029 GB, free: 21.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002488/11.49, allocations: 1.219 MB / 4.03 GB, free: 20.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/11.49, allocations: 0 / 4.03 GB, free: 20.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008753/11.49, allocations: 450.4 kB / 4.031 GB, free: 20.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/11.49, allocations: 328.2 kB / 4.031 GB, free: 20.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/11.49, allocations: 1.316 MB / 4.032 GB, free: 20.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/11.49, allocations: 1.038 MB / 4.033 GB, free: 19.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001216/11.49, allocations: 436.8 kB / 4.034 GB, free: 19.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/11.49, allocations: 49.94 kB / 4.034 GB, free: 19.42 MB / 0.5261 GB Notification: Performance of SimCode: time 1.813e-06/11.49, allocations: 0 / 4.034 GB, free: 19.42 MB / 0.5261 GB Notification: Performance of Templates: time 0.08228/11.58, allocations: 49.76 MB / 4.082 GB, free: 6.305 MB / 0.5261 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe 2>&1)