Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000858/0.0008578, allocations: 88.53 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008469/0.000847, allocations: 183.1 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.4 MB / 223.4 MB, free: 5.301 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4944/0.4944, allocations: 48.78 MB / 320.4 MB, free: 3.852 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005095/0.0005095, allocations: 22.95 kB / 391.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1417, allocations: 60.26 MB / 451.4 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast): time 0.3399/0.4817, allocations: 48.81 MB / 0.4885 GB, free: 18.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005051/0.4869, allocations: 1.288 MB / 0.4898 GB, free: 17.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.488, allocations: 11.5 kB / 0.4898 GB, free: 17.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.4892, allocations: 205.8 kB / 0.49 GB, free: 17.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.4912, allocations: 470.3 kB / 0.4904 GB, free: 16.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003691/0.4949, allocations: 0.6019 MB / 0.491 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008157/0.5031, allocations: 3.369 MB / 0.4943 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003993/0.5072, allocations: 1.163 MB / 0.4954 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/0.5114, allocations: 0.9884 MB / 0.4964 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004905/0.5163, allocations: 1.571 MB / 0.4979 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00116/0.5175, allocations: 130.2 kB / 0.4981 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1315/0.6491, allocations: 49.07 MB / 0.546 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002048/0.6512, allocations: 1.146 MB / 0.5471 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.6525, allocations: 0.4967 MB / 0.5476 GB, free: 92 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003204/0.6557, allocations: 2.513 MB / 0.5501 GB, free: 13.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6557, allocations: 0 / 0.5501 GB, free: 13.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.6558, allocations: 0 / 0.5501 GB, free: 13.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.453e-05/0.6559, allocations: 4 kB / 0.5501 GB, free: 13.57 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.009584/0.6654, allocations: 3.715 MB / 0.5537 GB, free: 9.789 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.6655, allocations: 15.95 kB / 0.5537 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009209/0.6664, allocations: 253.2 kB / 0.5539 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00368/0.6701, allocations: 1.448 MB / 0.5554 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.6703, allocations: 172.6 kB / 0.5555 GB, free: 7.855 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008186/0.6711, allocations: 271.6 kB / 0.5558 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009048/0.6802, allocations: 3.863 MB / 0.5596 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.256e-05/0.6803, allocations: 0 / 0.5596 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005106/0.6808, allocations: 92 kB / 0.5596 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002209/0.6811, allocations: 152.9 kB / 0.5598 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009214/0.6903, allocations: 5.614 MB / 0.5653 GB, free: 13.79 MB / 446.1 MB 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.02189/0.7122, allocations: 16.45 MB / 0.5813 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009046/0.7213, allocations: 4.824 MB / 0.586 GB, free: 6.969 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002767/0.7241, allocations: 1.968 MB / 0.588 GB, free: 4.992 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01332/0.7374, allocations: 9.589 MB / 0.5973 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.7375, allocations: 56.56 kB / 0.5974 GB, free: 10.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=234): time 4.298e-06/0.7375, allocations: 0 / 0.5974 GB, free: 10.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=234): time 0.02773/0.7653, allocations: 10.38 MB / 0.6075 GB, free: 68 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.7654, allocations: 85.34 kB / 0.6076 GB, free: 15.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.7666, allocations: 0.7973 MB / 0.6084 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004232/0.7671, allocations: 65.7 kB / 0.6084 GB, free: 15.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006422/0.7677, allocations: 0.8416 MB / 0.6093 GB, free: 14.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001036/0.7688, allocations: 0.8396 MB / 0.6101 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.769, allocations: 52 kB / 0.6101 GB, free: 13.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002561/0.7693, allocations: 460.2 kB / 0.6106 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/0.7716, allocations: 1.407 MB / 0.6119 GB, free: 11.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/0.7744, allocations: 2.055 MB / 0.614 GB, free: 9.145 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/0.7771, allocations: 1.716 MB / 0.6156 GB, free: 7.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.696e-05/0.7771, allocations: 8 kB / 0.6156 GB, free: 7.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.007823/0.785, allocations: 4.499 MB / 0.62 GB, free: 2.789 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004473/0.7854, allocations: 0.6236 MB / 0.6206 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.945e-05/0.7855, allocations: 21.41 kB / 0.6207 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004256/0.7897, allocations: 1.28 MB / 0.6219 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.7918, allocations: 487.2 kB / 0.6224 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008981/0.8008, allocations: 11.61 MB / 0.6337 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/0.8032, allocations: 377.2 kB / 0.6341 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000408/0.8036, allocations: 116 kB / 0.6342 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.8036, allocations: 4 kB / 0.6342 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2283/1.032, allocations: 4.298 MB / 0.6384 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.382e-05/1.032, allocations: 17.34 kB / 0.6384 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003893/1.036, allocations: 1.285 MB / 0.6397 GB, free: 161.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/1.038, allocations: 476.5 kB / 0.6401 GB, free: 161.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006358/1.044, allocations: 11.61 MB / 0.6515 GB, free: 151.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/1.047, allocations: 346.4 kB / 0.6518 GB, free: 151.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/1.047, allocations: 117.3 kB / 0.6519 GB, free: 151.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (281): * Single equations (assignments): 262 * 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: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 19 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001263/1.049, allocations: 0.7391 MB / 0.6526 GB, free: 151.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003092/1.049, allocations: 146.3 kB / 0.6528 GB, free: 151.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009893/1.059, allocations: 5.556 MB / 0.6582 GB, free: 150.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/1.059, allocations: 26.31 kB / 0.6582 GB, free: 150.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-05/1.059, allocations: 15.25 kB / 0.6582 GB, free: 150.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/1.059, allocations: 13.22 kB / 0.6582 GB, free: 150.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003859/1.063, allocations: 2.492 MB / 0.6607 GB, free: 149.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.063, allocations: 3.969 kB / 0.6607 GB, free: 149.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/1.064, allocations: 316.4 kB / 0.661 GB, free: 149.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008636/1.073, allocations: 2.704 MB / 0.6636 GB, free: 149 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004111/1.073, allocations: 94.83 kB / 0.6637 GB, free: 149 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02125/1.094, allocations: 11.82 MB / 0.6752 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.094, allocations: 1.625 kB / 0.6752 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01261/1.107, allocations: 7.194 MB / 0.6823 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/1.108, allocations: 0.5449 MB / 0.6828 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/1.109, allocations: 63.72 kB / 0.6829 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/1.11, allocations: 187 kB / 0.683 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006598/1.111, allocations: 184.9 kB / 0.6832 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001845/1.111, allocations: 81.92 kB / 0.6833 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007193/1.112, allocations: 0.5197 MB / 0.6838 GB, free: 141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/1.112, allocations: 0 / 0.6838 GB, free: 141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005127/1.117, allocations: 1.586 MB / 0.6854 GB, free: 140.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 178 * 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: 1 {(19,57.6%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005276/1.117, allocations: 216.5 kB / 0.6856 GB, free: 140.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01583/1.133, allocations: 7.047 MB / 0.6924 GB, free: 137.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.133, allocations: 1.641 kB / 0.6924 GB, free: 137.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005503/1.139, allocations: 2.709 MB / 0.6951 GB, free: 136.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004309/1.143, allocations: 0.9101 MB / 0.696 GB, free: 135.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008403/1.151, allocations: 6.889 MB / 0.7027 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/1.152, allocations: 1.647 MB / 0.7043 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003665/1.156, allocations: 1.304 MB / 0.7056 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004952/1.157, allocations: 163.4 kB / 0.7057 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/1.157, allocations: 0 / 0.7057 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.06697/1.224, allocations: 54.09 MB / 0.7586 GB, free: 71.12 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe 2>&1) Environment - environmentSimulation: