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.001165/0.001165, allocations: 175.2 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.932/1.932, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0009149/0.0009146, allocations: 90.66 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3735/0.3735, allocations: 48.77 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.07e-05, allocations: 4 kB / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1608, allocations: 60.25 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.369/3.53, allocations: 1.078 GB / 1.559 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004331/3.53, allocations: 79.16 kB / 1.56 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.786/5.316, allocations: 491.3 MB / 2.039 GB, free: 37.89 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.693e-06/5.317, allocations: 4 kB / 2.039 GB, free: 37.89 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001086/5.317, allocations: 59.92 kB / 2.039 GB, free: 37.83 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.006954/5.324, allocations: 2.594 MB / 2.042 GB, free: 35.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/5.324, allocations: 8.031 kB / 2.042 GB, free: 35.17 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000586/5.324, allocations: 387.3 kB / 2.042 GB, free: 34.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007466/5.332, allocations: 1.324 MB / 2.044 GB, free: 33.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004365/5.336, allocations: 1.575 MB / 2.045 GB, free: 31.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/5.336, allocations: 189.1 kB / 2.045 GB, free: 31.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000965/5.337, allocations: 283.7 kB / 2.046 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007433/5.345, allocations: 4.549 MB / 2.05 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.61e-05/5.345, allocations: 4 kB / 2.05 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004688/5.345, allocations: 112 kB / 2.05 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/5.345, allocations: 141.3 kB / 2.05 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007319/5.353, allocations: 5.217 MB / 2.055 GB, free: 21.27 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.02321/5.376, allocations: 15.09 MB / 2.07 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.427/5.803, allocations: 11.81 MB / 2.082 GB, free: 70.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003862/5.807, allocations: 1.904 MB / 2.083 GB, free: 70.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003852/5.807, allocations: 135.6 kB / 2.084 GB, free: 70.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.788e-05/5.808, allocations: 73.95 kB / 2.084 GB, free: 70.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=261): time 4.258e-06/5.808, allocations: 3.656 kB / 2.084 GB, free: 70.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=266): time 0.02196/5.829, allocations: 9.53 MB / 2.093 GB, free: 69.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/5.83, allocations: 105.1 kB / 2.093 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/5.831, allocations: 0.6127 MB / 2.094 GB, free: 69.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006213/5.831, allocations: 83.33 kB / 2.094 GB, free: 69.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005754/5.832, allocations: 0.7638 MB / 2.094 GB, free: 69.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/5.833, allocations: 0.9161 MB / 2.095 GB, free: 68.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/5.833, allocations: 47.94 kB / 2.095 GB, free: 68.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001673/5.833, allocations: 402.5 kB / 2.096 GB, free: 68.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002494/5.836, allocations: 1.536 MB / 2.097 GB, free: 68.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002746/5.839, allocations: 1.791 MB / 2.099 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/5.842, allocations: 1.777 MB / 2.101 GB, free: 68.06 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/5.842, allocations: 0 / 2.101 GB, free: 68.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01061/5.852, allocations: 5.581 MB / 2.106 GB, free: 67.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002428/5.853, allocations: 0.9638 MB / 2.107 GB, free: 66.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/5.853, allocations: 7.75 kB / 2.107 GB, free: 66.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07771/5.93, allocations: 11.66 MB / 2.119 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/5.932, allocations: 307.2 kB / 2.119 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009155/5.941, allocations: 7.153 MB / 2.126 GB, free: 64.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003361/5.945, allocations: 426.8 kB / 2.126 GB, free: 64.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000315/5.945, allocations: 95.77 kB / 2.126 GB, free: 64.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/5.945, allocations: 3.938 kB / 2.126 GB, free: 64.44 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008123/5.953, allocations: 4.922 MB / 2.131 GB, free: 64.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/5.953, allocations: 4.5 kB / 2.131 GB, free: 64.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05066/6.004, allocations: 7.071 MB / 2.138 GB, free: 64.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/6.006, allocations: 361.4 kB / 2.138 GB, free: 64.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009002/6.015, allocations: 6.701 MB / 2.145 GB, free: 61.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003212/6.018, allocations: 406.2 kB / 2.145 GB, free: 61.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/6.019, allocations: 89.38 kB / 2.145 GB, free: 61.95 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.001031/6.02, allocations: 222 kB / 2.146 GB, free: 61.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005255/6.02, allocations: 163.2 kB / 2.146 GB, free: 61.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/6.03, allocations: 5.255 MB / 2.151 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/6.03, allocations: 26.84 kB / 2.151 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/6.03, allocations: 7.062 kB / 2.151 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.87e-05/6.03, allocations: 11.58 kB / 2.151 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0186/6.049, allocations: 9.497 MB / 2.16 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/6.049, allocations: 7.344 kB / 2.16 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002615/6.052, allocations: 497 kB / 2.161 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0049/6.057, allocations: 1.527 MB / 2.162 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006709/6.057, allocations: 120.4 kB / 2.162 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/6.07, allocations: 9.122 MB / 2.171 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/6.07, allocations: 7.828 kB / 2.171 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/6.082, allocations: 6.982 MB / 2.178 GB, free: 53.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/6.083, allocations: 217.3 kB / 2.178 GB, free: 53.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003371/6.084, allocations: 89.77 kB / 2.178 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/6.087, allocations: 336.5 kB / 2.179 GB, free: 53.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006683/6.087, allocations: 195.1 kB / 2.179 GB, free: 53.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004104/6.088, allocations: 141.5 kB / 2.179 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009166/6.089, allocations: 497.8 kB / 2.179 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.71e-07/6.089, allocations: 0 / 2.179 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00632/6.095, allocations: 1.518 MB / 2.181 GB, free: 52.9 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.01535/6.111, allocations: 9.13 MB / 2.19 GB, free: 49.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0122/6.123, allocations: 6.228 MB / 2.196 GB, free: 44.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.908e-05/6.123, allocations: 8.031 kB / 2.196 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004115/6.127, allocations: 2.424 MB / 2.198 GB, free: 41.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004336/6.131, allocations: 0.7775 MB / 2.199 GB, free: 41.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/6.144, allocations: 5.97 MB / 2.205 GB, free: 36.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/6.145, allocations: 1.857 MB / 2.207 GB, free: 35.31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003821/6.149, allocations: 1.05 MB / 2.208 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/6.15, allocations: 0.8407 MB / 2.209 GB, free: 33.92 MB / 0.5105 GB Notification: Performance of SimCode: time 1.193e-06/6.15, allocations: 0 / 2.209 GB, free: 33.92 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6113/6.762, allocations: 107.3 MB / 2.313 GB, free: 109 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/6.762, allocations: 191.2 kB / 2.314 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.397/12.16, allocations: 0.5625 kB / 2.314 GB, free: 108.8 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)