Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.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_E,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_E",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_E",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.767/1.767, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0009796/0.0009796, allocations: 86.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3359/0.3359, allocations: 48.78 MB / 364.3 MB, free: 6.883 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.69e-05/3.694e-05, allocations: 4 kB / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1368, allocations: 60.25 MB / 492.8 MB, free: 4.297 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.966/8.103, allocations: 2.943 GB / 3.424 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/8.104, allocations: 81.5 kB / 3.425 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.662/10.77, allocations: 0.6591 GB / 4.084 GB, free: 33.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.817e-06/10.77, allocations: 0 / 4.084 GB, free: 33.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002949/10.77, allocations: 191.5 kB / 4.084 GB, free: 33.44 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2772 * Number of variables: 2772 Notification: Performance of Generate backend data structure: time 0.06873/10.84, allocations: 19.43 MB / 4.103 GB, free: 30.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/10.84, allocations: 7.906 kB / 4.103 GB, free: 30.32 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009371/10.84, allocations: 1.499 MB / 4.104 GB, free: 30.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01388/10.86, allocations: 1.576 MB / 4.106 GB, free: 29.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02199/10.88, allocations: 5.748 MB / 4.111 GB, free: 28.99 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001229/10.88, allocations: 0.7862 MB / 4.112 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009916/10.89, allocations: 1.036 MB / 4.113 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08038/10.97, allocations: 24.19 MB / 4.137 GB, free: 28.31 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005619/10.97, allocations: 6.766 kB / 4.137 GB, free: 28.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008125/10.98, allocations: 440.4 kB / 4.137 GB, free: 28.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004458/10.98, allocations: 415.7 kB / 4.138 GB, free: 28.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09478/11.08, allocations: 28.15 MB / 4.165 GB, free: 25 MB / 0.5261 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.1098/11.19, allocations: 48.86 MB / 4.213 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02707/11.21, allocations: 9.662 MB / 4.222 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4763/11.69, allocations: 4.236 MB / 4.226 GB, free: 60.47 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1224/11.81, allocations: 64.05 MB / 4.289 GB, free: 21.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/11.81, allocations: 90.56 kB / 4.289 GB, free: 21.17 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=501): time 1.078e-05/11.81, allocations: 2.016 kB / 4.289 GB, free: 21.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=501): time 0.1015/11.91, allocations: 25.56 MB / 4.314 GB, free: 20.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/11.91, allocations: 104.8 kB / 4.314 GB, free: 20.43 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/11.93, allocations: 6.953 MB / 4.321 GB, free: 19.83 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.003326/11.93, allocations: 115.3 kB / 4.321 GB, free: 19.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00548/11.93, allocations: 6.225 MB / 4.327 GB, free: 16.11 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005567/11.94, allocations: 2.018 MB / 4.329 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004328/11.94, allocations: 342.3 kB / 4.329 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001366/11.95, allocations: 1.063 MB / 4.33 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01563/11.96, allocations: 7.535 MB / 4.338 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02399/11.99, allocations: 17.64 MB / 4.355 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0209/12.01, allocations: 10.89 MB / 4.366 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006664/12.01, allocations: 100.7 kB / 4.366 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2191) (initialization): time 0.07744/12.09, allocations: 30.22 MB / 4.395 GB, free: 13.38 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.5214/12.61, allocations: 140.5 MB / 4.533 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001655/12.61, allocations: 353.6 kB / 4.533 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1015/12.71, allocations: 24.6 MB / 4.557 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01201/12.72, allocations: 3.355 MB / 4.56 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05122/12.77, allocations: 19.71 MB / 4.579 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02165/12.79, allocations: 2.613 MB / 4.582 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006883/12.8, allocations: 1.271 MB / 4.583 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/12.8, allocations: 6.781 kB / 4.583 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08176/12.88, allocations: 29.32 MB / 4.612 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001887/12.89, allocations: 362 kB / 4.612 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09223/12.98, allocations: 24.59 MB / 4.636 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/12.99, allocations: 3.327 MB / 4.639 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04859/13.04, allocations: 19.72 MB / 4.659 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01986/13.06, allocations: 1.961 MB / 4.661 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006772/13.06, allocations: 1.264 MB / 4.662 GB, free: 10.38 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1613 * Number of states: 0 () * Number of discrete variables: 28 (hexB.fluidState[12].phase,hexB.fluidState[11].phase,hexB.fluidState[10].phase,hexB.fluidState[9].phase,hexB.fluidState[8].phase,hexB.fluidState[7].phase,hexB.fluidState[6].phase,hexB.fluidState[5].phase,hexB.fluidState[4].phase,hexB.fluidState[3].phase,hexB.fluidState[2].phase,hexB.fluidState[1].phase,hexA.fluidState[12].phase,hexA.fluidState[11].phase,hexA.fluidState[10].phase,hexA.fluidState[9].phase,hexA.fluidState[8].phase,hexA.fluidState[7].phase,hexA.fluidState[6].phase,hexA.fluidState[5].phase,hexA.fluidState[4].phase,hexA.fluidState[3].phase,hexA.fluidState[2].phase,hexA.fluidState[1].phase,SensT_B_out.fluidState.phase,SensT_A_out.fluidState.phase,SensT_B_in.fluidState.phase,SensT_A_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1804): * Single equations (assignments): 1803 * 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 {26 362} Notification: Performance of prepare postOptimizeDAE: time 0.01081/13.07, allocations: 1.33 MB / 4.663 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004706/13.08, allocations: 0.6942 MB / 4.664 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6345/13.71, allocations: 69.28 MB / 4.731 GB, free: 110 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001442/13.71, allocations: 136.8 kB / 4.732 GB, free: 110 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/13.71, allocations: 0 / 4.732 GB, free: 110 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001736/13.71, allocations: 28.12 kB / 4.732 GB, free: 110 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1511/13.87, allocations: 89.13 MB / 4.819 GB, free: 85.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.669e-05/13.87, allocations: 0 / 4.819 GB, free: 85.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00537/13.87, allocations: 0.7424 MB / 4.819 GB, free: 85.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0703/13.94, allocations: 16.64 MB / 4.836 GB, free: 83.74 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003533/13.94, allocations: 246.3 kB / 4.836 GB, free: 83.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1084/14.05, allocations: 60.58 MB / 4.895 GB, free: 36.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/14.05, allocations: 0.6562 kB / 4.895 GB, free: 36.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5745/14.63, allocations: 30.42 MB / 4.925 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007963/14.64, allocations: 1.783 MB / 4.927 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003978/14.64, allocations: 175 kB / 4.927 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009973/14.65, allocations: 0.5709 MB / 4.927 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004981/14.65, allocations: 486.1 kB / 4.928 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002256/14.66, allocations: 201.5 kB / 4.928 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.01433/14.67, allocations: 4.515 MB / 4.932 GB, free: 100.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.282e-06/14.67, allocations: 0 / 4.932 GB, free: 100.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.04375/14.72, allocations: 6.044 MB / 4.938 GB, free: 100.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 26 (hexA.p,hexA.h[1],hexA.h[2],hexA.h[3],hexA.h[4],hexA.h[5],hexA.h[6],hexA.h[7],hexA.h[8],hexA.h[9],hexA.h[10],hexA.h[11],hexA.h[12],hexB.p,hexB.h[1],hexB.h[2],hexB.h[3],hexB.h[4],hexB.h[5],hexB.h[6],hexB.h[7],hexB.h[8],hexB.h[9],hexB.h[10],hexB.h[11],hexB.h[12]) * Number of discrete variables: 56 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.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,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse55.phase,$cse55.region,$cse56.phase,$cse56.region,$cse57.phase,$cse57.region,$cse58.phase,$cse58.region,$cse59.phase,$cse59.region,$cse60.phase,$cse60.region,$cse61.phase,$cse61.region,$cse62.phase,$cse62.region,$cse63.phase,$cse63.region,$cse64.phase,$cse64.region,$cse65.phase,$cse65.region,$cse66.phase,$cse66.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (297): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 28 * 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: 0 * Non-linear torn systems: 2 {13 126,13 126} Notification: Performance of Backend phase and start with SimCode phase: time 0.09996/14.82, allocations: 32.82 MB / 4.97 GB, free: 98.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.08364/14.9, allocations: 33.74 MB / 5.003 GB, free: 96.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/14.9, allocations: 2.906 kB / 5.003 GB, free: 96.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.03151/14.93, allocations: 9.291 MB / 5.012 GB, free: 95.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01119/14.94, allocations: 1.33 MB / 5.014 GB, free: 95.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07992/15.02, allocations: 23.4 MB / 5.036 GB, free: 92.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0101/15.03, allocations: 5.062 MB / 5.041 GB, free: 91.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.03146/15.06, allocations: 10.64 MB / 5.052 GB, free: 89.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009863/15.07, allocations: 3.804 MB / 5.055 GB, free: 86.9 MB / 0.6355 GB Notification: Performance of SimCode: time 1.793e-06/15.07, allocations: 0 / 5.055 GB, free: 86.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.463/16.54, allocations: 428.7 MB / 5.474 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/16.54, allocations: 206.7 kB / 5.474 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/31.34, allocations: 0 / 5.474 GB, free: 110.5 MB / 0.6511 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_E_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_E.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe 2>&1)