Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.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_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_A",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.001549/0.001548, allocations: 175.5 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.971/1.971, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009903/0.0009903, allocations: 86.64 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.3645/0.3645, allocations: 48.78 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.806e-05, allocations: 0 / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1861, allocations: 60.25 MB / 492.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.664/1.85, allocations: 457.1 MB / 0.9277 GB, free: 151 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/1.85, allocations: 81.91 kB / 0.9278 GB, free: 151 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9297/2.78, allocations: 228 MB / 1.15 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.194e-06/2.78, allocations: 2.469 kB / 1.15 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001851/2.78, allocations: 49.3 kB / 1.15 GB, free: 107.3 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: 535 * Number of variables: 535 Notification: Performance of Generate backend data structure: time 0.008137/2.788, allocations: 2.108 MB / 1.153 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/2.788, allocations: 11.41 kB / 1.153 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001567/2.79, allocations: 298.6 kB / 1.153 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004448/2.794, allocations: 477.3 kB / 1.153 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004366/2.799, allocations: 1.177 MB / 1.154 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/2.799, allocations: 154.5 kB / 1.155 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/2.8, allocations: 224.4 kB / 1.155 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/2.811, allocations: 3.169 MB / 1.158 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/2.811, allocations: 8.219 kB / 1.158 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001245/2.812, allocations: 89.34 kB / 1.158 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002154/2.812, allocations: 114.9 kB / 1.158 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007876/2.82, allocations: 3.271 MB / 1.161 GB, free: 105.8 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.02053/2.841, allocations: 11.09 MB / 1.172 GB, free: 99.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004851/2.846, allocations: 2.539 MB / 1.175 GB, free: 99.67 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/2.848, allocations: 1.194 MB / 1.176 GB, free: 99.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003882/2.848, allocations: 118 kB / 1.176 GB, free: 99.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.106e-05/2.848, allocations: 65.53 kB / 1.176 GB, free: 99.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=203): time 5.801e-06/2.848, allocations: 0 / 1.176 GB, free: 99.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.01664/2.865, allocations: 6.205 MB / 1.182 GB, free: 98.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/2.865, allocations: 98.73 kB / 1.182 GB, free: 98.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/2.866, allocations: 0.7298 MB / 1.183 GB, free: 98.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002896/2.867, allocations: 65.27 kB / 1.183 GB, free: 98.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006291/2.867, allocations: 0.7589 MB / 1.184 GB, free: 97.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007661/2.868, allocations: 0.716 MB / 1.184 GB, free: 97.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/2.868, allocations: 43.91 kB / 1.184 GB, free: 97.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003443/2.869, allocations: 450.7 kB / 1.185 GB, free: 97.19 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/2.87, allocations: 0.9982 MB / 1.186 GB, free: 96.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/2.873, allocations: 1.589 MB / 1.187 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/2.875, allocations: 1.286 MB / 1.189 GB, free: 95.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.782e-05/2.875, allocations: 8.219 kB / 1.189 GB, free: 95.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.006522/2.882, allocations: 3.593 MB / 1.192 GB, free: 94.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002159/2.884, allocations: 6.285 MB / 1.198 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.88e-05/2.884, allocations: 13.75 kB / 1.198 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02021/2.904, allocations: 2.994 MB / 1.201 GB, free: 87.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/2.906, allocations: 485.3 kB / 1.202 GB, free: 87.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007823/2.914, allocations: 5.031 MB / 1.207 GB, free: 83.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/2.917, allocations: 251.6 kB / 1.207 GB, free: 83.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006724/2.918, allocations: 163.3 kB / 1.207 GB, free: 83.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/2.918, allocations: 5.938 kB / 1.207 GB, free: 83.91 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007299/2.925, allocations: 3.427 MB / 1.21 GB, free: 82.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.152e-05/2.926, allocations: 18.75 kB / 1.21 GB, free: 82.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02017/2.946, allocations: 2.991 MB / 1.213 GB, free: 82.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002476/2.948, allocations: 482.7 kB / 1.214 GB, free: 81.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009494/2.958, allocations: 5.032 MB / 1.219 GB, free: 76.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/2.962, allocations: 244.1 kB / 1.219 GB, free: 76.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007954/2.962, allocations: 160 kB / 1.219 GB, free: 76.28 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (183): * Single equations (assignments): 179 * 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 {10 98} Notification: Performance of prepare postOptimizeDAE: time 0.00125/2.964, allocations: 232.5 kB / 1.219 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007816/2.964, allocations: 142.4 kB / 1.219 GB, free: 75.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009128/2.974, allocations: 3.767 MB / 1.223 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/2.974, allocations: 23.95 kB / 1.223 GB, free: 72.19 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-05/2.974, allocations: 4 kB / 1.223 GB, free: 72.19 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.841e-05/2.974, allocations: 11.95 kB / 1.223 GB, free: 72.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/2.986, allocations: 5.454 MB / 1.228 GB, free: 66.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/2.986, allocations: 11.88 kB / 1.228 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/2.988, allocations: 463.4 kB / 1.229 GB, free: 66.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003683/2.992, allocations: 1.126 MB / 1.23 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003058/2.992, allocations: 83.94 kB / 1.23 GB, free: 65.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/3.003, allocations: 8.008 MB / 1.238 GB, free: 56.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/3.003, allocations: 0 / 1.238 GB, free: 56.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/3.013, allocations: 4.648 MB / 1.242 GB, free: 52.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009238/3.014, allocations: 203.4 kB / 1.243 GB, free: 52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008179/3.015, allocations: 47.98 kB / 1.243 GB, free: 51.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002872/3.018, allocations: 165.5 kB / 1.243 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007543/3.018, allocations: 164.6 kB / 1.243 GB, free: 51.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000588/3.019, allocations: 147.9 kB / 1.243 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001442/3.02, allocations: 0.5499 MB / 1.244 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.11e-07/3.02, allocations: 0 / 1.244 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006597/3.027, allocations: 1.172 MB / 1.245 GB, free: 49.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (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.p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 176 * 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.01294/3.04, allocations: 6.264 MB / 1.251 GB, free: 43.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01023/3.05, allocations: 4.588 MB / 1.255 GB, free: 39.17 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.705e-05/3.05, allocations: 4.781 kB / 1.255 GB, free: 39.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003658/3.054, allocations: 1.755 MB / 1.257 GB, free: 37.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004879/3.059, allocations: 0.6063 MB / 1.258 GB, free: 36.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/3.074, allocations: 4.334 MB / 1.262 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/3.076, allocations: 1.574 MB / 1.263 GB, free: 30.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004885/3.081, allocations: 1.168 MB / 1.265 GB, free: 29.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/3.082, allocations: 0.7609 MB / 1.265 GB, free: 29 MB / 0.5105 GB Notification: Performance of SimCode: time 2.514e-06/3.082, allocations: 0 / 1.265 GB, free: 29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5367/3.619, allocations: 82.44 MB / 1.346 GB, free: 96 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/3.619, allocations: 199.1 kB / 1.346 GB, free: 95.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.076/8.696, allocations: 0 / 1.346 GB, free: 95.77 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_A_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_A.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe 2>&1)