Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.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_C,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_C",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_C",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.001533/0.001533, 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 1.871/1.871, 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.001094/0.001094, allocations: 96.73 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5423/0.5423, allocations: 48.79 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1625, allocations: 60.24 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.329/3.492, allocations: 1.078 GB / 1.566 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/3.492, allocations: 83.53 kB / 1.566 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.81/5.302, allocations: 499.1 MB / 2.053 GB, free: 38.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.527e-06/5.302, allocations: 3.938 kB / 2.053 GB, free: 38.53 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001675/5.303, allocations: 59.98 kB / 2.053 GB, free: 38.47 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: 696 * Number of variables: 696 Notification: Performance of Generate backend data structure: time 0.0129/5.315, allocations: 2.869 MB / 2.056 GB, free: 35.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/5.316, allocations: 8.031 kB / 2.056 GB, free: 35.54 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001845/5.317, allocations: 407.7 kB / 2.056 GB, free: 35.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008524/5.326, allocations: 1.288 MB / 2.058 GB, free: 33.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006262/5.332, allocations: 1.735 MB / 2.059 GB, free: 32.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/5.333, allocations: 201.2 kB / 2.059 GB, free: 31.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001722/5.334, allocations: 311.6 kB / 2.06 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/5.346, allocations: 4.801 MB / 2.064 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.582e-05/5.346, allocations: 0 / 2.064 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007339/5.347, allocations: 116 kB / 2.065 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001411/5.347, allocations: 141.4 kB / 2.065 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008975/5.356, allocations: 5.322 MB / 2.07 GB, free: 21.09 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.02961/5.386, allocations: 16.15 MB / 2.086 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006456/5.392, allocations: 4.654 MB / 2.09 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006798/5.393, allocations: 147.6 kB / 2.09 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/5.393, allocations: 73.31 kB / 2.09 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=277): time 1.155e-05/5.393, allocations: 3.938 kB / 2.09 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=282): time 0.03432/5.427, allocations: 13.15 MB / 2.103 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/5.427, allocations: 103.3 kB / 2.103 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/5.429, allocations: 0.6285 MB / 2.104 GB, free: 164 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008054/5.43, allocations: 89.7 kB / 2.104 GB, free: 68 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.4031/5.833, allocations: 0.7605 MB / 2.105 GB, free: 81.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001972/5.835, allocations: 0.9938 MB / 2.106 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/5.835, allocations: 48.66 kB / 2.106 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002256/5.835, allocations: 413.5 kB / 2.106 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003424/5.839, allocations: 1.776 MB / 2.108 GB, free: 80.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003947/5.843, allocations: 2.045 MB / 2.11 GB, free: 80.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004009/5.847, allocations: 2.032 MB / 2.112 GB, free: 80.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/5.847, allocations: 0 / 2.112 GB, free: 80.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.01158/5.858, allocations: 6.083 MB / 2.118 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003365/5.859, allocations: 0.9776 MB / 2.119 GB, free: 78.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/5.859, allocations: 0.7031 kB / 2.119 GB, free: 78.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08453/5.943, allocations: 15.06 MB / 2.133 GB, free: 78.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/5.945, allocations: 338.4 kB / 2.134 GB, free: 78.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01811/5.963, allocations: 8.863 MB / 2.142 GB, free: 76.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004603/5.968, allocations: 467.6 kB / 2.143 GB, free: 76.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006348/5.969, allocations: 102.7 kB / 2.143 GB, free: 76.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/5.969, allocations: 4.562 kB / 2.143 GB, free: 76.32 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01169/5.98, allocations: 5.425 MB / 2.148 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/5.98, allocations: 3.25 kB / 2.148 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05534/6.036, allocations: 7.192 MB / 2.155 GB, free: 76.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003409/6.039, allocations: 0.5732 MB / 2.156 GB, free: 76.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009274/6.048, allocations: 6.766 MB / 2.162 GB, free: 73.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003539/6.052, allocations: 423.3 kB / 2.163 GB, free: 73.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/6.052, allocations: 97.16 kB / 2.163 GB, free: 73.82 MB / 0.5261 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 (151): * Single equations (assignments): 147 * 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 {77 98} Notification: Performance of prepare postOptimizeDAE: time 0.002608/6.055, allocations: 0.8323 MB / 2.164 GB, free: 73.63 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006255/6.056, allocations: 173.4 kB / 2.164 GB, free: 73.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/6.067, allocations: 5.73 MB / 2.17 GB, free: 73.35 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/6.067, allocations: 30.5 kB / 2.17 GB, free: 73.35 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.333e-05/6.068, allocations: 3.594 kB / 2.17 GB, free: 73.35 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.352e-05/6.068, allocations: 12.28 kB / 2.17 GB, free: 73.35 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02135/6.089, allocations: 9.575 MB / 2.179 GB, free: 72.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/6.089, allocations: 6.656 kB / 2.179 GB, free: 72.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002974/6.092, allocations: 0.5532 MB / 2.18 GB, free: 72.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004728/6.097, allocations: 1.52 MB / 2.181 GB, free: 72.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006184/6.097, allocations: 130.1 kB / 2.181 GB, free: 72.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/6.11, allocations: 9.422 MB / 2.19 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/6.11, allocations: 0 / 2.19 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01792/6.128, allocations: 7.612 MB / 2.198 GB, free: 68.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/6.129, allocations: 227.1 kB / 2.198 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009277/6.13, allocations: 106.9 kB / 2.198 GB, free: 68.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003797/6.133, allocations: 360.6 kB / 2.198 GB, free: 68.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007703/6.134, allocations: 192.2 kB / 2.199 GB, free: 68.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007169/6.135, allocations: 146.6 kB / 2.199 GB, free: 68.26 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000869/6.136, allocations: 0.492 MB / 2.199 GB, free: 68.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.6e-07/6.136, allocations: 0 / 2.199 GB, free: 68.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006701/6.143, allocations: 1.601 MB / 2.201 GB, free: 67.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 29 (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.Xtilde[2,1],hex.Xtilde[2,2],hex.Xtilde[3,1],hex.Xtilde[3,2],hex.Xtilde[4,1],hex.Xtilde[4,2],hex.Xtilde[5,1],hex.Xtilde[5,2],hex.Xtilde[6,1],hex.Xtilde[6,2],hex.Xtilde[7,1],hex.Xtilde[7,2],hex.Xtilde[8,1],hex.Xtilde[8,2],hex.Xtilde[9,1],hex.Xtilde[9,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 (261): * Single equations (assignments): 257 * 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.0159/6.159, allocations: 9.759 MB / 2.21 GB, free: 63.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0192/6.178, allocations: 8.514 MB / 2.219 GB, free: 61.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-05/6.178, allocations: 12.22 kB / 2.219 GB, free: 61.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004625/6.182, allocations: 2.665 MB / 2.221 GB, free: 60.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004445/6.187, allocations: 0.8374 MB / 2.222 GB, free: 60.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0363/6.223, allocations: 22.97 MB / 2.244 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/6.225, allocations: 1.909 MB / 2.246 GB, free: 41.87 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004184/6.229, allocations: 1.116 MB / 2.247 GB, free: 41.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/6.231, allocations: 0.8784 MB / 2.248 GB, free: 40.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.293e-06/6.231, allocations: 0 / 2.248 GB, free: 40.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5846/6.815, allocations: 106.8 MB / 2.353 GB, free: 89.63 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/6.815, allocations: 223.2 kB / 2.353 GB, free: 89.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.682/12.5, allocations: 1.031 kB / 2.353 GB, free: 89.39 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_C_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_C.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.pipe 2>&1)