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.00181/0.00181, allocations: 180.6 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.02/2.02, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001203/0.001203, allocations: 96.41 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6967/0.6967, allocations: 48.78 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004165/0.0004166, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1911, allocations: 60.26 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.85/9.041, allocations: 2.851 GB / 3.338 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/9.041, allocations: 84.27 kB / 3.338 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.705/11.75, allocations: 0.6462 GB / 3.984 GB, free: 40.58 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.905e-06/11.75, allocations: 0 / 3.984 GB, free: 40.58 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001142/11.75, allocations: 25.34 kB / 3.984 GB, free: 40.57 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.01027/11.76, allocations: 1.797 MB / 3.986 GB, free: 39.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/11.76, allocations: 13.66 kB / 3.986 GB, free: 39.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008658/11.76, allocations: 130.2 kB / 3.986 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/11.76, allocations: 0.5824 MB / 3.987 GB, free: 39.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-05/11.76, allocations: 55.28 kB / 3.987 GB, free: 39.06 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/11.76, allocations: 63.66 kB / 3.987 GB, free: 39.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/11.76, allocations: 1.111 MB / 3.988 GB, free: 38.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/11.76, allocations: 7.844 kB / 3.988 GB, free: 38.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-05/11.76, allocations: 31.47 kB / 3.988 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/11.76, allocations: 15.12 kB / 3.988 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002508/11.77, allocations: 0.8841 MB / 3.989 GB, free: 38.27 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005292/11.77, allocations: 4.417 MB / 3.993 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/11.77, allocations: 0.8211 MB / 3.994 GB, free: 34.33 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06625/11.84, allocations: 31.87 MB / 4.025 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002019/11.84, allocations: 0.5676 MB / 4.026 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 5.39e-06/11.84, allocations: 0 / 4.026 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42): time 0.004071/11.85, allocations: 1.219 MB / 4.027 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/11.85, allocations: 94.59 kB / 4.027 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009273/11.85, allocations: 485.2 kB / 4.027 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/11.85, allocations: 41.7 kB / 4.027 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/11.85, allocations: 367 kB / 4.028 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/11.85, allocations: 129.3 kB / 4.028 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/11.85, allocations: 8 kB / 4.028 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001679/11.85, allocations: 371.4 kB / 4.028 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009131/11.85, allocations: 316.2 kB / 4.029 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009722/11.85, allocations: 393 kB / 4.029 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009389/11.85, allocations: 424.7 kB / 4.029 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/11.85, allocations: 4 kB / 4.029 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00228/11.85, allocations: 0.9348 MB / 4.03 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000388/11.85, allocations: 0.8071 MB / 4.031 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/11.85, allocations: 3.938 kB / 4.031 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.97e-05/11.85, allocations: 4 kB / 4.031 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007452/11.85, allocations: 167.2 kB / 4.031 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/11.85, allocations: 7.953 kB / 4.031 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/11.86, allocations: 169.6 kB / 4.031 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/11.86, allocations: 27.66 kB / 4.031 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/11.86, allocations: 4 kB / 4.031 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002052/11.86, allocations: 0.8446 MB / 4.032 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/11.86, allocations: 3.422 kB / 4.032 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/11.86, allocations: 4 kB / 4.032 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/11.86, allocations: 149.8 kB / 4.032 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/11.86, allocations: 11.94 kB / 4.032 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/11.86, allocations: 172.1 kB / 4.033 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/11.86, allocations: 16 kB / 4.033 GB, free: 7.973 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 () * Number of clocked 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.0006529/11.86, allocations: 278.7 kB / 4.033 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/11.86, allocations: 63.25 kB / 4.033 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003492/11.86, allocations: 1.941 MB / 4.035 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/11.86, allocations: 23.34 kB / 4.035 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/11.86, allocations: 3.5 kB / 4.035 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/11.86, allocations: 4 kB / 4.035 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/11.87, allocations: 1.035 MB / 4.036 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/11.87, allocations: 7.953 kB / 4.036 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/11.87, allocations: 138.5 kB / 4.036 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/11.87, allocations: 4 kB / 4.036 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/11.87, allocations: 12 kB / 4.036 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/11.87, allocations: 0 / 4.036 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/11.87, allocations: 0 / 4.036 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/11.87, allocations: 1.227 MB / 4.037 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/11.87, allocations: 217.8 kB / 4.037 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/11.87, allocations: 15.7 kB / 4.037 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009683/11.87, allocations: 140.8 kB / 4.038 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/11.87, allocations: 69.58 kB / 4.038 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/11.87, allocations: 23.7 kB / 4.038 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004521/11.87, allocations: 371.4 kB / 4.038 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/11.87, allocations: 0 / 4.038 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007121/11.88, allocations: 1.187 MB / 4.039 GB, free: 1.945 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) * 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 (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.01184/11.89, allocations: 1.791 MB / 4.041 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004812/11.9, allocations: 1.685 MB / 4.043 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/11.9, allocations: 8 kB / 4.043 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001705/11.9, allocations: 0.5971 MB / 4.043 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/11.9, allocations: 332.2 kB / 4.044 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00478/11.9, allocations: 2.044 MB / 4.046 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009124/11.91, allocations: 1.032 MB / 4.047 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001174/11.91, allocations: 408 kB / 4.047 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/11.91, allocations: 55.09 kB / 4.047 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of SimCode: time 2.355e-06/11.91, allocations: 0 / 4.047 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of Templates: time 0.4701/12.38, allocations: 44.21 MB / 4.09 GB, free: 60.39 MB / 0.5417 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)