Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.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_hf,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_hf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_hf",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.001344/0.001344, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007919/0.0007919, allocations: 86.94 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4444/0.4444, allocations: 48.78 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.64e-05, allocations: 4 kB / 425.4 MB, free: 8.133 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.138, allocations: 60.24 MB / 485.6 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.134/7.272, allocations: 2.972 GB / 3.446 GB, free: 107.3 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/7.272, allocations: 80.89 kB / 3.446 GB, free: 107.3 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.449/8.721, allocations: 327.9 MB / 3.766 GB, free: 44.31 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.473e-06/8.721, allocations: 1 kB / 3.766 GB, free: 44.31 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 9.212e-05/8.721, allocations: 38.75 kB / 3.766 GB, free: 44.31 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.03777/8.759, allocations: 7.832 MB / 3.774 GB, free: 43.47 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/8.759, allocations: 9.594 kB / 3.774 GB, free: 43.47 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008075/8.767, allocations: 0.826 MB / 3.775 GB, free: 43.38 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0132/8.78, allocations: 3.283 MB / 3.778 GB, free: 43.1 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004024/8.784, allocations: 1.005 MB / 3.779 GB, free: 42.84 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003726/8.788, allocations: 110.2 kB / 3.779 GB, free: 42.84 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03481/8.823, allocations: 14.39 MB / 3.793 GB, free: 42.83 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01961/8.842, allocations: 7.535 MB / 3.8 GB, free: 42.66 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/8.843, allocations: 0 / 3.8 GB, free: 42.66 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00201/8.845, allocations: 0 / 3.8 GB, free: 42.66 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.481e-05/8.845, allocations: 39.62 kB / 3.8 GB, free: 42.66 MB / 0.5108 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.09207/8.937, allocations: 47.59 MB / 3.847 GB, free: 17.18 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/8.948, allocations: 6.243 MB / 3.853 GB, free: 17.15 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009004/8.957, allocations: 5.409 MB / 3.858 GB, free: 16.89 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6073/9.564, allocations: 120 MB / 3.975 GB, free: 79.53 MB / 0.5577 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/9.564, allocations: 59.06 kB / 3.975 GB, free: 79.49 MB / 0.5577 GB Notification: Performance of pre-optimization done (n=220): time 1.668e-05/9.564, allocations: 0 / 3.975 GB, free: 79.49 MB / 0.5577 GB Notification: Performance of matching and sorting (n=221): time 0.09363/9.658, allocations: 22.08 MB / 3.997 GB, free: 78.97 MB / 0.5577 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/9.658, allocations: 75.84 kB / 3.997 GB, free: 78.9 MB / 0.5577 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/9.659, allocations: 0.5375 MB / 3.998 GB, free: 78.79 MB / 0.5577 GB Notification: Performance of collectPreVariables (initialization): time 0.003494/9.663, allocations: 25.7 kB / 3.998 GB, free: 78.76 MB / 0.5577 GB Notification: Performance of collectInitialEqns (initialization): time 0.000572/9.663, allocations: 0.4934 MB / 3.998 GB, free: 78.54 MB / 0.5577 GB Notification: Performance of collectInitialBindings (initialization): time 0.003971/9.667, allocations: 0.7265 MB / 3.999 GB, free: 78.11 MB / 0.5577 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003249/9.671, allocations: 0 / 3.999 GB, free: 78.11 MB / 0.5577 GB Notification: Performance of setup shared object (initialization): time 0.0003857/9.671, allocations: 430.3 kB / 3.999 GB, free: 77.8 MB / 0.5577 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01116/9.682, allocations: 5.745 MB / 4.005 GB, free: 77.79 MB / 0.5577 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01074/9.693, allocations: 6.012 MB / 4.011 GB, free: 77.56 MB / 0.5577 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1573/9.85, allocations: 56.72 MB / 4.066 GB, free: 75.16 MB / 0.5577 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.668e-05/9.851, allocations: 0 / 4.066 GB, free: 75.16 MB / 0.5577 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.1234/9.974, allocations: 34.06 MB / 4.099 GB, free: 71.6 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006384/9.975, allocations: 1.676 MB / 4.101 GB, free: 69.82 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.385e-05/9.975, allocations: 3.938 kB / 4.101 GB, free: 69.82 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1261/10.1, allocations: 50.2 MB / 4.15 GB, free: 33.32 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005999/10.11, allocations: 1.317 MB / 4.151 GB, free: 32.4 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4227/10.53, allocations: 17.23 MB / 4.168 GB, free: 89.75 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01536/10.55, allocations: 2.78 MB / 4.171 GB, free: 89.75 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003642/10.55, allocations: 361.6 kB / 4.171 GB, free: 89.75 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/10.55, allocations: 4.984 kB / 4.171 GB, free: 89.75 MB / 0.5577 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2755/10.82, allocations: 74.86 MB / 4.244 GB, free: 89.27 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.217e-05/10.82, allocations: 7.922 kB / 4.244 GB, free: 89.27 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1323/10.96, allocations: 49.83 MB / 4.293 GB, free: 78.26 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005821/10.96, allocations: 1.316 MB / 4.294 GB, free: 77.36 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03784/11, allocations: 15.67 MB / 4.31 GB, free: 69.81 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01448/11.02, allocations: 2.777 MB / 4.312 GB, free: 67.83 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003209/11.02, allocations: 353.8 kB / 4.313 GB, free: 67.69 MB / 0.5577 GB Warning: The initial conditions are over specified. The following 10 initial equations are redundant, so they are removed from the initialization sytem: $DER.hex.p = 0.0 $DER.hex.htilde[1] = 0.0 $DER.hex.htilde[2] = 0.0 $DER.hex.htilde[3] = 0.0 $DER.hex.htilde[4] = 0.0 $DER.hex.htilde[5] = 0.0 $DER.hex.htilde[6] = 0.0 $DER.hex.htilde[7] = 0.0 $DER.hex.htilde[8] = 0.0 $DER.hex.htilde[9] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (hex.fluidState[10].phase,hex.fluidState[9].phase,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 (174): * Single equations (assignments): 173 * 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 {10 87} Notification: Performance of prepare postOptimizeDAE: time 0.005328/11.02, allocations: 177.7 kB / 4.313 GB, free: 67.55 MB / 0.5577 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03794/11.06, allocations: 11.86 MB / 4.324 GB, free: 58.66 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002956/11.06, allocations: 119.7 kB / 4.324 GB, free: 58.6 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.424/11.49, allocations: 30.43 MB / 4.354 GB, free: 88.16 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0427/11.53, allocations: 28.09 MB / 4.382 GB, free: 87.84 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.61e-05/11.53, allocations: 4.875 kB / 4.382 GB, free: 87.84 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.728e-05/11.53, allocations: 14.27 kB / 4.382 GB, free: 87.84 MB / 0.5577 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07771/11.61, allocations: 49.82 MB / 4.43 GB, free: 70.09 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-05/11.61, allocations: 1.5 kB / 4.43 GB, free: 70.09 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01718/11.63, allocations: 3.404 MB / 4.434 GB, free: 70.05 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004425/11.63, allocations: 1.078 MB / 4.435 GB, free: 69.9 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003296/11.63, allocations: 202.9 kB / 4.435 GB, free: 69.89 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009401/11.64, allocations: 5.811 MB / 4.441 GB, free: 67.09 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/11.64, allocations: 3.844 kB / 4.441 GB, free: 67.09 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04173/11.69, allocations: 17.45 MB / 4.458 GB, free: 59.94 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005491/11.69, allocations: 1.468 MB / 4.459 GB, free: 59.37 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003098/11.69, allocations: 15.59 kB / 4.459 GB, free: 59.37 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0142/11.71, allocations: 2.757 MB / 4.462 GB, free: 59.36 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002925/11.71, allocations: 346.3 kB / 4.462 GB, free: 59.34 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002846/11.71, allocations: 232.8 kB / 4.462 GB, free: 59.32 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.0007044/11.72, allocations: 404.7 kB / 4.463 GB, free: 59.12 MB / 0.5577 GB Notification: Performance of sort global known variables: time 7.61e-07/11.72, allocations: 0 / 4.463 GB, free: 59.12 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.02093/11.74, allocations: 2.882 MB / 4.465 GB, free: 59.04 MB / 0.5577 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9]) * Number of discrete variables: 24 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.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.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 (208): * Single equations (assignments): 193 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.05336/11.79, allocations: 19.45 MB / 4.484 GB, free: 51.24 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.04054/11.83, allocations: 19.75 MB / 4.504 GB, free: 43.45 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/11.83, allocations: 0 / 4.504 GB, free: 43.45 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.01473/11.84, allocations: 6.813 MB / 4.51 GB, free: 40.52 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004414/11.85, allocations: 354.3 kB / 4.511 GB, free: 40.47 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02926/11.88, allocations: 9.686 MB / 4.52 GB, free: 37.63 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/11.88, allocations: 1.592 MB / 4.522 GB, free: 36.84 MB / 0.5577 GB Notification: Performance of simCode: alias equations: time 0.01088/11.89, allocations: 3.362 MB / 4.525 GB, free: 36.17 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005617/11.9, allocations: 1.045 MB / 4.526 GB, free: 35.42 MB / 0.5577 GB Notification: Performance of SimCode: time 1.412e-06/11.9, allocations: 0 / 4.526 GB, free: 35.42 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.118/13.01, allocations: 273.7 MB / 4.793 GB, free: 82.03 MB / 0.5577 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/13.02, allocations: 151.3 kB / 4.794 GB, free: 81.84 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.851/21.87, allocations: 3.969 kB / 4.794 GB, free: 81.84 MB / 0.5577 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_hf_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-07 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_hf.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe 2>&1)