Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.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.TestFlow1D2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB",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.001473/0.001473, 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.46/1.46, 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.0008206/0.0008206, allocations: 82.77 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.2484/0.2484, allocations: 48.79 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 2.768e-05/2.772e-05, allocations: 4 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 60.24 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.418/7.528, allocations: 2.972 GB / 3.453 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/7.528, allocations: 80.73 kB / 3.453 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.091/8.62, allocations: 319.5 MB / 3.765 GB, free: 43.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.284e-06/8.62, allocations: 4 kB / 3.765 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.073e-05/8.62, allocations: 38.19 kB / 3.765 GB, free: 43.06 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: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.03086/8.651, allocations: 6.666 MB / 3.772 GB, free: 36.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.115e-05/8.651, allocations: 12.03 kB / 3.772 GB, free: 36.49 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003934/8.655, allocations: 295.5 kB / 3.772 GB, free: 36.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007183/8.662, allocations: 0.7165 MB / 3.773 GB, free: 35.67 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/8.673, allocations: 2.83 MB / 3.776 GB, free: 33.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003242/8.676, allocations: 0.8561 MB / 3.777 GB, free: 32.46 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003473/8.679, allocations: 198.6 kB / 3.777 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02671/8.706, allocations: 8.366 MB / 3.785 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000154/8.706, allocations: 4.5 kB / 3.785 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003542/8.71, allocations: 73.62 kB / 3.785 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.182e-05/8.71, allocations: 44 kB / 3.785 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03628/8.746, allocations: 13.08 MB / 3.798 GB, free: 16.14 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.4558/9.202, allocations: 30.23 MB / 3.827 GB, free: 52.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02219/9.224, allocations: 7.302 MB / 3.834 GB, free: 52.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01005/9.235, allocations: 4.594 MB / 3.839 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3047/9.539, allocations: 124.5 MB / 3.961 GB, free: 25.89 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.84e-05/9.539, allocations: 62.5 kB / 3.961 GB, free: 25.85 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=247): time 9.278e-06/9.539, allocations: 0 / 3.961 GB, free: 25.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=248): time 0.07488/9.614, allocations: 19.05 MB / 3.979 GB, free: 22.97 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/9.615, allocations: 106.1 kB / 3.979 GB, free: 22.88 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/9.616, allocations: 493.8 kB / 3.98 GB, free: 22.65 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.003061/9.619, allocations: 73.58 kB / 3.98 GB, free: 22.58 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000458/9.619, allocations: 486.2 kB / 3.98 GB, free: 22.26 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003587/9.623, allocations: 0.8474 MB / 3.981 GB, free: 21.71 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00269/9.626, allocations: 47.84 kB / 3.981 GB, free: 21.68 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0005248/9.626, allocations: 439.4 kB / 3.982 GB, free: 21.31 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009116/9.635, allocations: 4.683 MB / 3.986 GB, free: 19.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009349/9.645, allocations: 4.963 MB / 3.991 GB, free: 16.33 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008372/9.653, allocations: 3.661 MB / 3.995 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/9.653, allocations: 0 / 3.995 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.04793/9.701, allocations: 14.39 MB / 4.009 GB, free: 0.6523 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.431/10.13, allocations: 1.491 MB / 4.01 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-05/10.13, allocations: 3.25 kB / 4.01 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1302/10.26, allocations: 43.15 MB / 4.052 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/10.26, allocations: 188 kB / 4.052 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04308/10.31, allocations: 15.23 MB / 4.067 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01297/10.32, allocations: 2.159 MB / 4.069 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003554/10.32, allocations: 301.3 kB / 4.07 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/10.32, allocations: 8.375 kB / 4.07 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08207/10.41, allocations: 22.72 MB / 4.092 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.914e-05/10.41, allocations: 3 kB / 4.092 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1244/10.53, allocations: 42.69 MB / 4.134 GB, free: 89.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/10.53, allocations: 211.8 kB / 4.134 GB, free: 89.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03977/10.57, allocations: 14.79 MB / 4.148 GB, free: 77.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01293/10.58, allocations: 2.164 MB / 4.15 GB, free: 75.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003066/10.59, allocations: 290.3 kB / 4.151 GB, free: 75.74 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 10 (hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 196} Notification: Performance of prepare postOptimizeDAE: time 0.004921/10.59, allocations: 219.3 kB / 4.151 GB, free: 75.53 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002601/10.59, allocations: 134.1 kB / 4.151 GB, free: 75.46 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03735/10.63, allocations: 25.58 MB / 4.176 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03526/10.67, allocations: 23.96 MB / 4.199 GB, free: 32.58 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.944e-05/10.67, allocations: 8 kB / 4.199 GB, free: 32.57 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.521e-05/10.67, allocations: 11.11 kB / 4.199 GB, free: 32.57 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4632/11.13, allocations: 42.67 MB / 4.241 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-05/11.13, allocations: 7.594 kB / 4.241 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01399/11.14, allocations: 2.672 MB / 4.244 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007017/11.15, allocations: 1.649 MB / 4.245 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00237/11.15, allocations: 198.7 kB / 4.245 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01902/11.17, allocations: 27.3 MB / 4.272 GB, free: 76.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/11.17, allocations: 12.55 kB / 4.272 GB, free: 76.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0278/11.2, allocations: 15.81 MB / 4.288 GB, free: 70.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004173/11.21, allocations: 1.28 MB / 4.289 GB, free: 69.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009773/11.21, allocations: 61.52 kB / 4.289 GB, free: 69.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01006/11.22, allocations: 2.14 MB / 4.291 GB, free: 69.42 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001241/11.22, allocations: 344.7 kB / 4.291 GB, free: 69.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007565/11.22, allocations: 202.5 kB / 4.291 GB, free: 69.36 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004904/11.22, allocations: 386.5 kB / 4.292 GB, free: 69.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.212e-06/11.22, allocations: 0 / 4.292 GB, free: 69.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01247/11.23, allocations: 2.832 MB / 4.295 GB, free: 69.04 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 16 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],Tube.T[1],Tube.T[2],Tube.T[3],Tube.T[4],Tube.T[5],Tube.T[6],Tube.T[7],Tube.T[8]) * Number of discrete variables: 22 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 17 {(8,67.2%) 14,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0343/11.27, allocations: 18.82 MB / 4.313 GB, free: 60.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03812/11.3, allocations: 17.4 MB / 4.33 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/11.3, allocations: 3.844 kB / 4.33 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01477/11.32, allocations: 7.863 MB / 4.338 GB, free: 49.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004887/11.32, allocations: 0.505 MB / 4.338 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02695/11.35, allocations: 9.53 MB / 4.347 GB, free: 46.42 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/11.35, allocations: 1.686 MB / 4.349 GB, free: 45.61 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008011/11.36, allocations: 2.428 MB / 4.351 GB, free: 45.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005328/11.37, allocations: 0.9812 MB / 4.352 GB, free: 44.98 MB / 0.5573 GB Notification: Performance of SimCode: time 1.653e-06/11.37, allocations: 1.312 kB / 4.352 GB, free: 44.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.062/12.43, allocations: 276.9 MB / 4.623 GB, free: 99.26 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/12.43, allocations: 197.2 kB / 4.623 GB, free: 99.04 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.562/21.99, allocations: 0 / 4.623 GB, free: 99.04 MB / 0.573 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe 2>&1)