Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.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_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C") translateModel(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009757/0.0009759, allocations: 97.08 kB / 16.3 MB, free: 5.578 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.0009421/0.0009421, allocations: 183.2 kB / 17.2 MB, free: 5.512 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.52/1.52, allocations: 205.4 MB / 223.3 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.3405/0.3405, allocations: 48.78 MB / 320.4 MB, free: 11.31 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.0004867/0.0004869, allocations: 19.5 kB / 391.1 MB, free: 50.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1168, allocations: 60.28 MB / 451.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C): time 0.4547/0.5716, allocations: 153 MB / 0.5902 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007331/0.5789, allocations: 4.785 MB / 0.5949 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.5804, allocations: 15.47 kB / 0.5949 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.5821, allocations: 415.5 kB / 0.5953 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.5844, allocations: 0.627 MB / 0.5959 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00399/0.5884, allocations: 1.107 MB / 0.597 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004443/0.5928, allocations: 3.061 MB / 0.6 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002712/0.5956, allocations: 1.43 MB / 0.6014 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003552/0.5991, allocations: 1.554 MB / 0.6029 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/0.6019, allocations: 1.467 MB / 0.6044 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005585/0.6024, allocations: 157.8 kB / 0.6045 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.6052, allocations: 0.8277 MB / 0.6053 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.6066, allocations: 1.31 MB / 0.6066 GB, free: 9.191 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.6076, allocations: 0.5817 MB / 0.6072 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003831/0.6115, allocations: 3.532 MB / 0.6106 GB, free: 7.227 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6115, allocations: 0 / 0.6106 GB, free: 7.227 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6115, allocations: 0 / 0.6106 GB, free: 7.227 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001116/0.6116, allocations: 0 / 0.6106 GB, free: 7.227 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: 696 * Number of variables: 696 Notification: Performance of Generate backend data structure: time 0.008595/0.6202, allocations: 3.003 MB / 0.6136 GB, free: 5.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.6203, allocations: 14.45 kB / 0.6136 GB, free: 5.516 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008798/0.6291, allocations: 1.505 MB / 0.615 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005614/0.6347, allocations: 1.558 MB / 0.6166 GB, free: 3.996 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.6349, allocations: 194.1 kB / 0.6167 GB, free: 3.844 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001532/0.6365, allocations: 439.3 kB / 0.6172 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008967/0.6454, allocations: 4.973 MB / 0.622 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.119e-05/0.6455, allocations: 0 / 0.622 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004546/0.646, allocations: 115.9 kB / 0.6221 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002163/0.6462, allocations: 205.3 kB / 0.6223 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009021/0.6552, allocations: 5.552 MB / 0.6277 GB, free: 8.496 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.02925/0.6845, allocations: 16.05 MB / 0.6434 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005616/0.6901, allocations: 4.02 MB / 0.6473 GB, free: 2.996 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003404/0.6905, allocations: 50.22 kB / 0.6474 GB, free: 2.945 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.33e-05/0.6906, allocations: 77.39 kB / 0.6475 GB, free: 2.859 MB / 462.1 MB Notification: Performance of pre-optimization done (n=287): time 5.29e-06/0.6906, allocations: 0 / 0.6475 GB, free: 2.859 MB / 462.1 MB Notification: Performance of matching and sorting (n=292): time 0.04035/0.731, allocations: 15.22 MB / 0.6623 GB, free: 3.418 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/0.7311, allocations: 107.4 kB / 0.6624 GB, free: 3.293 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.7322, allocations: 0.7035 MB / 0.6631 GB, free: 2.582 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005779/0.7328, allocations: 89.7 kB / 0.6632 GB, free: 2.488 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005407/0.7333, allocations: 0.7551 MB / 0.6639 GB, free: 1.723 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001221/0.7346, allocations: 1.016 MB / 0.6649 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/0.7349, allocations: 56 kB / 0.665 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.7351, allocations: 415.3 kB / 0.6654 GB, free: 232 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003673/0.7388, allocations: 2.199 MB / 0.6675 GB, free: 14.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003939/0.7428, allocations: 2.455 MB / 0.6699 GB, free: 11.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/0.7469, allocations: 2.444 MB / 0.6723 GB, free: 9.055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.747, allocations: 112 / 0.6723 GB, free: 9.055 MB / 494.1 MB Notification: Performance of matching and sorting (n=335) (initialization): time 0.08919/0.8362, allocations: 16.02 MB / 0.688 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004215/0.8366, allocations: 0.9789 MB / 0.6889 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.8367, allocations: 0 / 0.6889 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07173/0.9084, allocations: 17.55 MB / 0.7061 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.9102, allocations: 327.5 kB / 0.7064 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02929/0.9396, allocations: 10.53 MB / 0.7167 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/0.9437, allocations: 0.5029 MB / 0.7171 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005558/0.9443, allocations: 99.92 kB / 0.7172 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.9443, allocations: 4 kB / 0.7172 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3013/1.246, allocations: 11.26 MB / 0.7282 GB, free: 192.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/1.246, allocations: 1.938 kB / 0.7282 GB, free: 192.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03012/1.276, allocations: 8.222 MB / 0.7363 GB, free: 192.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/1.279, allocations: 489.1 kB / 0.7367 GB, free: 192.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/1.291, allocations: 8.06 MB / 0.7446 GB, free: 190 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003688/1.295, allocations: 458 kB / 0.745 GB, free: 189.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004651/1.295, allocations: 103.2 kB / 0.7451 GB, free: 189.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (153): * Single equations (assignments): 149 * 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 {85 98} Notification: Performance of prepare postOptimizeDAE: time 0.002216/1.297, allocations: 0.8206 MB / 0.7459 GB, free: 189.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.298, allocations: 170.8 kB / 0.7461 GB, free: 189.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/1.311, allocations: 6.7 MB / 0.7527 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/1.311, allocations: 34.53 kB / 0.7527 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.063e-05/1.311, allocations: 3.969 kB / 0.7527 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-05/1.312, allocations: 14.2 kB / 0.7527 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/1.332, allocations: 11.15 MB / 0.7636 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/1.332, allocations: 0 / 0.7636 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003862/1.336, allocations: 0.6094 MB / 0.7642 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004451/1.34, allocations: 1.643 MB / 0.7658 GB, free: 183 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006654/1.341, allocations: 132.9 kB / 0.7659 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01/1.351, allocations: 9.581 MB / 0.7753 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.351, allocations: 11.67 kB / 0.7753 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01571/1.367, allocations: 8.812 MB / 0.7839 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009872/1.368, allocations: 230.6 kB / 0.7841 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001199/1.369, allocations: 108 kB / 0.7842 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004744/1.374, allocations: 405.8 kB / 0.7846 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008158/1.375, allocations: 198 kB / 0.7848 GB, free: 168.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007788/1.375, allocations: 156.1 kB / 0.7849 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007639/1.376, allocations: 0.49 MB / 0.7854 GB, free: 168 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.91e-07/1.376, allocations: 0 / 0.7854 GB, free: 168 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005909/1.382, allocations: 1.611 MB / 0.787 GB, free: 166.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 29 (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.Xtilde[1,1],hex.Xtilde[1,2],hex.Xtilde[2,1],hex.Xtilde[2,2],hex.Xtilde[3,1],hex.Xtilde[3,2],hex.Xtilde[4,1],hex.Xtilde[4,2],hex.Xtilde[5,1],hex.Xtilde[5,2],hex.Xtilde[6,1],hex.Xtilde[6,2],hex.Xtilde[7,1],hex.Xtilde[7,2],hex.Xtilde[8,1],hex.Xtilde[8,2],hex.Xtilde[9,1],hex.Xtilde[9,2],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 (271): * Single equations (assignments): 267 * 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.001962/1.384, allocations: 0.4992 MB / 0.7875 GB, free: 166 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02781/1.412, allocations: 10.42 MB / 0.7977 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/1.412, allocations: 6.562 kB / 0.7977 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005222/1.417, allocations: 3.15 MB / 0.8007 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004709/1.422, allocations: 0.84 MB / 0.8016 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/1.434, allocations: 9.866 MB / 0.8112 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/1.436, allocations: 1.912 MB / 0.8131 GB, free: 139.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005539/1.442, allocations: 1.252 MB / 0.8143 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/1.443, allocations: 179.4 kB / 0.8144 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/1.443, allocations: 0 / 0.8144 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.1062/1.549, allocations: 91.69 MB / 0.904 GB, free: 46.37 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.pipe 2>&1) Environment - environmentSimulation: