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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_B",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00177/0.001769, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.004/2.004, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001116/0.001116, allocations: 92.14 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6113/0.6113, allocations: 48.78 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003893, allocations: 12 kB / 438.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1739, allocations: 60.24 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.397/3.571, allocations: 1.078 GB / 1.565 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000445/3.572, allocations: 86.89 kB / 1.566 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.952/5.524, allocations: 491.6 MB / 2.046 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/5.524, allocations: 0 / 2.046 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003309/5.524, allocations: 63.92 kB / 2.046 GB, free: 46.98 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.0125/5.537, allocations: 2.726 MB / 2.048 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/5.537, allocations: 8.031 kB / 2.048 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002638/5.54, allocations: 391.3 kB / 2.049 GB, free: 43.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009336/5.549, allocations: 1.34 MB / 2.05 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006576/5.556, allocations: 1.579 MB / 2.052 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002709/5.556, allocations: 193.1 kB / 2.052 GB, free: 40.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002082/5.558, allocations: 279.7 kB / 2.052 GB, free: 40.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01426/5.572, allocations: 4.646 MB / 2.057 GB, free: 35.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/5.572, allocations: 3.938 kB / 2.057 GB, free: 35.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001695/5.574, allocations: 120 kB / 2.057 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001684/5.574, allocations: 133.3 kB / 2.057 GB, free: 35.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/5.586, allocations: 5.38 MB / 2.062 GB, free: 30 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03019/5.616, allocations: 15.09 MB / 2.077 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.444/6.06, allocations: 11.9 MB / 2.088 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/6.062, allocations: 140.9 kB / 2.089 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/6.062, allocations: 75.16 kB / 2.089 GB, free: 66.24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=261): time 1.56e-05/6.062, allocations: 0 / 2.089 GB, free: 66.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=266): time 0.03904/6.101, allocations: 12.3 MB / 2.101 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/6.101, allocations: 109.2 kB / 2.101 GB, free: 65.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009943/6.102, allocations: 0.6209 MB / 2.101 GB, free: 64.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007961/6.103, allocations: 79.77 kB / 2.101 GB, free: 64.87 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/6.103, allocations: 0.7684 MB / 2.102 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001176/6.105, allocations: 0.9183 MB / 2.103 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/6.105, allocations: 48.06 kB / 2.103 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000149/6.105, allocations: 402.2 kB / 2.104 GB, free: 63.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002607/6.108, allocations: 1.597 MB / 2.105 GB, free: 63.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002549/6.11, allocations: 1.85 MB / 2.107 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/6.113, allocations: 1.829 MB / 2.109 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/6.113, allocations: 0 / 2.109 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.0104/6.123, allocations: 5.711 MB / 2.114 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003181/6.124, allocations: 0.972 MB / 2.115 GB, free: 62.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/6.124, allocations: 2.625 kB / 2.115 GB, free: 62.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07545/6.199, allocations: 11.68 MB / 2.127 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/6.201, allocations: 300.9 kB / 2.127 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/6.212, allocations: 7.191 MB / 2.134 GB, free: 59.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00362/6.216, allocations: 421.5 kB / 2.134 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003566/6.216, allocations: 94.17 kB / 2.134 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/6.216, allocations: 5.562 kB / 2.134 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01146/6.227, allocations: 5.051 MB / 2.139 GB, free: 59.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/6.227, allocations: 6.656 kB / 2.139 GB, free: 59.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05119/6.279, allocations: 7.089 MB / 2.146 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/6.281, allocations: 366.3 kB / 2.147 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009181/6.29, allocations: 6.732 MB / 2.153 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/6.294, allocations: 407.7 kB / 2.154 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003323/6.294, allocations: 90.17 kB / 2.154 GB, free: 57.48 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 () * Number of clocked 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.003156/6.298, allocations: 0.7977 MB / 2.154 GB, free: 57.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006759/6.298, allocations: 160.9 kB / 2.155 GB, free: 57.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/6.309, allocations: 5.383 MB / 2.16 GB, free: 57.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.742e-05/6.309, allocations: 25.88 kB / 2.16 GB, free: 57.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/6.309, allocations: 6.5 kB / 2.16 GB, free: 57.01 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.349e-05/6.309, allocations: 18.86 kB / 2.16 GB, free: 57.01 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0185/6.327, allocations: 9.617 MB / 2.169 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/6.327, allocations: 2.031 kB / 2.169 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002366/6.33, allocations: 0.489 MB / 2.17 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004295/6.334, allocations: 1.529 MB / 2.171 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004214/6.335, allocations: 115.7 kB / 2.171 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/6.346, allocations: 9.426 MB / 2.181 GB, free: 50.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/6.346, allocations: 6.766 kB / 2.181 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/6.359, allocations: 7.166 MB / 2.188 GB, free: 48.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/6.36, allocations: 214.5 kB / 2.188 GB, free: 47.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004081/6.36, allocations: 95.08 kB / 2.188 GB, free: 47.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002641/6.363, allocations: 338.4 kB / 2.188 GB, free: 47.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005608/6.364, allocations: 186 kB / 2.188 GB, free: 47.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003327/6.364, allocations: 146.2 kB / 2.189 GB, free: 47.74 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007965/6.365, allocations: 0.4934 MB / 2.189 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/6.365, allocations: 3 kB / 2.189 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004644/6.369, allocations: 1.513 MB / 2.191 GB, free: 47.38 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 () * Number of clocked 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.01473/6.384, allocations: 9.295 MB / 2.2 GB, free: 43.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01227/6.396, allocations: 6.4 MB / 2.206 GB, free: 41.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.259e-05/6.397, allocations: 5.375 kB / 2.206 GB, free: 41.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004636/6.401, allocations: 2.504 MB / 2.208 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004368/6.406, allocations: 0.7789 MB / 2.209 GB, free: 39.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03546/6.441, allocations: 19.73 MB / 2.228 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/6.443, allocations: 1.858 MB / 2.23 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004611/6.447, allocations: 0.9499 MB / 2.231 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/6.449, allocations: 0.8509 MB / 2.232 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of SimCode: time 2.044e-06/6.449, allocations: 1.031 kB / 2.232 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5636/7.013, allocations: 102.8 MB / 2.332 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002617/7.013, allocations: 219.2 kB / 2.332 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.338/12.35, allocations: 7.188 kB / 2.332 GB, free: 102.4 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_B_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_B.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe 2>&1)