Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.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.TestWaterFlow1DFV_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_B",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.001034/0.001034, allocations: 176.4 kB / 8.346 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.712/1.712, 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.0009666/0.0009669, allocations: 90.8 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5479/0.5479, allocations: 48.77 MB / 358.8 MB, free: 53.17 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.44e-05/2.449e-05, allocations: 7.938 kB / 425.4 MB, free: 8.125 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1548, allocations: 60.25 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.761/8.916, allocations: 2.965 GB / 3.439 GB, free: 99.5 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/8.916, allocations: 82.05 kB / 3.439 GB, free: 99.43 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.608/10.52, allocations: 370.7 MB / 3.801 GB, free: 56.92 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.224e-06/10.52, allocations: 3.094 kB / 3.801 GB, free: 56.92 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 6.768e-05/10.52, allocations: 33.91 kB / 3.802 GB, free: 56.91 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: 420 * Number of variables: 420 Notification: Performance of Generate backend data structure: time 0.01074/10.53, allocations: 2.583 MB / 3.804 GB, free: 56 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/10.53, allocations: 9.906 kB / 3.804 GB, free: 56 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/10.54, allocations: 471.6 kB / 3.805 GB, free: 55.92 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/10.54, allocations: 1.147 MB / 3.806 GB, free: 55.61 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/10.54, allocations: 51.59 kB / 3.806 GB, free: 55.61 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/10.54, allocations: 92.75 kB / 3.806 GB, free: 55.61 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004215/10.55, allocations: 2.667 MB / 3.808 GB, free: 55.61 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003254/10.55, allocations: 2.232 MB / 3.811 GB, free: 55.4 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/10.55, allocations: 6.906 kB / 3.811 GB, free: 55.4 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/10.55, allocations: 0 / 3.811 GB, free: 55.4 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-05/10.55, allocations: 82.2 kB / 3.811 GB, free: 55.4 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.01174/10.56, allocations: 10.05 MB / 3.82 GB, free: 50.07 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/10.56, allocations: 2.161 MB / 3.823 GB, free: 49.99 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/10.56, allocations: 0.9415 MB / 3.823 GB, free: 49.98 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1472/10.71, allocations: 79.98 MB / 3.902 GB, free: 31.28 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.488e-05/10.71, allocations: 50.22 kB / 3.902 GB, free: 31.24 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=158): time 4.178e-06/10.71, allocations: 0 / 3.902 GB, free: 31.24 MB / 0.5421 GB Notification: Performance of matching and sorting (n=158): time 0.01144/10.72, allocations: 3.868 MB / 3.905 GB, free: 31.08 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/10.72, allocations: 69.47 kB / 3.905 GB, free: 31.02 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000839/10.72, allocations: 404.8 kB / 3.906 GB, free: 30.9 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0004166/10.72, allocations: 25.7 kB / 3.906 GB, free: 30.87 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/10.72, allocations: 0.5156 MB / 3.906 GB, free: 30.56 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007021/10.73, allocations: 0.5286 MB / 3.907 GB, free: 30.21 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/10.73, allocations: 0 / 3.907 GB, free: 30.21 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0002348/10.73, allocations: 406.1 kB / 3.907 GB, free: 29.89 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/10.73, allocations: 1.402 MB / 3.909 GB, free: 29.89 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/10.73, allocations: 1.619 MB / 3.91 GB, free: 29.37 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006001/10.74, allocations: 1.756 MB / 3.912 GB, free: 28.84 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/10.74, allocations: 0 / 3.912 GB, free: 28.84 MB / 0.5421 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01162/10.75, allocations: 5.159 MB / 3.917 GB, free: 27.11 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006212/10.75, allocations: 1.401 MB / 3.918 GB, free: 25.62 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/10.75, allocations: 7.156 kB / 3.918 GB, free: 25.62 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009326/10.76, allocations: 4.413 MB / 3.923 GB, free: 22.95 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006933/10.76, allocations: 120.9 kB / 3.923 GB, free: 22.86 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/10.77, allocations: 6.298 MB / 3.929 GB, free: 33.5 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/10.77, allocations: 249 kB / 3.929 GB, free: 33.3 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003163/10.77, allocations: 180.4 kB / 3.929 GB, free: 33.18 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/10.77, allocations: 4 kB / 3.929 GB, free: 33.18 MB / 0.5577 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01071/10.78, allocations: 4.984 MB / 3.934 GB, free: 28.93 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/10.78, allocations: 4 kB / 3.934 GB, free: 28.93 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009195/10.79, allocations: 4.441 MB / 3.939 GB, free: 25.44 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/10.79, allocations: 120.3 kB / 3.939 GB, free: 25.34 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/10.81, allocations: 6.302 MB / 3.945 GB, free: 20 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/10.81, allocations: 219.6 kB / 3.945 GB, free: 19.82 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003246/10.81, allocations: 179 kB / 3.945 GB, free: 19.7 MB / 0.5577 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 113} Notification: Performance of prepare postOptimizeDAE: time 0.0007879/10.81, allocations: 127 kB / 3.945 GB, free: 19.58 MB / 0.5577 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01138/10.82, allocations: 4.106 MB / 3.949 GB, free: 16.2 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005358/10.82, allocations: 95.25 kB / 3.949 GB, free: 16.1 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4868/11.31, allocations: 21.94 MB / 3.971 GB, free: 102.7 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.726e-05/11.31, allocations: 54.12 kB / 3.971 GB, free: 102.7 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.768e-05/11.31, allocations: 6.344 kB / 3.971 GB, free: 102.7 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.868e-05/11.31, allocations: 8.906 kB / 3.971 GB, free: 102.7 MB / 0.5577 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/11.32, allocations: 9.041 MB / 3.98 GB, free: 100.7 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.313e-05/11.32, allocations: 1.062 kB / 3.98 GB, free: 100.7 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/11.32, allocations: 373.5 kB / 3.98 GB, free: 100.7 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003668/11.33, allocations: 0.9507 MB / 3.981 GB, free: 100.7 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006847/11.33, allocations: 48.42 kB / 3.981 GB, free: 100.7 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008575/11.34, allocations: 5.517 MB / 3.986 GB, free: 99.36 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/11.34, allocations: 0 / 3.986 GB, free: 99.36 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/11.35, allocations: 6.017 MB / 3.992 GB, free: 98.89 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/11.35, allocations: 477.9 kB / 3.993 GB, free: 98.73 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/11.35, allocations: 13.12 kB / 3.993 GB, free: 98.73 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/11.35, allocations: 129.3 kB / 3.993 GB, free: 98.72 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004118/11.35, allocations: 134.6 kB / 3.993 GB, free: 98.72 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/11.35, allocations: 56.44 kB / 3.993 GB, free: 98.72 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.0004174/11.35, allocations: 310.2 kB / 3.993 GB, free: 98.63 MB / 0.5577 GB Notification: Performance of sort global known variables: time 2.004e-06/11.35, allocations: 0 / 3.993 GB, free: 98.63 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.008625/11.36, allocations: 1.838 MB / 3.995 GB, free: 98.55 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.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.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 (144): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.01863/11.38, allocations: 8 MB / 4.003 GB, free: 97.54 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.01407/11.39, allocations: 5.671 MB / 4.009 GB, free: 97.45 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/11.39, allocations: 1.375 kB / 4.009 GB, free: 97.45 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.004382/11.4, allocations: 2.16 MB / 4.011 GB, free: 97.3 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/11.4, allocations: 415.3 kB / 4.011 GB, free: 97.3 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/11.42, allocations: 4.934 MB / 4.016 GB, free: 96.54 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/11.42, allocations: 1.569 MB / 4.017 GB, free: 95.82 MB / 0.5577 GB Notification: Performance of simCode: alias equations: time 0.002347/11.42, allocations: 0.5077 MB / 4.018 GB, free: 95.8 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/11.42, allocations: 0.667 MB / 4.019 GB, free: 95.8 MB / 0.5577 GB Notification: Performance of SimCode: time 2.895e-06/11.42, allocations: 0 / 4.019 GB, free: 95.8 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1865/11.61, allocations: 117.3 MB / 4.133 GB, free: 61.38 MB / 0.5577 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/11.61, allocations: 158.7 kB / 4.133 GB, free: 61.18 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.253/16.86, allocations: 0 / 4.133 GB, free: 61.18 MB / 0.5577 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_B_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_B.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe 2>&1)