Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.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_AdaptiveAverageTemp,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_AdaptiveAverageTemp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_AdaptiveAverageTemp",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.001411/0.001411, 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.699/1.699, allocations: 205.2 MB / 219.4 MB, free: 14.19 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.0008796/0.0008797, allocations: 82.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3479/0.3479, allocations: 48.79 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.678e-05/3.701e-05, allocations: 4 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1437, allocations: 60.25 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.203/7.346, allocations: 2.966 GB / 3.448 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003533/7.347, allocations: 87.69 kB / 3.448 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.053/8.399, allocations: 364.4 MB / 3.803 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.453e-06/8.399, allocations: 0 / 3.803 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001083/8.4, allocations: 23.98 kB / 3.803 GB, free: 9.352 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.007529/8.407, allocations: 1.742 MB / 3.805 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/8.407, allocations: 9.062 kB / 3.805 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003988/8.408, allocations: 135 kB / 3.805 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/8.409, allocations: 247.1 kB / 3.806 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/8.411, allocations: 0.7119 MB / 3.806 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/8.411, allocations: 62 kB / 3.806 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/8.411, allocations: 84 kB / 3.806 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004071/8.415, allocations: 2.042 MB / 3.808 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/8.415, allocations: 3.906 kB / 3.808 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.8e-05/8.415, allocations: 36 kB / 3.808 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-05/8.415, allocations: 37.98 kB / 3.808 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003933/8.419, allocations: 1.932 MB / 3.81 GB, free: 2.188 MB / 0.5105 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.3137/8.733, allocations: 4.616 MB / 3.815 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003437/8.736, allocations: 1.36 MB / 3.816 GB, free: 55.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/8.737, allocations: 388 kB / 3.817 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1431/8.88, allocations: 80.06 MB / 3.895 GB, free: 37.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/8.88, allocations: 39.94 kB / 3.895 GB, free: 37.68 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=72): time 2.695e-06/8.88, allocations: 2.031 kB / 3.895 GB, free: 37.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72): time 0.006293/8.886, allocations: 2.046 MB / 3.897 GB, free: 37.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/8.886, allocations: 63.5 kB / 3.897 GB, free: 37.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006018/8.887, allocations: 479.3 kB / 3.897 GB, free: 37.39 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/8.887, allocations: 39.27 kB / 3.897 GB, free: 37.36 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/8.887, allocations: 357.1 kB / 3.898 GB, free: 37.22 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/8.887, allocations: 255.9 kB / 3.898 GB, free: 37.09 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-05/8.888, allocations: 17.84 kB / 3.898 GB, free: 37.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001534/8.888, allocations: 377.5 kB / 3.898 GB, free: 36.78 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007228/8.888, allocations: 0.5353 MB / 3.899 GB, free: 36.78 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007738/8.889, allocations: 0.6772 MB / 3.899 GB, free: 36.63 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007798/8.89, allocations: 0.5785 MB / 3.9 GB, free: 36.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/8.89, allocations: 0 / 3.9 GB, free: 36.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003215/8.893, allocations: 1.992 MB / 3.902 GB, free: 36.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003279/8.894, allocations: 0.88 MB / 3.903 GB, free: 35.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/8.894, allocations: 3.25 kB / 3.903 GB, free: 35.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003448/8.897, allocations: 1.576 MB / 3.904 GB, free: 35.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/8.897, allocations: 92.62 kB / 3.904 GB, free: 35.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/8.901, allocations: 2.276 MB / 3.907 GB, free: 34.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/8.902, allocations: 142 kB / 3.907 GB, free: 34.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/8.902, allocations: 77.67 kB / 3.907 GB, free: 34.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/8.902, allocations: 11.22 kB / 3.907 GB, free: 34.95 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003043/8.905, allocations: 1.889 MB / 3.909 GB, free: 34.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/8.905, allocations: 0 / 3.909 GB, free: 34.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003424/8.908, allocations: 1.58 MB / 3.91 GB, free: 34.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/8.909, allocations: 79.98 kB / 3.91 GB, free: 34.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003035/8.912, allocations: 2.265 MB / 3.913 GB, free: 34.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/8.913, allocations: 137.9 kB / 3.913 GB, free: 34.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/8.913, allocations: 73.25 kB / 3.913 GB, free: 34.27 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (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 (45): * Single equations (assignments): 44 * 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 {4 41} Notification: Performance of prepare postOptimizeDAE: time 0.0004246/8.913, allocations: 143.6 kB / 3.913 GB, free: 34.16 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/8.914, allocations: 83.22 kB / 3.913 GB, free: 34.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007125/8.921, allocations: 8.814 MB / 3.922 GB, free: 33.92 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/8.921, allocations: 25.69 kB / 3.922 GB, free: 33.92 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/8.921, allocations: 4 kB / 3.922 GB, free: 33.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/8.921, allocations: 3.797 kB / 3.922 GB, free: 33.91 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/8.924, allocations: 4.019 MB / 3.926 GB, free: 32.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/8.924, allocations: 0 / 3.926 GB, free: 32.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009109/8.925, allocations: 175.8 kB / 3.926 GB, free: 32.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/8.926, allocations: 293.2 kB / 3.926 GB, free: 32.89 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/8.926, allocations: 25.84 kB / 3.926 GB, free: 32.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/8.929, allocations: 2.426 MB / 3.928 GB, free: 31.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/8.929, allocations: 0 / 3.928 GB, free: 31.61 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/8.932, allocations: 2.586 MB / 3.931 GB, free: 31.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004756/8.933, allocations: 281.3 kB / 3.931 GB, free: 31.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/8.933, allocations: 25.33 kB / 3.931 GB, free: 31.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000718/8.934, allocations: 80.38 kB / 3.931 GB, free: 31.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/8.934, allocations: 58.7 kB / 3.931 GB, free: 31.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.69e-05/8.934, allocations: 26.59 kB / 3.931 GB, free: 31.15 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004132/8.934, allocations: 381.4 kB / 3.932 GB, free: 31.06 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/8.934, allocations: 0 / 3.932 GB, free: 31.06 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005051/8.939, allocations: 1.436 MB / 3.933 GB, free: 31.03 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3]) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(4,81.2%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01012/8.949, allocations: 4.599 MB / 3.938 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003941/8.953, allocations: 2.286 MB / 3.94 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/8.953, allocations: 4.062 kB / 3.94 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/8.955, allocations: 0.9679 MB / 3.941 GB, free: 29.94 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/8.957, allocations: 357.8 kB / 3.941 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006137/8.963, allocations: 2.58 MB / 3.944 GB, free: 29.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/8.964, allocations: 1.142 MB / 3.945 GB, free: 28.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009801/8.965, allocations: 373.8 kB / 3.945 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004845/8.965, allocations: 394.6 kB / 3.946 GB, free: 28.56 MB / 0.5417 GB Notification: Performance of SimCode: time 1.062e-06/8.965, allocations: 0 / 3.946 GB, free: 28.56 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/9.072, allocations: 78.32 MB / 4.022 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/9.073, allocations: 224.1 kB / 4.022 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.008/13.08, allocations: 0 / 4.022 GB, free: 1.469 MB / 0.5573 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_AdaptiveAverageTemp_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_AdaptiveAverageTemp.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe 2>&1)