Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.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.TestWaterFlow1DFEM_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 108.2 kB / 17.74 MB, free: 5.359 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.001248/0.001249, allocations: 189.4 kB / 18.68 MB, free: 4.434 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.528/1.528, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.281/0.281, allocations: 48.84 MB / 320.7 MB, free: 11.02 MB / 270.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.001562/0.001562, allocations: 71.89 kB / 451.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09891/0.1005, allocations: 59.16 MB / 0.4984 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A): time 0.2622/0.3627, allocations: 51.74 MB / 0.549 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.3763, allocations: 11.5 MB / 0.5602 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006833/0.377, allocations: 17 kB / 0.5602 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009047/0.378, allocations: 330.2 kB / 0.5605 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009611/0.3789, allocations: 459.7 kB / 0.561 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01488/0.3938, allocations: 5.265 MB / 0.5661 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006423/0.4003, allocations: 6.335 MB / 0.5723 GB, free: 7.387 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003533/0.4038, allocations: 2.248 MB / 0.5745 GB, free: 5.973 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.4073, allocations: 1.847 MB / 0.5763 GB, free: 5.145 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005802/0.4131, allocations: 2.991 MB / 0.5792 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002448/0.4156, allocations: 0.6457 MB / 0.5798 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01615/0.4317, allocations: 6.923 MB / 0.5866 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003341/0.4351, allocations: 2.327 MB / 0.5889 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004083/0.4392, allocations: 2.882 MB / 0.5917 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01559/0.4548, allocations: 10.29 MB / 0.6017 GB, free: 316 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4549, allocations: 0 / 0.6017 GB, free: 316 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4549, allocations: 0 / 0.6017 GB, free: 316 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001202/0.455, allocations: 4 kB / 0.6017 GB, free: 312 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.02955/0.4846, allocations: 8.345 MB / 0.6099 GB, free: 7.895 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.4846, allocations: 11.89 kB / 0.6099 GB, free: 7.883 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004019/0.4886, allocations: 0.7997 MB / 0.6107 GB, free: 7.078 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007428/0.4961, allocations: 2.838 MB / 0.6135 GB, free: 4.195 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004513/0.4966, allocations: 409.8 kB / 0.6138 GB, free: 3.797 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001748/0.4983, allocations: 0.52 MB / 0.6144 GB, free: 3.277 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02953/0.5279, allocations: 12.31 MB / 0.6264 GB, free: 6.914 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001942/0.5281, allocations: 0 / 0.6264 GB, free: 6.914 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00162/0.5298, allocations: 216 kB / 0.6266 GB, free: 6.703 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002073/0.53, allocations: 222.8 kB / 0.6268 GB, free: 6.484 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04293/0.5729, allocations: 14.43 MB / 0.6409 GB, free: 8.035 MB / 494.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.03648/0.6094, allocations: 24.09 MB / 0.6644 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/0.6219, allocations: 4.666 MB / 0.669 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003812/0.6257, allocations: 2.133 MB / 0.6711 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1303/0.756, allocations: 64.29 MB / 0.7338 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.397e-05/0.7561, allocations: 60.56 kB / 0.7339 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=249): time 4.969e-06/0.7561, allocations: 4 kB / 0.7339 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=249): time 0.3522/1.108, allocations: 26.54 MB / 0.7598 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/1.108, allocations: 76.47 kB / 0.7599 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004613/1.113, allocations: 3.977 MB / 0.7638 GB, free: 165.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000897/1.114, allocations: 67.14 kB / 0.7638 GB, free: 165.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001388/1.115, allocations: 3.181 MB / 0.7669 GB, free: 163.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001335/1.117, allocations: 0.9968 MB / 0.7679 GB, free: 163 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002454/1.119, allocations: 1.958 MB / 0.7698 GB, free: 162.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.418e-05/1.119, allocations: 350.9 kB / 0.7702 GB, free: 162.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005665/1.125, allocations: 3.91 MB / 0.774 GB, free: 162.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007399/1.132, allocations: 8.932 MB / 0.7827 GB, free: 155.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/1.146, allocations: 13.45 MB / 0.7958 GB, free: 144.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000213/1.146, allocations: 52.88 kB / 0.7959 GB, free: 144.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.02351/1.17, allocations: 15.13 MB / 0.8107 GB, free: 134.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/1.17, allocations: 84 kB / 0.8107 GB, free: 134.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002279/1.17, allocations: 177.6 kB / 0.8109 GB, free: 134.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03774/1.208, allocations: 11.63 MB / 0.8223 GB, free: 123 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00489/1.213, allocations: 1.716 MB / 0.8239 GB, free: 121.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0158/1.228, allocations: 9.88 MB / 0.8336 GB, free: 111.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006644/1.235, allocations: 1.193 MB / 0.8348 GB, free: 110.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001654/1.237, allocations: 0.6404 MB / 0.8354 GB, free: 109.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006842/1.244, allocations: 5.05 MB / 0.8403 GB, free: 104.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006655/1.25, allocations: 8.866 MB / 0.849 GB, free: 93.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01266/1.263, allocations: 13.32 MB / 0.862 GB, free: 77.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.447e-05/1.263, allocations: 51.94 kB / 0.862 GB, free: 77.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1093) (initialization_lambda0): time 0.02635/1.29, allocations: 15.86 MB / 0.8775 GB, free: 61.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.047e-05/1.29, allocations: 84 kB / 0.8776 GB, free: 61.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/1.29, allocations: 176 kB / 0.8778 GB, free: 61.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03729/1.327, allocations: 11.66 MB / 0.8891 GB, free: 49.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004209/1.331, allocations: 1.692 MB / 0.8908 GB, free: 47.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/1.347, allocations: 9.889 MB / 0.9005 GB, free: 38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00626/1.353, allocations: 0.8623 MB / 0.9013 GB, free: 37.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009718/1.354, allocations: 0.6451 MB / 0.9019 GB, free: 36.49 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 14 (hex.fluidState[12].phase,hex.fluidState[11].phase,hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,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 (918): * Single equations (assignments): 917 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,163)} Notification: Performance of prepare postOptimizeDAE: time 0.001708/1.356, allocations: 0.8305 MB / 0.9027 GB, free: 35.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008089/1.357, allocations: 359.4 kB / 0.9031 GB, free: 35.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04386/1.401, allocations: 32.52 MB / 0.9348 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.912e-05/1.401, allocations: 11.95 kB / 0.9349 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/1.401, allocations: 4 kB / 0.9349 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001795/1.403, allocations: 0.8653 MB / 0.9357 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007017/1.403, allocations: 91.95 kB / 0.9358 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003012/1.406, allocations: 311.5 kB / 0.9361 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009148/1.407, allocations: 354.4 kB / 0.9364 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02508/1.432, allocations: 9.435 MB / 0.9456 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01369/1.446, allocations: 9.27 MB / 0.9547 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003939/1.45, allocations: 2.924 MB / 0.9575 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002901/1.453, allocations: 2.317 MB / 0.9598 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of Backend: time 4.01e-07/1.453, allocations: 0 / 0.9598 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.03582/1.489, allocations: 15.82 MB / 0.9753 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of SimCode: time 0.2382/1.727, allocations: 10.84 MB / 0.9858 GB, free: 229.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.1971/1.924, allocations: 181.3 MB / 1.163 GB, free: 79.49 MB / 0.6387 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe 2>&1)