Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.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.TestFlow1D2phChen,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen",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.001183/0.001183, allocations: 175.6 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.547/1.547, allocations: 205.2 MB / 219.4 MB, free: 14.26 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.001063/0.001062, allocations: 86.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.2955/0.2955, allocations: 48.78 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.74e-05, allocations: 0 / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1214, allocations: 60.25 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.728/7.849, allocations: 3.017 GB / 3.499 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/7.85, allocations: 82.45 kB / 3.499 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.458/9.308, allocations: 327.7 MB / 3.819 GB, free: 53.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.814e-06/9.308, allocations: 0 / 3.819 GB, free: 53.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.895e-05/9.308, allocations: 39.59 kB / 3.819 GB, free: 53.64 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.03526/9.343, allocations: 6.652 MB / 3.825 GB, free: 52.76 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/9.343, allocations: 9.906 kB / 3.825 GB, free: 52.76 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003382/9.347, allocations: 295.8 kB / 3.826 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/9.362, allocations: 2.219 MB / 3.828 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/9.375, allocations: 3.049 MB / 3.831 GB, free: 52.31 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0031/9.378, allocations: 0.8616 MB / 3.832 GB, free: 52.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003003/9.381, allocations: 201.9 kB / 3.832 GB, free: 52.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02941/9.41, allocations: 9.362 MB / 3.841 GB, free: 51.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/9.411, allocations: 3.094 kB / 3.841 GB, free: 51.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00301/9.414, allocations: 79.03 kB / 3.841 GB, free: 51.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.576e-05/9.414, allocations: 44.66 kB / 3.841 GB, free: 51.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03885/9.452, allocations: 15.85 MB / 3.857 GB, free: 51.77 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.07613/9.529, allocations: 47.55 MB / 3.903 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01925/9.548, allocations: 7.953 MB / 3.911 GB, free: 19.85 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00924/9.557, allocations: 5.315 MB / 3.916 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5991/10.16, allocations: 120.1 MB / 4.033 GB, free: 86.41 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.991e-05/10.16, allocations: 58.12 kB / 4.033 GB, free: 86.37 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=225): time 3.777e-06/10.16, allocations: 0 / 4.033 GB, free: 86.37 MB / 0.5573 GB Notification: Performance of matching and sorting (n=226): time 0.05934/10.22, allocations: 21.77 MB / 4.055 GB, free: 85.71 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/10.22, allocations: 102.5 kB / 4.055 GB, free: 85.62 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009228/10.22, allocations: 0.5779 MB / 4.055 GB, free: 85.49 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002184/10.22, allocations: 67.05 kB / 4.055 GB, free: 85.46 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/10.22, allocations: 0.5482 MB / 4.056 GB, free: 85.21 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002024/10.22, allocations: 0.7888 MB / 4.057 GB, free: 84.77 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006424/10.22, allocations: 42.75 kB / 4.057 GB, free: 84.77 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001967/10.22, allocations: 442.1 kB / 4.057 GB, free: 84.45 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007517/10.23, allocations: 5.387 MB / 4.062 GB, free: 84.45 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008771/10.24, allocations: 5.844 MB / 4.068 GB, free: 83.98 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007808/10.25, allocations: 4.388 MB / 4.072 GB, free: 83.49 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/10.25, allocations: 7.75 kB / 4.072 GB, free: 83.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.03704/10.28, allocations: 16.82 MB / 4.089 GB, free: 76.71 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001139/10.28, allocations: 4.104 MB / 4.093 GB, free: 72.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-05/10.28, allocations: 7.719 kB / 4.093 GB, free: 72.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2127/10.5, allocations: 65.78 MB / 4.157 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/10.5, allocations: 226.3 kB / 4.157 GB, free: 61.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04542/10.54, allocations: 17.57 MB / 4.174 GB, free: 46.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01392/10.56, allocations: 2.164 MB / 4.176 GB, free: 44.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003558/10.56, allocations: 357.3 kB / 4.177 GB, free: 44.42 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/10.56, allocations: 4 kB / 4.177 GB, free: 44.41 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04849/10.61, allocations: 16.46 MB / 4.193 GB, free: 30 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.01e-05/10.61, allocations: 12 kB / 4.193 GB, free: 29.99 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6047/11.22, allocations: 67.44 MB / 4.259 GB, free: 97.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/11.22, allocations: 235.2 kB / 4.259 GB, free: 97.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03088/11.25, allocations: 17.3 MB / 4.276 GB, free: 97.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0118/11.26, allocations: 2.16 MB / 4.278 GB, free: 96.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002161/11.26, allocations: 350.8 kB / 4.278 GB, free: 96.95 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (98): * Single equations (assignments): 97 * 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 181} Notification: Performance of prepare postOptimizeDAE: time 0.001929/11.26, allocations: 223.3 kB / 4.279 GB, free: 96.85 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009989/11.26, allocations: 133.7 kB / 4.279 GB, free: 96.85 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0336/11.3, allocations: 27.02 MB / 4.305 GB, free: 92.65 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03286/11.33, allocations: 25.3 MB / 4.33 GB, free: 81.83 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.798e-05/11.33, allocations: 7.875 kB / 4.33 GB, free: 81.83 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-05/11.33, allocations: 10.92 kB / 4.33 GB, free: 81.83 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06465/11.4, allocations: 46.45 MB / 4.375 GB, free: 47.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-05/11.4, allocations: 0.5625 kB / 4.375 GB, free: 47.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0139/11.41, allocations: 2.741 MB / 4.378 GB, free: 45.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004817/11.41, allocations: 1.381 MB / 4.379 GB, free: 44.51 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002586/11.42, allocations: 242.5 kB / 4.379 GB, free: 44.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01912/11.44, allocations: 26.53 MB / 4.405 GB, free: 17.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/11.44, allocations: 4 kB / 4.405 GB, free: 17.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.413/11.85, allocations: 18.17 MB / 4.423 GB, free: 91.97 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005638/11.85, allocations: 1.519 MB / 4.425 GB, free: 91.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002054/11.86, allocations: 54.08 kB / 4.425 GB, free: 91.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01259/11.87, allocations: 2.127 MB / 4.427 GB, free: 91.88 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003543/11.87, allocations: 378.7 kB / 4.427 GB, free: 91.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003427/11.88, allocations: 237.3 kB / 4.427 GB, free: 91.88 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009084/11.88, allocations: 445.1 kB / 4.428 GB, free: 91.78 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.81e-07/11.88, allocations: 3.844 kB / 4.428 GB, free: 91.78 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02112/11.9, allocations: 3.038 MB / 4.431 GB, free: 91.77 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 173 * 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: 17 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06234/11.96, allocations: 19.76 MB / 4.45 GB, free: 90.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.04373/12, allocations: 19.93 MB / 4.469 GB, free: 87.48 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/12, allocations: 0.6562 kB / 4.469 GB, free: 87.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01582/12.02, allocations: 8.557 MB / 4.478 GB, free: 82.74 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005184/12.03, allocations: 0.5055 MB / 4.478 GB, free: 82.62 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03442/12.06, allocations: 9.636 MB / 4.488 GB, free: 79.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/12.06, allocations: 1.683 MB / 4.489 GB, free: 78.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008787/12.07, allocations: 2.665 MB / 4.492 GB, free: 78.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006299/12.08, allocations: 1.09 MB / 4.493 GB, free: 78.15 MB / 0.5573 GB Notification: Performance of SimCode: time 1.984e-06/12.08, allocations: 3.594 kB / 4.493 GB, free: 78.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7149/12.79, allocations: 301 MB / 4.787 GB, free: 19.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/12.79, allocations: 199.2 kB / 4.787 GB, free: 19.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.422/22.21, allocations: 0 / 4.787 GB, free: 19.57 MB / 0.5573 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe 2>&1)