Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.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_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 110.3 kB / 17.74 MB, free: 5.355 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.001218/0.001218, allocations: 185.4 kB / 18.68 MB, free: 4.43 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.362/1.362, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2751/0.2751, allocations: 48.85 MB / 320.8 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.001549/0.001549, allocations: 75.83 kB / 451.3 MB, free: 8.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.103, allocations: 59.16 MB / 0.4985 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B): time 0.4278/0.5308, allocations: 200.9 MB / 0.6947 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008821/0.5397, allocations: 6.41 MB / 0.701 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009303/0.5406, allocations: 19.88 kB / 0.701 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001782/0.5425, allocations: 0.5126 MB / 0.7015 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.5451, allocations: 0.9368 MB / 0.7024 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004366/0.5495, allocations: 1.501 MB / 0.7039 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005808/0.5553, allocations: 5.453 MB / 0.7092 GB, free: 2.262 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002559/0.5579, allocations: 1.74 MB / 0.7109 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003226/0.5612, allocations: 1.898 MB / 0.7128 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003086/0.5643, allocations: 1.846 MB / 0.7146 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001083/0.5654, allocations: 288 kB / 0.7148 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003647/0.569, allocations: 1.209 MB / 0.716 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002004/0.5711, allocations: 1.485 MB / 0.7175 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003464/0.5745, allocations: 1.689 MB / 0.7191 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006178/0.5807, allocations: 4.53 MB / 0.7235 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.5808, allocations: 0 / 0.7235 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5808, allocations: 0 / 0.7235 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001338/0.5809, allocations: 0 / 0.7235 GB, free: 3.527 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: 680 * Number of variables: 680 Notification: Performance of Generate backend data structure: time 0.008626/0.5895, allocations: 3.346 MB / 0.7268 GB, free: 120 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.5896, allocations: 11.89 kB / 0.7268 GB, free: 108 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008838/0.5984, allocations: 1.473 MB / 0.7283 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/0.6018, allocations: 1.489 MB / 0.7297 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.602, allocations: 189 kB / 0.7299 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/0.6033, allocations: 387.5 kB / 0.7303 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.6134, allocations: 4.784 MB / 0.7349 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/0.6135, allocations: 0 / 0.7349 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008341/0.6143, allocations: 108 kB / 0.735 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002357/0.6146, allocations: 193.2 kB / 0.7352 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01016/0.6248, allocations: 5.439 MB / 0.7405 GB, free: 1.934 MB / 0.5762 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.026/0.6508, allocations: 15.16 MB / 0.7553 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2174/0.8682, allocations: 11.23 MB / 0.7663 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/0.8714, allocations: 2.014 MB / 0.7683 GB, free: 205.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002193/0.8716, allocations: 44.53 kB / 0.7683 GB, free: 205.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/0.8717, allocations: 77.73 kB / 0.7684 GB, free: 205.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=271): time 4.658e-06/0.8717, allocations: 0 / 0.7684 GB, free: 205.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=276): time 0.03566/0.9074, allocations: 14.34 MB / 0.7824 GB, free: 201.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.9075, allocations: 107.2 kB / 0.7825 GB, free: 201.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009442/0.9084, allocations: 0.6996 MB / 0.7832 GB, free: 200.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004784/0.9089, allocations: 83.61 kB / 0.7832 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.9093, allocations: 0.7725 MB / 0.784 GB, free: 200.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008374/0.9102, allocations: 1.001 MB / 0.785 GB, free: 199.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000906/0.9111, allocations: 449.8 kB / 0.7854 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.468e-05/0.9111, allocations: 302.3 kB / 0.7857 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003262/0.9144, allocations: 2.041 MB / 0.7877 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003375/0.9178, allocations: 2.272 MB / 0.7899 GB, free: 197.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006901/0.9247, allocations: 4.493 MB / 0.7943 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.9247, allocations: 2.906 kB / 0.7943 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.07351/0.9983, allocations: 14.67 MB / 0.8086 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.9983, allocations: 4 kB / 0.8086 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.9983, allocations: 4 kB / 0.8086 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05179/1.05, allocations: 13.52 MB / 0.8218 GB, free: 173.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/1.052, allocations: 295.5 kB / 0.8221 GB, free: 173.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/1.062, allocations: 8.442 MB / 0.8304 GB, free: 164.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/1.064, allocations: 191.7 kB / 0.8305 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000342/1.065, allocations: 88.58 kB / 0.8306 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003704/1.068, allocations: 2.605 MB / 0.8332 GB, free: 162 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002795/1.071, allocations: 2.228 MB / 0.8354 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005584/1.077, allocations: 4.397 MB / 0.8396 GB, free: 155.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.472e-06/1.077, allocations: 7.984 kB / 0.8397 GB, free: 155.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.05233/1.129, allocations: 11.02 MB / 0.8504 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.129, allocations: 8 kB / 0.8504 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.129, allocations: 0 / 0.8504 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02436/1.154, allocations: 8.201 MB / 0.8584 GB, free: 135.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/1.155, allocations: 343.5 kB / 0.8588 GB, free: 135.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008941/1.164, allocations: 8.051 MB / 0.8666 GB, free: 127.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/1.167, allocations: 182.8 kB / 0.8668 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/1.167, allocations: 95.95 kB / 0.8669 GB, free: 127.1 MB / 0.5919 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 (137): * Single equations (assignments): 133 * 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 {(12,155)} Notification: Performance of prepare postOptimizeDAE: time 0.0007989/1.168, allocations: 312.1 kB / 0.8672 GB, free: 126.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006196/1.169, allocations: 171 kB / 0.8674 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/1.179, allocations: 6.314 MB / 0.8735 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.555e-05/1.179, allocations: 15.94 kB / 0.8735 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/1.179, allocations: 0 / 0.8735 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004327/1.18, allocations: 224 kB / 0.8737 GB, free: 120 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006486/1.181, allocations: 90.53 kB / 0.8738 GB, free: 119.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002877/1.183, allocations: 227.7 kB / 0.874 GB, free: 119.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000495/1.184, allocations: 205.9 kB / 0.8742 GB, free: 119.5 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01267/1.197, allocations: 6.234 MB / 0.8803 GB, free: 113.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009898/1.207, allocations: 7.271 MB / 0.8874 GB, free: 105.9 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002995/1.21, allocations: 2.43 MB / 0.8898 GB, free: 103.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005568/1.21, allocations: 0.499 MB / 0.8903 GB, free: 103 MB / 0.5919 GB Notification: Performance of Backend: time 5.11e-07/1.21, allocations: 0 / 0.8903 GB, free: 103 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01212/1.222, allocations: 6.307 MB / 0.8965 GB, free: 96.7 MB / 0.5919 GB Notification: Performance of SimCode: time 0.006528/1.229, allocations: 5.281 MB / 0.9016 GB, free: 91.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.2954/1.524, allocations: 101.3 MB / 1.001 GB, free: 209.1 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe 2>&1)