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.001373/0.001373, allocations: 91.59 kB / 16.3 MB, free: 5.992 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.00149/0.00149, allocations: 181.3 kB / 17.2 MB, free: 5.906 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.549/1.549, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4829/0.4829, allocations: 48.78 MB / 320.4 MB, free: 3.836 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.0006106/0.000611, allocations: 19.28 kB / 391.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1429, allocations: 60.25 MB / 451.4 MB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A): time 0.3202/0.4631, allocations: 43.49 MB / 494.9 MB, free: 22.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.4752, allocations: 9.999 MB / 0.4931 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007429/0.476, allocations: 11.94 kB / 0.4931 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009301/0.477, allocations: 291.8 kB / 0.4933 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009411/0.4779, allocations: 344 kB / 0.4937 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01459/0.4925, allocations: 4.123 MB / 0.4977 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004722/0.4973, allocations: 4.026 MB / 0.5016 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003488/0.5008, allocations: 1.906 MB / 0.5035 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.5039, allocations: 1.601 MB / 0.5051 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004685/0.5086, allocations: 2.718 MB / 0.5077 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.5101, allocations: 333 kB / 0.508 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01421/0.5243, allocations: 6.484 MB / 0.5144 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003045/0.5274, allocations: 1.898 MB / 0.5162 GB, free: 220 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002006/0.5294, allocations: 0.7495 MB / 0.5169 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.5417, allocations: 7.546 MB / 0.5243 GB, free: 7.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.5417, allocations: 3.938 kB / 0.5243 GB, free: 7.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5417, allocations: 0 / 0.5243 GB, free: 7.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000199/0.5419, allocations: 0 / 0.5243 GB, free: 7.895 MB / 398.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.0314/0.5733, allocations: 10.55 MB / 0.5346 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5734, allocations: 12.02 kB / 0.5346 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005055/0.5785, allocations: 0.7871 MB / 0.5354 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008681/0.5872, allocations: 2.829 MB / 0.5382 GB, free: 9.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003506/0.5876, allocations: 406.7 kB / 0.5386 GB, free: 9.191 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001806/0.5894, allocations: 0.5156 MB / 0.5391 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02638/0.6158, allocations: 12.23 MB / 0.551 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.935e-05/0.6159, allocations: 4 kB / 0.551 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009271/0.6168, allocations: 216 kB / 0.5512 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002083/0.617, allocations: 226.8 kB / 0.5514 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04038/0.6574, allocations: 14.41 MB / 0.5655 GB, free: 13.53 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.03863/0.6961, allocations: 24.1 MB / 0.589 GB, free: 3.535 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.7073, allocations: 4.665 MB / 0.5936 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3488/1.056, allocations: 64.63 MB / 0.6567 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.16e-05/1.056, allocations: 64.05 kB / 0.6568 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 4.468e-06/1.056, allocations: 0 / 0.6568 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=249): time 0.118/1.174, allocations: 26.14 MB / 0.6823 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/1.174, allocations: 76.06 kB / 0.6824 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004815/1.179, allocations: 3.985 MB / 0.6863 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001189/1.18, allocations: 66.61 kB / 0.6863 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001765/1.182, allocations: 3.175 MB / 0.6894 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001868/1.184, allocations: 1.005 MB / 0.6904 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005509/1.185, allocations: 174.3 kB / 0.6906 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003406/1.185, allocations: 0.7186 MB / 0.6913 GB, free: 128 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004788/1.19, allocations: 3.847 MB / 0.695 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00647/1.196, allocations: 8.866 MB / 0.7037 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006621/1.203, allocations: 5.452 MB / 0.709 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/1.203, allocations: 52 kB / 0.7091 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.02231/1.225, allocations: 15.06 MB / 0.7238 GB, free: 94.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.01422/1.24, allocations: 70.18 MB / 0.7923 GB, free: 18.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000389/1.24, allocations: 176 kB / 0.7925 GB, free: 18.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03753/1.278, allocations: 11.67 MB / 0.8039 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004543/1.282, allocations: 1.715 MB / 0.8055 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0172/1.299, allocations: 9.866 MB / 0.8152 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008371/1.308, allocations: 1.295 MB / 0.8164 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002021/1.31, allocations: 0.6365 MB / 0.8171 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.31, allocations: 4 kB / 0.8171 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2627/1.573, allocations: 14.58 MB / 0.8313 GB, free: 144.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007099/1.573, allocations: 174.6 kB / 0.8315 GB, free: 144.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03976/1.613, allocations: 11.68 MB / 0.8429 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005467/1.619, allocations: 1.703 MB / 0.8445 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02114/1.64, allocations: 9.868 MB / 0.8542 GB, free: 142 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008336/1.648, allocations: 0.9714 MB / 0.8551 GB, free: 141.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002336/1.651, allocations: 0.6352 MB / 0.8557 GB, free: 141.7 MB / 0.5137 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 (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 {13 163} Notification: Performance of prepare postOptimizeDAE: time 0.004954/1.655, allocations: 1.851 MB / 0.8575 GB, free: 140.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009185/1.656, allocations: 360.7 kB / 0.8579 GB, free: 140.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04631/1.703, allocations: 32.53 MB / 0.8897 GB, free: 124.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001806/1.703, allocations: 75.91 kB / 0.8897 GB, free: 124.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.718e-05/1.703, allocations: 0 / 0.8897 GB, free: 124.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001335/1.703, allocations: 12.47 kB / 0.8897 GB, free: 124.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05824/1.761, allocations: 44.65 MB / 0.9333 GB, free: 79.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.225e-05/1.762, allocations: 4.594 kB / 0.9334 GB, free: 79.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00228/1.764, allocations: 381.8 kB / 0.9337 GB, free: 79.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0321/1.796, allocations: 8.474 MB / 0.942 GB, free: 70.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001008/1.797, allocations: 119.9 kB / 0.9421 GB, free: 70.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04994/1.847, allocations: 31.74 MB / 0.9731 GB, free: 38.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.847, allocations: 0.8125 kB / 0.9731 GB, free: 38.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03444/1.881, allocations: 15.33 MB / 0.9881 GB, free: 23.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002732/1.884, allocations: 0.9161 MB / 0.989 GB, free: 22.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007179/1.885, allocations: 91.95 kB / 0.9891 GB, free: 22.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002873/1.888, allocations: 295.3 kB / 0.9893 GB, free: 22.06 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/1.889, allocations: 247.2 kB / 0.9896 GB, free: 21.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002584/1.889, allocations: 103.9 kB / 0.9897 GB, free: 21.72 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002379/1.892, allocations: 2.325 MB / 0.9919 GB, free: 19.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.2e-07/1.892, allocations: 4 kB / 0.9919 GB, free: 19.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01471/1.906, allocations: 3.367 MB / 0.9952 GB, free: 16.1 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],hex.h[12]) * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (150): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 {13 126} Notification: Performance of Backend phase and start with SimCode phase: time 0.004695/1.911, allocations: 1.04 MB / 0.9963 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.03191/1.943, allocations: 16.89 MB / 1.013 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/1.943, allocations: 4 kB / 1.013 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01222/1.955, allocations: 4.691 MB / 1.017 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003232/1.958, allocations: 0.6646 MB / 1.018 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2388/2.197, allocations: 13.63 MB / 1.031 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002678/2.2, allocations: 2.878 MB / 1.034 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01306/2.213, allocations: 5.64 MB / 1.04 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/2.214, allocations: 285.2 kB / 1.04 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.723e-06/2.214, allocations: 0 / 1.04 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.2042/2.419, allocations: 179.4 MB / 1.215 GB, free: 3.48 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: