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.0009137/0.0009135, allocations: 94 kB / 16.31 MB, free: 5.586 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.0009552/0.0009555, allocations: 181.5 kB / 17.2 MB, free: 5.504 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.881/1.881, allocations: 205.4 MB / 223.4 MB, free: 5.219 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5325/0.5325, allocations: 48.77 MB / 320.4 MB, free: 3.828 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.000556/0.0005562, allocations: 16.62 kB / 391.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1144, allocations: 60.26 MB / 451.4 MB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A): time 0.4156/0.5301, allocations: 178.4 MB / 0.6151 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007575/0.5377, allocations: 4.84 MB / 0.6198 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.5388, allocations: 15.88 kB / 0.6198 GB, free: 5.719 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.5399, allocations: 282.2 kB / 0.6201 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002547/0.5425, allocations: 0.8317 MB / 0.6209 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002506/0.545, allocations: 0.7936 MB / 0.6217 GB, free: 3.824 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.301/0.846, allocations: 5.173 MB / 0.6268 GB, free: 6.227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002889/0.849, allocations: 1.164 MB / 0.6279 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003606/0.8526, allocations: 1.473 MB / 0.6293 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003209/0.8558, allocations: 1.585 MB / 0.6309 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005603/0.8564, allocations: 117.4 kB / 0.631 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.8581, allocations: 347.5 kB / 0.6313 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009734/0.8591, allocations: 0.9231 MB / 0.6322 GB, free: 6.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.8605, allocations: 463.4 kB / 0.6327 GB, free: 22.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004072/0.8646, allocations: 2.508 MB / 0.6351 GB, free: 22.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.8646, allocations: 4.266 kB / 0.6351 GB, free: 22.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8646, allocations: 0 / 0.6351 GB, free: 22.03 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000129/0.8648, allocations: 1.781 kB / 0.6351 GB, free: 22.03 MB / 0.4981 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.006398/0.8712, allocations: 2.282 MB / 0.6373 GB, free: 21.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.8712, allocations: 13.2 kB / 0.6374 GB, free: 21.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006226/0.8774, allocations: 0.6873 MB / 0.638 GB, free: 21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003825/0.8813, allocations: 1.115 MB / 0.6391 GB, free: 20.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.8815, allocations: 152 kB / 0.6393 GB, free: 20.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/0.8825, allocations: 288.2 kB / 0.6395 GB, free: 20.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00809/0.8906, allocations: 3.478 MB / 0.6429 GB, free: 20.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.146e-05/0.8907, allocations: 4.656 kB / 0.6429 GB, free: 20.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005252/0.8913, allocations: 91.91 kB / 0.643 GB, free: 20.35 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002101/0.8915, allocations: 117.6 kB / 0.6431 GB, free: 20.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007607/0.8991, allocations: 3.723 MB / 0.6468 GB, free: 20.3 MB / 0.4981 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.01818/0.9173, allocations: 11.01 MB / 0.6575 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004333/0.9217, allocations: 2.979 MB / 0.6604 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.9235, allocations: 1.366 MB / 0.6618 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.9237, allocations: 35.2 kB / 0.6618 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.322e-05/0.9237, allocations: 66.14 kB / 0.6619 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=203): time 4.198e-06/0.9237, allocations: 4 kB / 0.6619 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.01954/0.9433, allocations: 8.965 MB / 0.6706 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.9434, allocations: 96.98 kB / 0.6707 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.9445, allocations: 0.832 MB / 0.6715 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002779/0.9448, allocations: 64.89 kB / 0.6716 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/0.9452, allocations: 0.753 MB / 0.6723 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005461/0.9457, allocations: 0.7152 MB / 0.673 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.9459, allocations: 49.25 kB / 0.6731 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.9461, allocations: 455.8 kB / 0.6735 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.9478, allocations: 1.174 MB / 0.6747 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002003/0.9498, allocations: 1.753 MB / 0.6764 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.9518, allocations: 1.455 MB / 0.6778 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.9519, allocations: 9.219 kB / 0.6778 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01899/0.9708, allocations: 5.462 MB / 0.6831 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005141/0.9714, allocations: 0.5607 MB / 0.6837 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/0.9715, allocations: 18.72 kB / 0.6837 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009042/0.9805, allocations: 2.724 MB / 0.6864 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/0.9825, allocations: 470.7 kB / 0.6868 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006622/0.9891, allocations: 5.454 MB / 0.6921 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/0.9918, allocations: 251.6 kB / 0.6924 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003245/0.9921, allocations: 165.5 kB / 0.6925 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.9921, allocations: 4 kB / 0.6925 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01944/1.012, allocations: 5.306 MB / 0.6977 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.195e-05/1.012, allocations: 20.12 kB / 0.6977 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009187/1.021, allocations: 2.715 MB / 0.7004 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/1.023, allocations: 478.6 kB / 0.7008 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006928/1.03, allocations: 5.456 MB / 0.7062 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002724/1.033, allocations: 251.6 kB / 0.7064 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003382/1.033, allocations: 158.3 kB / 0.7066 GB, free: 5.789 MB / 0.5137 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 (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.00176/1.035, allocations: 0.6699 MB / 0.7072 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004455/1.035, allocations: 146.4 kB / 0.7074 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008827/1.044, allocations: 4.113 MB / 0.7114 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/1.044, allocations: 25.59 kB / 0.7114 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-05/1.044, allocations: 4 kB / 0.7114 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.669e-05/1.044, allocations: 19.95 kB / 0.7114 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/1.056, allocations: 5.956 MB / 0.7172 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/1.056, allocations: 0 / 0.7172 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002187/1.058, allocations: 476.9 kB / 0.7177 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003387/1.061, allocations: 1.113 MB / 0.7188 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003544/1.062, allocations: 96.88 kB / 0.7189 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/1.072, allocations: 8.023 MB / 0.7267 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.072, allocations: 0 / 0.7267 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/1.083, allocations: 5.029 MB / 0.7316 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007884/1.083, allocations: 198.1 kB / 0.7318 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005194/1.084, allocations: 55.38 kB / 0.7319 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/1.086, allocations: 175.5 kB / 0.732 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004785/1.087, allocations: 163.6 kB / 0.7322 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003802/1.087, allocations: 147.5 kB / 0.7323 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009453/1.088, allocations: 0.5524 MB / 0.7329 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.51e-07/1.088, allocations: 4 kB / 0.7329 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004431/1.093, allocations: 1.126 MB / 0.734 GB, free: 132 kB / 0.5294 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.000863/1.093, allocations: 226.2 kB / 0.7342 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01076/1.104, allocations: 5.165 MB / 0.7392 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/1.104, allocations: 1 kB / 0.7392 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00397/1.108, allocations: 1.963 MB / 0.7411 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003786/1.112, allocations: 0.6417 MB / 0.7418 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009709/1.122, allocations: 5.56 MB / 0.7472 GB, free: 5.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/1.123, allocations: 1.54 MB / 0.7487 GB, free: 3.777 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004903/1.128, allocations: 1.129 MB / 0.7498 GB, free: 2.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/1.129, allocations: 240.8 kB / 0.75 GB, free: 2.414 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/1.129, allocations: 0 / 0.75 GB, free: 2.414 MB / 0.545 GB Notification: Performance of Templates: time 0.0842/1.214, allocations: 56.77 MB / 0.8055 GB, free: 9.836 MB / 0.6075 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: