Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_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.TestGasFlow1DFV_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 95.64 kB / 16.3 MB, free: 5.996 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.00132/0.00132, allocations: 182.5 kB / 17.2 MB, free: 5.914 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.522/1.522, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3288/0.3288, allocations: 48.78 MB / 320.4 MB, free: 11.32 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.0005396/0.0005398, allocations: 14.38 kB / 391.1 MB, free: 50.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1275, allocations: 60.28 MB / 451.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A): time 0.4682/0.5957, allocations: 150.1 MB / 0.5874 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007796/0.6036, allocations: 3.795 MB / 0.5911 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.6051, allocations: 16.16 kB / 0.5911 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.6068, allocations: 313.8 kB / 0.5914 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.6099, allocations: 0.6275 MB / 0.5921 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.6134, allocations: 0.8071 MB / 0.5928 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004755/0.6181, allocations: 2.706 MB / 0.5955 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003007/0.6212, allocations: 1.165 MB / 0.5966 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003833/0.625, allocations: 1.381 MB / 0.598 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003049/0.6281, allocations: 1.145 MB / 0.5991 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001229/0.6293, allocations: 116.7 kB / 0.5992 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/0.6323, allocations: 375.2 kB / 0.5996 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002076/0.6344, allocations: 0.8311 MB / 0.6004 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.6363, allocations: 464.5 kB / 0.6008 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005419/0.6417, allocations: 2.49 MB / 0.6032 GB, free: 10.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.6418, allocations: 1.859 kB / 0.6033 GB, free: 10.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6418, allocations: 0 / 0.6033 GB, free: 10.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002043/0.642, allocations: 3.125 kB / 0.6033 GB, free: 10.03 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: 535 * Number of variables: 535 Notification: Performance of Generate backend data structure: time 0.009162/0.6512, allocations: 2.281 MB / 0.6055 GB, free: 8.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.498e-05/0.6513, allocations: 14.2 kB / 0.6055 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007478/0.6587, allocations: 0.6803 MB / 0.6062 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004508/0.6633, allocations: 1.109 MB / 0.6072 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/0.6636, allocations: 153.4 kB / 0.6074 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/0.6651, allocations: 284.3 kB / 0.6077 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009972/0.6751, allocations: 3.461 MB / 0.611 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.43e-05/0.6752, allocations: 6.828 kB / 0.611 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009307/0.6762, allocations: 93.95 kB / 0.6111 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001653/0.6763, allocations: 115 kB / 0.6112 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008023/0.6844, allocations: 3.724 MB / 0.6149 GB, free: 5.551 MB / 430.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.0241/0.7085, allocations: 10.97 MB / 0.6256 GB, free: 9.906 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005954/0.7145, allocations: 2.985 MB / 0.6285 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/0.7148, allocations: 34.14 kB / 0.6285 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.279e-05/0.7149, allocations: 64.56 kB / 0.6286 GB, free: 6.785 MB / 446.1 MB Notification: Performance of pre-optimization done (n=203): time 5.06e-06/0.7149, allocations: 0 / 0.6286 GB, free: 6.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=206): time 0.02662/0.7415, allocations: 8.745 MB / 0.6371 GB, free: 13.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.7417, allocations: 107.1 kB / 0.6372 GB, free: 13.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.7431, allocations: 0.8289 MB / 0.6381 GB, free: 12.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003951/0.7435, allocations: 61.7 kB / 0.6381 GB, free: 12.92 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006434/0.7442, allocations: 0.7639 MB / 0.6389 GB, free: 12.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009182/0.7451, allocations: 0.7085 MB / 0.6396 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.7453, allocations: 48 kB / 0.6396 GB, free: 11.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002874/0.7456, allocations: 451.3 kB / 0.64 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/0.7479, allocations: 1.176 MB / 0.6412 GB, free: 9.746 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002657/0.7505, allocations: 1.75 MB / 0.6429 GB, free: 7.758 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/0.7532, allocations: 1.45 MB / 0.6443 GB, free: 6.312 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.89e-05/0.7533, allocations: 4 kB / 0.6443 GB, free: 6.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.02501/0.7783, allocations: 5.475 MB / 0.6497 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00336/0.7817, allocations: 6.277 MB / 0.6558 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.333e-05/0.7818, allocations: 16 kB / 0.6558 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/0.7925, allocations: 2.709 MB / 0.6584 GB, free: 7.316 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.7947, allocations: 489.2 kB / 0.6589 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008073/0.8028, allocations: 5.45 MB / 0.6642 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/0.8059, allocations: 251.7 kB / 0.6645 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005314/0.8064, allocations: 164 kB / 0.6646 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.8065, allocations: 4 kB / 0.6646 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0237/0.8302, allocations: 5.307 MB / 0.6698 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.411e-05/0.8303, allocations: 16 kB / 0.6698 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/0.8403, allocations: 2.717 MB / 0.6725 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/0.8423, allocations: 483.4 kB / 0.6729 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007507/0.8498, allocations: 5.447 MB / 0.6783 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/0.8524, allocations: 247.6 kB / 0.6785 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004511/0.8528, allocations: 160 kB / 0.6787 GB, free: 2.41 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 98} Notification: Performance of prepare postOptimizeDAE: time 0.001675/0.8545, allocations: 0.6721 MB / 0.6793 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005468/0.8551, allocations: 146.4 kB / 0.6794 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009272/0.8644, allocations: 4.12 MB / 0.6835 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.8644, allocations: 20 kB / 0.6835 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/0.8645, allocations: 7.938 kB / 0.6835 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.8645, allocations: 13.81 kB / 0.6835 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.8766, allocations: 5.936 MB / 0.6893 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.8767, allocations: 8.016 kB / 0.6893 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/0.8791, allocations: 467.5 kB / 0.6898 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003883/0.883, allocations: 1.124 MB / 0.6909 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003262/0.8833, allocations: 87.92 kB / 0.6909 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01108/0.8944, allocations: 8.302 MB / 0.6991 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.8944, allocations: 1.859 kB / 0.6991 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/0.9061, allocations: 5.065 MB / 0.704 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007332/0.9069, allocations: 195.5 kB / 0.7042 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005794/0.9075, allocations: 51.98 kB / 0.7042 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002418/0.91, allocations: 179.7 kB / 0.7044 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005182/0.9105, allocations: 157.8 kB / 0.7046 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004494/0.911, allocations: 151.9 kB / 0.7047 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009819/0.912, allocations: 0.5497 MB / 0.7052 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.2e-07/0.912, allocations: 0 / 0.7052 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004864/0.9169, allocations: 1.121 MB / 0.7063 GB, free: 5.688 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (Mbal,hex.Ttilde[1],hex.Ttilde[2],hex.Ttilde[3],hex.Ttilde[4],hex.Ttilde[5],hex.Ttilde[6],hex.Ttilde[7],hex.Ttilde[8],hex.Ttilde[9],hex.p) * 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 (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009422/0.9178, allocations: 233.8 kB / 0.7066 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01112/0.929, allocations: 5.167 MB / 0.7116 GB, free: 288 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.929, allocations: 1.875 kB / 0.7116 GB, free: 288 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00391/0.9329, allocations: 1.956 MB / 0.7135 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/0.9362, allocations: 0.6016 MB / 0.7141 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009789/0.946, allocations: 5.563 MB / 0.7195 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/0.9478, allocations: 1.573 MB / 0.7211 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004931/0.9527, allocations: 1.137 MB / 0.7222 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/0.954, allocations: 239.3 kB / 0.7224 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of SimCode: time 1.372e-06/0.954, allocations: 4 kB / 0.7224 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of Templates: time 0.3026/1.257, allocations: 56.71 MB / 0.7778 GB, free: 205.2 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe 2>&1) Environment - environmentSimulation: