Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.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.DistributedParameterComponents.TestGasFlow1DFV_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.001199, 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.877/1.877, allocations: 205.2 MB / 219.4 MB, free: 14.19 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.001062/0.001062, allocations: 82.66 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.3859/0.3859, allocations: 48.77 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.511e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1435, allocations: 60.25 MB / 492.7 MB, free: 4.375 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.017/3.16, allocations: 1.078 GB / 1.559 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/3.161, allocations: 79.7 kB / 1.559 GB, free: 121 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.723/4.884, allocations: 491.3 MB / 2.039 GB, free: 38.26 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.074e-06/4.884, allocations: 0 / 2.039 GB, free: 38.26 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000121/4.884, allocations: 59.94 kB / 2.039 GB, free: 38.2 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: 680 * Number of variables: 680 Notification: Performance of Generate backend data structure: time 0.009192/4.893, allocations: 2.586 MB / 2.042 GB, free: 35.56 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/4.893, allocations: 12.03 kB / 2.042 GB, free: 35.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008914/4.902, allocations: 1.325 MB / 2.043 GB, free: 34.22 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005743/4.908, allocations: 1.568 MB / 2.045 GB, free: 32.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/4.908, allocations: 197 kB / 2.045 GB, free: 32.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001617/4.91, allocations: 283.7 kB / 2.045 GB, free: 32.13 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007862/4.918, allocations: 4.557 MB / 2.049 GB, free: 27.51 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.637e-05/4.918, allocations: 3.938 kB / 2.049 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004447/4.918, allocations: 116 kB / 2.05 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/4.919, allocations: 133.3 kB / 2.05 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007419/4.926, allocations: 5.213 MB / 2.055 GB, free: 22.03 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02187/4.948, allocations: 15.11 MB / 2.07 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3764/5.324, allocations: 11.8 MB / 2.081 GB, free: 71.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00494/5.329, allocations: 1.904 MB / 2.083 GB, free: 71.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000475/5.33, allocations: 141.2 kB / 2.083 GB, free: 71.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/5.33, allocations: 73.66 kB / 2.083 GB, free: 71.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=261): time 4.648e-06/5.33, allocations: 5.016 kB / 2.083 GB, free: 71.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=266): time 0.02353/5.353, allocations: 9.525 MB / 2.092 GB, free: 70.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.713e-05/5.354, allocations: 110.1 kB / 2.093 GB, free: 70.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/5.355, allocations: 0.6158 MB / 2.093 GB, free: 70.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005661/5.356, allocations: 84.3 kB / 2.093 GB, free: 70.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005979/5.356, allocations: 0.7614 MB / 2.094 GB, free: 69.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/5.357, allocations: 0.9232 MB / 2.095 GB, free: 69.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/5.357, allocations: 43.88 kB / 2.095 GB, free: 69.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000176/5.358, allocations: 402.5 kB / 2.095 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002614/5.36, allocations: 1.536 MB / 2.097 GB, free: 69.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002768/5.363, allocations: 1.788 MB / 2.099 GB, free: 68.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/5.366, allocations: 1.775 MB / 2.1 GB, free: 68.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/5.366, allocations: 1.344 kB / 2.1 GB, free: 68.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01018/5.376, allocations: 5.577 MB / 2.106 GB, free: 68.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002466/5.377, allocations: 0.9708 MB / 2.107 GB, free: 67.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/5.377, allocations: 3 kB / 2.107 GB, free: 67.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07383/5.451, allocations: 11.65 MB / 2.118 GB, free: 67.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/5.452, allocations: 319.3 kB / 2.118 GB, free: 67.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008672/5.461, allocations: 7.148 MB / 2.125 GB, free: 65.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/5.464, allocations: 427.3 kB / 2.126 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000258/5.465, allocations: 90.77 kB / 2.126 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/5.465, allocations: 3.594 kB / 2.126 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007674/5.472, allocations: 4.919 MB / 2.131 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/5.472, allocations: 6.281 kB / 2.131 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04854/5.521, allocations: 7.07 MB / 2.138 GB, free: 65.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/5.523, allocations: 364.4 kB / 2.138 GB, free: 65.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/5.534, allocations: 6.705 MB / 2.144 GB, free: 62.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/5.537, allocations: 405 kB / 2.145 GB, free: 62.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005387/5.537, allocations: 90.12 kB / 2.145 GB, free: 62.67 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {12 146} Notification: Performance of prepare postOptimizeDAE: time 0.001245/5.539, allocations: 226 kB / 2.145 GB, free: 62.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008957/5.54, allocations: 160.7 kB / 2.145 GB, free: 62.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/5.55, allocations: 5.252 MB / 2.15 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/5.55, allocations: 24.41 kB / 2.15 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.539e-05/5.55, allocations: 6.312 kB / 2.15 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.385e-05/5.55, allocations: 18.25 kB / 2.15 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0182/5.569, allocations: 9.493 MB / 2.16 GB, free: 60.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/5.569, allocations: 3.812 kB / 2.16 GB, free: 60.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002275/5.571, allocations: 497.4 kB / 2.16 GB, free: 60.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004303/5.575, allocations: 1.53 MB / 2.162 GB, free: 60.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004595/5.576, allocations: 114 kB / 2.162 GB, free: 60.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/5.587, allocations: 9.138 MB / 2.171 GB, free: 56.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/5.587, allocations: 0 / 2.171 GB, free: 56.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/5.6, allocations: 6.976 MB / 2.178 GB, free: 54.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008975/5.601, allocations: 214.8 kB / 2.178 GB, free: 53.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007405/5.602, allocations: 97.27 kB / 2.178 GB, free: 53.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00394/5.606, allocations: 334.6 kB / 2.178 GB, free: 53.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00082/5.606, allocations: 192.1 kB / 2.178 GB, free: 53.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008024/5.607, allocations: 138 kB / 2.179 GB, free: 53.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001234/5.609, allocations: 0.4897 MB / 2.179 GB, free: 53.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/5.609, allocations: 0 / 2.179 GB, free: 53.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007796/5.616, allocations: 1.518 MB / 2.18 GB, free: 53.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (Mbal,hex.Ttilde[1],hex.Ttilde[2],hex.Ttilde[3],hex.Ttilde[4],hex.Ttilde[5],hex.Ttilde[6],hex.Ttilde[7],hex.Ttilde[8],hex.Ttilde[9],hex.Xtilde[1,1],hex.Xtilde[1,2],hex.p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003853/5.62, allocations: 1.214 MB / 2.182 GB, free: 53.24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01305/5.633, allocations: 6.232 MB / 2.188 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.492e-05/5.633, allocations: 9.125 kB / 2.188 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004477/5.638, allocations: 2.418 MB / 2.19 GB, free: 49.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004912/5.643, allocations: 0.7847 MB / 2.191 GB, free: 48.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/5.655, allocations: 5.285 MB / 2.196 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002277/5.657, allocations: 1.852 MB / 2.198 GB, free: 43.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005167/5.662, allocations: 1.047 MB / 2.199 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009529/5.663, allocations: 161.1 kB / 2.199 GB, free: 42.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.094e-06/5.663, allocations: 0 / 2.199 GB, free: 42.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.4887/6.152, allocations: 87.46 MB / 2.284 GB, free: 110.2 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe 2>&1)