Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.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.TestWaterFlow1DFEM_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_D",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.00226/0.00226, 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 2.043/2.043, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001008/0.001008, allocations: 85.47 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.5789/0.5789, allocations: 48.77 MB / 358.8 MB, free: 53.16 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.74e-05, allocations: 4.219 kB / 425.4 MB, free: 8.141 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1489, allocations: 60.26 MB / 485.7 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.856/8.005, allocations: 2.936 GB / 3.411 GB, free: 67.47 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/8.005, allocations: 83.88 kB / 3.411 GB, free: 67.44 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.443/9.448, allocations: 303.7 MB / 3.707 GB, free: 59 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.564e-06/9.448, allocations: 0 / 3.707 GB, free: 59 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001302/9.448, allocations: 89.22 kB / 3.707 GB, free: 59 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: 1341 * Number of variables: 1341 Notification: Performance of Generate backend data structure: time 0.03858/9.487, allocations: 9.882 MB / 3.717 GB, free: 57.68 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/9.487, allocations: 12.2 kB / 3.717 GB, free: 57.68 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0068/9.494, allocations: 0.7672 MB / 3.718 GB, free: 57.45 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/9.506, allocations: 2.894 MB / 3.721 GB, free: 57.02 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005184/9.507, allocations: 177.8 kB / 3.721 GB, free: 57.01 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004248/9.511, allocations: 305.9 kB / 3.721 GB, free: 57.01 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0421/9.553, allocations: 11.16 MB / 3.732 GB, free: 56.98 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03249/9.586, allocations: 8.634 MB / 3.74 GB, free: 56.69 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004009/9.586, allocations: 3.344 kB / 3.74 GB, free: 56.69 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003592/9.59, allocations: 2.406 kB / 3.74 GB, free: 56.69 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002157/9.59, allocations: 204 kB / 3.74 GB, free: 56.68 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.05846/9.649, allocations: 24.24 MB / 3.764 GB, free: 46.29 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006655/9.655, allocations: 2.873 MB / 3.767 GB, free: 46.25 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003981/9.66, allocations: 1.877 MB / 3.769 GB, free: 46.23 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1242/9.784, allocations: 64 MB / 3.831 GB, free: 21.95 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/9.784, allocations: 61.88 kB / 3.831 GB, free: 21.91 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=240): time 6.712e-06/9.784, allocations: 0 / 3.831 GB, free: 21.91 MB / 0.5265 GB Notification: Performance of matching and sorting (n=240): time 0.03918/9.823, allocations: 9.894 MB / 3.841 GB, free: 21.38 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/9.823, allocations: 75.22 kB / 3.841 GB, free: 21.32 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007112/9.83, allocations: 3.338 MB / 3.844 GB, free: 20.86 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.001601/9.832, allocations: 29.45 kB / 3.844 GB, free: 20.82 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.002524/9.835, allocations: 3.125 MB / 3.847 GB, free: 18.74 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.00268/9.837, allocations: 0.9563 MB / 3.848 GB, free: 18.21 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002569/9.84, allocations: 4 kB / 3.848 GB, free: 18.21 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.00187/9.842, allocations: 0.7149 MB / 3.849 GB, free: 17.88 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009093/9.851, allocations: 3.474 MB / 3.852 GB, free: 16.37 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01399/9.865, allocations: 8.548 MB / 3.861 GB, free: 6.895 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01498/9.88, allocations: 5.429 MB / 3.866 GB, free: 2.379 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002557/9.88, allocations: 52 kB / 3.866 GB, free: 2.328 MB / 0.5265 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.04585/9.926, allocations: 13.98 MB / 3.88 GB, free: 6.293 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.4405/10.37, allocations: 71.35 MB / 3.95 GB, free: 27.4 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007827/10.37, allocations: 179.3 kB / 3.95 GB, free: 27.4 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03819/10.41, allocations: 9.854 MB / 3.959 GB, free: 27.38 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006308/10.41, allocations: 1.752 MB / 3.961 GB, free: 27.38 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02202/10.43, allocations: 9.952 MB / 3.971 GB, free: 26.82 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009878/10.44, allocations: 1.116 MB / 3.972 GB, free: 26.75 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00364/10.45, allocations: 0.6388 MB / 3.972 GB, free: 26.75 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/10.45, allocations: 3.125 kB / 3.972 GB, free: 26.75 MB / 0.5577 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03684/10.48, allocations: 13.34 MB / 3.985 GB, free: 26.27 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001069/10.49, allocations: 179.3 kB / 3.986 GB, free: 26.27 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03828/10.52, allocations: 9.846 MB / 3.995 GB, free: 26.24 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005864/10.53, allocations: 1.736 MB / 3.997 GB, free: 26.08 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0215/10.55, allocations: 9.96 MB / 4.007 GB, free: 25.4 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009013/10.56, allocations: 0.7917 MB / 4.007 GB, free: 25.23 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002659/10.56, allocations: 0.6365 MB / 4.008 GB, free: 25.23 MB / 0.5577 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * Number of states: 0 () * Number of discrete variables: 12 (hex.fluidState[12].phase,hex.fluidState[11].phase,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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (943): * Single equations (assignments): 942 * 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 {13 142} Notification: Performance of prepare postOptimizeDAE: time 0.00292/10.57, allocations: 0.5119 MB / 4.009 GB, free: 24.87 MB / 0.5577 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03286/10.6, allocations: 10.26 MB / 4.019 GB, free: 24.42 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002158/10.6, allocations: 352.5 kB / 4.019 GB, free: 24.23 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05052/10.65, allocations: 31.24 MB / 4.049 GB, free: 19.01 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.091e-05/10.65, allocations: 65.45 kB / 4.049 GB, free: 19 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/10.65, allocations: 3.812 kB / 4.05 GB, free: 19 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.954e-05/10.65, allocations: 13.64 kB / 4.05 GB, free: 19 MB / 0.5577 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4809/11.13, allocations: 42.75 MB / 4.091 GB, free: 89.55 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-05/11.13, allocations: 3.656 kB / 4.091 GB, free: 89.55 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003041/11.14, allocations: 395.8 kB / 4.092 GB, free: 89.55 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02899/11.17, allocations: 6.879 MB / 4.098 GB, free: 89.52 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001731/11.17, allocations: 87.36 kB / 4.098 GB, free: 89.52 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05171/11.22, allocations: 27.3 MB / 4.125 GB, free: 86.59 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/11.22, allocations: 0 / 4.125 GB, free: 86.59 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03979/11.26, allocations: 13.3 MB / 4.138 GB, free: 85.93 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003194/11.26, allocations: 0.8769 MB / 4.139 GB, free: 85.55 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001137/11.26, allocations: 42.39 kB / 4.139 GB, free: 85.55 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003727/11.27, allocations: 227.7 kB / 4.139 GB, free: 85.53 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00135/11.27, allocations: 240.8 kB / 4.139 GB, free: 85.52 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003568/11.27, allocations: 100 kB / 4.14 GB, free: 85.52 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.003844/11.27, allocations: 2.106 MB / 4.142 GB, free: 85.38 MB / 0.5577 GB Notification: Performance of sort global known variables: time 8.12e-07/11.27, allocations: 0 / 4.142 GB, free: 85.38 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.02527/11.3, allocations: 2.895 MB / 4.144 GB, free: 85.2 MB / 0.5577 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],hex.h[12]) * Number of discrete variables: 24 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 144 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {13 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.04417/11.34, allocations: 15.19 MB / 4.159 GB, free: 83.91 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.03584/11.38, allocations: 15 MB / 4.174 GB, free: 83.34 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/11.38, allocations: 0 / 4.174 GB, free: 83.34 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.01214/11.39, allocations: 4.071 MB / 4.178 GB, free: 82.51 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004859/11.39, allocations: 0.5613 MB / 4.178 GB, free: 82.33 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03756/11.43, allocations: 10.74 MB / 4.189 GB, free: 79.41 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004894/11.44, allocations: 2.771 MB / 4.192 GB, free: 78.43 MB / 0.5577 GB Notification: Performance of simCode: alias equations: time 0.01565/11.45, allocations: 5.789 MB / 4.197 GB, free: 77.96 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003952/11.46, allocations: 1.692 MB / 4.199 GB, free: 76.63 MB / 0.5577 GB Notification: Performance of SimCode: time 1.173e-06/11.46, allocations: 0 / 4.199 GB, free: 76.63 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6865/12.14, allocations: 202.5 MB / 4.397 GB, free: 77.01 MB / 0.5577 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/12.14, allocations: 159.6 kB / 4.397 GB, free: 76.82 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/19.47, allocations: 0 / 4.397 GB, free: 76.82 MB / 0.5577 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_D_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_D.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe 2>&1)