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.001737/0.001737, 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 2.012/2.012, 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.0008717/0.0008718, allocations: 88.78 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.5707/0.5707, allocations: 48.77 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.658e-05/2.66e-05, allocations: 4.219 kB / 425.4 MB, free: 8.137 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1562, allocations: 60.25 MB / 485.6 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.783/7.939, allocations: 2.942 GB / 3.417 GB, free: 118.7 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/7.939, allocations: 78.27 kB / 3.417 GB, free: 118.6 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 2.597/10.54, allocations: 0.6544 GB / 4.071 GB, free: 48.34 MB / 0.5421 GB Notification: Performance of FrontEnd: time 3.276e-06/10.54, allocations: 0 / 4.071 GB, free: 48.34 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0003224/10.54, allocations: 188.1 kB / 4.071 GB, free: 48.34 MB / 0.5421 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.07223/10.61, allocations: 19.43 MB / 4.09 GB, free: 44.71 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/10.61, allocations: 10.5 kB / 4.09 GB, free: 44.71 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0143/10.62, allocations: 1.574 MB / 4.092 GB, free: 44.25 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02254/10.65, allocations: 5.748 MB / 4.098 GB, free: 43.22 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007745/10.65, allocations: 342 kB / 4.098 GB, free: 43.22 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007512/10.65, allocations: 0.6166 MB / 4.098 GB, free: 43.22 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07076/10.72, allocations: 22.66 MB / 4.121 GB, free: 39.06 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05461/10.78, allocations: 17.64 MB / 4.138 GB, free: 21.29 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005584/10.78, allocations: 0 / 4.138 GB, free: 21.29 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006839/10.79, allocations: 4 kB / 4.138 GB, free: 21.28 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003494/10.79, allocations: 421.5 kB / 4.138 GB, free: 20.87 MB / 0.5421 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.5866/11.37, allocations: 47.81 MB / 4.185 GB, free: 34.63 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01313/11.39, allocations: 6.467 MB / 4.191 GB, free: 34.55 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009113/11.4, allocations: 4.115 MB / 4.195 GB, free: 34.52 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1343/11.53, allocations: 64.06 MB / 4.258 GB, free: 27.09 MB / 0.5733 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/11.53, allocations: 95.08 kB / 4.258 GB, free: 27.05 MB / 0.5733 GB Notification: Performance of pre-optimization done (n=501): time 2.413e-05/11.53, allocations: 0 / 4.258 GB, free: 27.05 MB / 0.5733 GB Notification: Performance of matching and sorting (n=501): time 0.09126/11.62, allocations: 22.42 MB / 4.28 GB, free: 25.98 MB / 0.5733 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/11.62, allocations: 102.1 kB / 4.28 GB, free: 25.91 MB / 0.5733 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01248/11.63, allocations: 6.521 MB / 4.286 GB, free: 25.3 MB / 0.5733 GB Notification: Performance of collectPreVariables (initialization): time 0.003376/11.64, allocations: 29.64 kB / 4.286 GB, free: 25.27 MB / 0.5733 GB Notification: Performance of collectInitialEqns (initialization): time 0.007374/11.65, allocations: 6.221 MB / 4.292 GB, free: 21.26 MB / 0.5733 GB Notification: Performance of collectInitialBindings (initialization): time 0.00585/11.65, allocations: 1.949 MB / 4.294 GB, free: 20.16 MB / 0.5733 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003968/11.66, allocations: 1.5 kB / 4.294 GB, free: 20.16 MB / 0.5733 GB Notification: Performance of setup shared object (initialization): time 0.001486/11.66, allocations: 1.055 MB / 4.295 GB, free: 19.82 MB / 0.5733 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01443/11.67, allocations: 7.219 MB / 4.302 GB, free: 19.78 MB / 0.5733 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02365/11.7, allocations: 17.22 MB / 4.319 GB, free: 6.559 MB / 0.5733 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03162/11.73, allocations: 11.09 MB / 4.33 GB, free: 6 MB / 0.5733 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007097/11.73, allocations: 98.69 kB / 4.33 GB, free: 6 MB / 0.5733 GB Notification: Performance of matching and sorting (n=2191) (initialization): time 0.09295/11.82, allocations: 29.15 MB / 4.359 GB, free: 11.3 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 0.4997/12.32, allocations: 140.5 MB / 4.496 GB, free: 7.625 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001708/12.32, allocations: 353.6 kB / 4.496 GB, free: 7.625 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09448/12.42, allocations: 24.14 MB / 4.52 GB, free: 7.383 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01112/12.43, allocations: 3.353 MB / 4.523 GB, free: 7.379 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06872/12.5, allocations: 22.32 MB / 4.545 GB, free: 6.629 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02038/12.52, allocations: 2.255 MB / 4.547 GB, free: 5.969 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00664/12.52, allocations: 1.277 MB / 4.548 GB, free: 5.969 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/12.52, allocations: 3.312 kB / 4.548 GB, free: 5.969 MB / 0.6515 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07451/12.6, allocations: 27.13 MB / 4.575 GB, free: 4.27 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001925/12.6, allocations: 354.7 kB / 4.575 GB, free: 4.27 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09188/12.69, allocations: 24.14 MB / 4.599 GB, free: 3.25 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01145/12.7, allocations: 3.326 MB / 4.602 GB, free: 2.934 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06291/12.77, allocations: 22.3 MB / 4.624 GB, free: 1.414 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01887/12.79, allocations: 1.622 MB / 4.625 GB, free: 0.7188 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006799/12.79, allocations: 1.257 MB / 4.626 GB, free: 0.5195 MB / 0.6515 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.473/13.27, allocations: 0.9073 MB / 4.627 GB, free: 130.7 MB / 0.6515 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0902/13.36, allocations: 23.06 MB / 4.65 GB, free: 130.1 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005158/13.36, allocations: 0.6783 MB / 4.651 GB, free: 129.7 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1295/13.49, allocations: 65.86 MB / 4.715 GB, free: 128.6 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002635/13.49, allocations: 134.8 kB / 4.715 GB, free: 128.6 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.231e-05/13.49, allocations: 3.469 kB / 4.715 GB, free: 128.6 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002632/13.49, allocations: 30.52 kB / 4.715 GB, free: 128.6 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1465/13.64, allocations: 87.98 MB / 4.801 GB, free: 84.3 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.386e-05/13.64, allocations: 0 / 4.801 GB, free: 84.3 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005555/13.64, allocations: 0.7438 MB / 4.802 GB, free: 83.81 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06966/13.71, allocations: 16.44 MB / 4.818 GB, free: 74.25 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00349/13.72, allocations: 174.8 kB / 4.818 GB, free: 74.16 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5876/14.3, allocations: 58.74 MB / 4.875 GB, free: 125.6 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/14.3, allocations: 2.531 kB / 4.875 GB, free: 125.6 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09805/14.4, allocations: 30.04 MB / 4.905 GB, free: 124.3 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007658/14.41, allocations: 1.766 MB / 4.906 GB, free: 123.7 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004736/14.41, allocations: 79.88 kB / 4.906 GB, free: 123.7 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01063/14.43, allocations: 490.1 kB / 4.907 GB, free: 123.7 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005528/14.43, allocations: 493.4 kB / 4.907 GB, free: 123.7 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002235/14.43, allocations: 206 kB / 4.908 GB, free: 123.7 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.008435/14.44, allocations: 4.104 MB / 4.912 GB, free: 123.4 MB / 0.6515 GB Notification: Performance of sort global known variables: time 4.71e-07/14.44, allocations: 0 / 4.912 GB, free: 123.4 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.04703/14.49, allocations: 5.27 MB / 4.917 GB, free: 123.1 MB / 0.6515 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.1053/14.59, allocations: 32.61 MB / 4.949 GB, free: 121.1 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.07609/14.67, allocations: 31.95 MB / 4.98 GB, free: 115.3 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/14.67, allocations: 0 / 4.98 GB, free: 115.3 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.02621/14.7, allocations: 9.017 MB / 4.989 GB, free: 111.8 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009158/14.71, allocations: 1.125 MB / 4.99 GB, free: 111.5 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06806/14.77, allocations: 22.67 MB / 5.012 GB, free: 93.21 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008173/14.78, allocations: 5.066 MB / 5.017 GB, free: 89.55 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.02712/14.81, allocations: 10.63 MB / 5.027 GB, free: 83.14 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007357/14.82, allocations: 3.803 MB / 5.031 GB, free: 79.62 MB / 0.6515 GB Notification: Performance of SimCode: time 2.054e-06/14.82, allocations: 0 / 5.031 GB, free: 79.62 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.551/16.37, allocations: 405.1 MB / 5.426 GB, free: 98.78 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/16.37, allocations: 164.2 kB / 5.427 GB, free: 98.58 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/29.96, allocations: 0 / 5.427 GB, free: 98.58 MB / 0.6515 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)