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.001241/0.001241, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001582/0.001582, allocations: 185.3 kB / 18.68 MB, free: 4.41 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.231/1.231, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2488/0.2488, 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.001368/0.001368, allocations: 79.86 kB / 451.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09129/0.09267, allocations: 59.15 MB / 0.4984 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A): time 0.3642/0.4569, allocations: 195.8 MB / 0.6897 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006239/0.4632, allocations: 5.103 MB / 0.6946 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000352/0.4636, allocations: 11.94 kB / 0.6947 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008307/0.4644, allocations: 373.5 kB / 0.695 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.466, allocations: 0.8816 MB / 0.6959 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.4679, allocations: 0.9909 MB / 0.6968 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003696/0.4716, allocations: 4.848 MB / 0.7016 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.473, allocations: 1.436 MB / 0.703 GB, free: 8.492 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.4748, allocations: 1.715 MB / 0.7047 GB, free: 6.773 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.4764, allocations: 1.515 MB / 0.7061 GB, free: 5.254 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003194/0.4768, allocations: 239.9 kB / 0.7064 GB, free: 5.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009248/0.4777, allocations: 491.7 kB / 0.7068 GB, free: 4.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000826/0.4785, allocations: 1.017 MB / 0.7078 GB, free: 3.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.4798, allocations: 1.342 MB / 0.7091 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002669/0.4825, allocations: 3.366 MB / 0.7124 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4825, allocations: 0 / 0.7124 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4825, allocations: 4 kB / 0.7124 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.824e-05/0.4826, allocations: 0 / 0.7124 GB, free: 14.79 MB / 0.5606 GB 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.005038/0.4876, allocations: 2.731 MB / 0.7151 GB, free: 12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.4876, allocations: 11.89 kB / 0.7151 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005548/0.4932, allocations: 0.6766 MB / 0.7158 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/0.495, allocations: 1.168 MB / 0.7169 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.254e-05/0.4951, allocations: 152 kB / 0.717 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005424/0.4956, allocations: 296.5 kB / 0.7173 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004803/0.5004, allocations: 3.484 MB / 0.7207 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/0.5005, allocations: 15.92 kB / 0.7207 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002663/0.5007, allocations: 91.98 kB / 0.7208 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.885e-05/0.5008, allocations: 116 kB / 0.7209 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005494/0.5063, allocations: 3.72 MB / 0.7246 GB, free: 2.105 MB / 0.5606 GB 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.01361/0.52, allocations: 10.97 MB / 0.7353 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004176/0.5241, allocations: 2.975 MB / 0.7382 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/0.526, allocations: 1.369 MB / 0.7395 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.5261, allocations: 33.97 kB / 0.7396 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.5261, allocations: 60.56 kB / 0.7396 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=203): time 3.517e-06/0.5261, allocations: 0 / 0.7396 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=206): time 0.01915/0.5453, allocations: 8.674 MB / 0.7481 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.5454, allocations: 99.11 kB / 0.7482 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009634/0.5464, allocations: 0.8327 MB / 0.749 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002067/0.5466, allocations: 65.7 kB / 0.7491 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004491/0.547, allocations: 0.7522 MB / 0.7498 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005705/0.5476, allocations: 0.7202 MB / 0.7505 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006553/0.5483, allocations: 456.2 kB / 0.7509 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5484, allocations: 349.9 kB / 0.7513 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.5502, allocations: 1.193 MB / 0.7524 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.5524, allocations: 1.758 MB / 0.7542 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1941/0.7465, allocations: 3.121 MB / 0.7572 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.031e-05/0.7465, allocations: 8.531 kB / 0.7572 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.02362/0.7702, allocations: 5.457 MB / 0.7625 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.7702, allocations: 12.77 kB / 0.7625 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.529e-05/0.7703, allocations: 21.81 kB / 0.7626 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009901/0.7802, allocations: 2.682 MB / 0.7652 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.782, allocations: 480.3 kB / 0.7656 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006065/0.7881, allocations: 5.457 MB / 0.771 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.7898, allocations: 104.3 kB / 0.7711 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003287/0.7902, allocations: 163.8 kB / 0.7712 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002769/0.793, allocations: 1.646 MB / 0.7728 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002474/0.7954, allocations: 1.746 MB / 0.7745 GB, free: 209 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003942/0.7994, allocations: 3.094 MB / 0.7776 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.535e-05/0.7994, allocations: 5.594 kB / 0.7776 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.0208/0.8202, allocations: 5.429 MB / 0.7829 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.8203, allocations: 21.59 kB / 0.7829 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/0.8203, allocations: 16.16 kB / 0.7829 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008495/0.8288, allocations: 2.686 MB / 0.7855 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.8305, allocations: 478.1 kB / 0.786 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005092/0.8356, allocations: 5.437 MB / 0.7913 GB, free: 201.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.8373, allocations: 117.8 kB / 0.7914 GB, free: 201.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/0.8375, allocations: 162.2 kB / 0.7916 GB, free: 201.2 MB / 0.5919 GB 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 (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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 {(10,98)} Notification: Performance of prepare postOptimizeDAE: time 0.0005892/0.8381, allocations: 318.3 kB / 0.7919 GB, free: 200.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.8384, allocations: 143.4 kB / 0.792 GB, free: 200.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006709/0.8451, allocations: 4.113 MB / 0.796 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.8452, allocations: 7.969 kB / 0.796 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.8452, allocations: 3.25 kB / 0.796 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.8453, allocations: 208.1 kB / 0.7962 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.8456, allocations: 53.36 kB / 0.7963 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.8471, allocations: 97.69 kB / 0.7964 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/0.8473, allocations: 177.5 kB / 0.7965 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006706/0.854, allocations: 3.685 MB / 0.8001 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004884/0.8589, allocations: 4.235 MB / 0.8043 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001439/0.8604, allocations: 1.307 MB / 0.8056 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005419/0.8609, allocations: 0.5615 MB / 0.8061 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of Backend: time 3.51e-07/0.8609, allocations: 0 / 0.8061 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007748/0.8687, allocations: 4.322 MB / 0.8103 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of SimCode: time 0.004585/0.8733, allocations: 4.379 MB / 0.8146 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.06492/0.9382, allocations: 63.62 MB / 0.8767 GB, free: 117.8 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.makefile (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)