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: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001233/0.001234, allocations: 172.1 kB / 17.39 MB, free: 4.297 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.329/1.329, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0007464/0.0007465, allocations: 89.55 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3549/0.3549, allocations: 48.78 MB / 369 MB, free: 47.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09618/0.09656, allocations: 60.25 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.86/4.957, allocations: 2.967 GB / 3.455 GB, free: 53.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/4.957, allocations: 83.83 kB / 3.455 GB, free: 53.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.041/5.998, allocations: 365.4 MB / 3.812 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.176e-06/5.998, allocations: 3.719 kB / 3.812 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.175e-05/5.998, allocations: 27.28 kB / 3.812 GB, free: 57.85 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.005855/6.004, allocations: 1.812 MB / 3.814 GB, free: 56.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/6.004, allocations: 11.47 kB / 3.814 GB, free: 56.85 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/6.005, allocations: 244.6 kB / 3.814 GB, free: 56.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/6.006, allocations: 0.7288 MB / 3.815 GB, free: 56.35 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/6.007, allocations: 62.03 kB / 3.815 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/6.007, allocations: 84.75 kB / 3.815 GB, free: 56.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003909/6.011, allocations: 2.033 MB / 3.817 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/6.011, allocations: 3.938 kB / 3.817 GB, free: 55.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/6.011, allocations: 39.66 kB / 3.817 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/6.011, allocations: 40.72 kB / 3.817 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/6.015, allocations: 1.944 MB / 3.819 GB, free: 54.88 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004483/6.019, allocations: 4.621 MB / 3.823 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002906/6.022, allocations: 1.331 MB / 3.825 GB, free: 51.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005627/6.023, allocations: 406 kB / 3.825 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1216/6.144, allocations: 79.77 MB / 3.903 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/6.144, allocations: 47.25 kB / 3.903 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=72): time 3.236e-06/6.144, allocations: 0 / 3.903 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72): time 0.008067/6.152, allocations: 2.536 MB / 3.905 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/6.152, allocations: 60.06 kB / 3.905 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008084/6.153, allocations: 0.542 MB / 3.906 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/6.153, allocations: 41.7 kB / 3.906 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000251/6.154, allocations: 348.2 kB / 3.906 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/6.154, allocations: 263.6 kB / 3.907 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.477e-05/6.154, allocations: 16 kB / 3.907 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002018/6.154, allocations: 378.8 kB / 3.907 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/6.155, allocations: 0.5602 MB / 3.907 GB, free: 384 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2144/6.37, allocations: 0.7023 MB / 3.908 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/6.372, allocations: 1.236 MB / 3.909 GB, free: 79.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/6.372, allocations: 5.031 kB / 3.909 GB, free: 79.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003952/6.376, allocations: 2.049 MB / 3.911 GB, free: 79.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.035e-05/6.376, allocations: 162.2 kB / 3.912 GB, free: 79.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/6.376, allocations: 2.469 kB / 3.912 GB, free: 79.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004138/6.38, allocations: 1.646 MB / 3.913 GB, free: 79.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/6.381, allocations: 91.7 kB / 3.913 GB, free: 79.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003371/6.384, allocations: 2.285 MB / 3.915 GB, free: 79.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/6.385, allocations: 137.8 kB / 3.916 GB, free: 79.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/6.385, allocations: 74.61 kB / 3.916 GB, free: 79.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/6.385, allocations: 3.625 kB / 3.916 GB, free: 79.17 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003256/6.388, allocations: 1.955 MB / 3.918 GB, free: 79.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/6.388, allocations: 1.562 kB / 3.918 GB, free: 79.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003528/6.392, allocations: 1.646 MB / 3.919 GB, free: 79.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/6.392, allocations: 86.66 kB / 3.919 GB, free: 79.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/6.395, allocations: 2.284 MB / 3.922 GB, free: 78.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009799/6.396, allocations: 131.2 kB / 3.922 GB, free: 78.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/6.397, allocations: 79.44 kB / 3.922 GB, free: 78.6 MB / 0.5261 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 () * Number of clocked 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.0005474/6.397, allocations: 351.1 kB / 3.922 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/6.397, allocations: 72.62 kB / 3.922 GB, free: 78.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007275/6.405, allocations: 8.564 MB / 3.93 GB, free: 78.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/6.405, allocations: 30.45 kB / 3.931 GB, free: 78.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/6.405, allocations: 0 / 3.931 GB, free: 78.19 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/6.405, allocations: 4.219 kB / 3.931 GB, free: 78.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/6.408, allocations: 4.015 MB / 3.934 GB, free: 77.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/6.408, allocations: 0.75 kB / 3.934 GB, free: 77.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009518/6.409, allocations: 175.9 kB / 3.935 GB, free: 77.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/6.41, allocations: 303.5 kB / 3.935 GB, free: 77.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.109e-05/6.41, allocations: 27.09 kB / 3.935 GB, free: 77.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/6.412, allocations: 2.43 MB / 3.937 GB, free: 75.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/6.412, allocations: 0 / 3.937 GB, free: 75.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/6.416, allocations: 2.659 MB / 3.94 GB, free: 75.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/6.416, allocations: 283.8 kB / 3.94 GB, free: 75.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/6.416, allocations: 21.69 kB / 3.94 GB, free: 75.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007273/6.417, allocations: 77.98 kB / 3.94 GB, free: 75.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/6.417, allocations: 61.02 kB / 3.94 GB, free: 75.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/6.417, allocations: 27.31 kB / 3.94 GB, free: 75.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004041/6.418, allocations: 383.3 kB / 3.941 GB, free: 75.37 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.11e-07/6.418, allocations: 0 / 3.941 GB, free: 75.37 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005025/6.423, allocations: 1.433 MB / 3.942 GB, free: 75.34 MB / 0.5261 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 () * Number of clocked 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.00552/6.428, allocations: 1.558 MB / 3.944 GB, free: 75.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00415/6.433, allocations: 2.348 MB / 3.946 GB, free: 75.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/6.433, allocations: 0 / 3.946 GB, free: 75.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/6.434, allocations: 0.996 MB / 3.947 GB, free: 75.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/6.436, allocations: 368 kB / 3.947 GB, free: 75.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/6.439, allocations: 2.999 MB / 3.95 GB, free: 73.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/6.44, allocations: 1.119 MB / 3.951 GB, free: 73.28 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008114/6.441, allocations: 317.8 kB / 3.952 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/6.441, allocations: 75.83 kB / 3.952 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of SimCode: time 8.22e-07/6.441, allocations: 0 / 3.952 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.07282/6.514, allocations: 66.29 MB / 4.016 GB, free: 70.13 MB / 0.5261 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.makefile (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 & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe 2>&1)