Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Boundaries.Tests.TestExternalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.152/0.152, allocations: 17.37 MB / 276.9 MB, free: 11.67 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Boundaries.Tests.TestExternalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestExternalGas") translateModel(Chemical.Boundaries.Tests.TestExternalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestExternalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.506e-06/3.506e-06, allocations: 0 / 352.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.992e-05/7.343e-05, allocations: 9.062 kB / 352.7 MB, free: 10.35 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Boundaries.Tests.TestExternalGas): time 0.07501/0.07509, allocations: 45.17 MB / 397.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3924/0.4675, allocations: 128.6 MB / 0.5142 GB, free: 9.551 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007263/0.4748, allocations: 87.62 kB / 0.5142 GB, free: 9.465 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01021/0.485, allocations: 1.985 MB / 0.5162 GB, free: 7.492 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01559/0.5006, allocations: 2.578 MB / 0.5187 GB, free: 4.895 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00854/0.5091, allocations: 1.721 MB / 0.5204 GB, free: 3.168 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01472/0.5238, allocations: 7.229 MB / 0.5274 GB, free: 11.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003511/0.5273, allocations: 1.761 MB / 0.5292 GB, free: 10.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008768/0.5361, allocations: 4.307 MB / 0.5334 GB, free: 5.746 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005576/0.5417, allocations: 2.395 MB / 0.5357 GB, free: 3.344 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002054/0.5437, allocations: 0.7539 MB / 0.5364 GB, free: 2.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006135/0.5499, allocations: 1.682 MB / 0.5381 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003483/0.5533, allocations: 2.336 MB / 0.5404 GB, free: 14.56 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005987/0.5593, allocations: 2.645 MB / 0.5429 GB, free: 11.91 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01966/0.579, allocations: 11.55 MB / 0.5542 GB, free: 328 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.579, allocations: 0 / 0.5542 GB, free: 328 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.579, allocations: 0 / 0.5542 GB, free: 328 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004291/0.5794, allocations: 0 / 0.5542 GB, free: 328 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2356 * Number of variables: 2356 Notification: Performance of Generate backend data structure: time 0.02043/0.5999, allocations: 8.528 MB / 0.5626 GB, free: 7.711 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.5999, allocations: 8.031 kB / 0.5626 GB, free: 7.703 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007022/0.6069, allocations: 3.52 MB / 0.566 GB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0074/0.6143, allocations: 3.584 MB / 0.5695 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2917/0.906, allocations: 1.298 MB / 0.5708 GB, free: 163.8 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00249/0.9085, allocations: 0.734 MB / 0.5715 GB, free: 163.8 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03861/0.9471, allocations: 28.72 MB / 0.5995 GB, free: 144 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000257/0.9474, allocations: 16 kB / 0.5995 GB, free: 144 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001331/0.9487, allocations: 327.5 kB / 0.5999 GB, free: 143.7 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001008/0.9497, allocations: 1.207 MB / 0.601 GB, free: 142.5 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03797/0.9877, allocations: 45.88 MB / 0.6458 GB, free: 96.87 MB / 442.8 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.08886/1.077, allocations: 67.34 MB / 0.7116 GB, free: 29.7 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01685/1.093, allocations: 12.19 MB / 0.7235 GB, free: 17.49 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009632/1.103, allocations: 8.746 MB / 0.7321 GB, free: 8.734 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002201/1.105, allocations: 0.706 MB / 0.7327 GB, free: 8.023 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/1.105, allocations: 59.81 kB / 0.7328 GB, free: 7.957 MB / 442.8 MB Notification: Performance of pre-optimization done (n=245): time 4.93e-06/1.105, allocations: 0 / 0.7328 GB, free: 7.957 MB / 442.8 MB Notification: Performance of matching and sorting (n=324): time 0.3419/1.447, allocations: 70.32 MB / 0.8015 GB, free: 111 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01467/1.462, allocations: 8.317 MB / 0.8096 GB, free: 102.5 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004522/1.466, allocations: 3.582 MB / 0.8131 GB, free: 98.95 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001607/1.468, allocations: 73.7 kB / 0.8132 GB, free: 98.88 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00164/1.47, allocations: 3.955 MB / 0.817 GB, free: 95.48 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002148/1.472, allocations: 1.134 MB / 0.8181 GB, free: 94.46 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003917/1.476, allocations: 1.332 MB / 0.8194 GB, free: 93.12 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 4.106e-05/1.476, allocations: 315.7 kB / 0.8197 GB, free: 92.82 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01384/1.49, allocations: 13.23 MB / 0.8327 GB, free: 79.6 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01494/1.505, allocations: 13.98 MB / 0.8463 GB, free: 65.35 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2728/1.777, allocations: 61.26 MB / 0.9061 GB, free: 4.266 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.26e-05/1.777, allocations: 4 kB / 0.9061 GB, free: 4.262 MB / 442.8 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.2047/1.982, allocations: 26.28 MB / 0.9318 GB, free: 138.3 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.688e-05/1.982, allocations: 18.3 kB / 0.9318 GB, free: 138.3 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.921e-05/1.982, allocations: 20.59 kB / 0.9318 GB, free: 138.3 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02895/2.011, allocations: 6.271 MB / 0.938 GB, free: 135.8 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0456/2.057, allocations: 4.286 MB / 0.9421 GB, free: 132.2 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01921/2.076, allocations: 25.15 MB / 0.9667 GB, free: 106.3 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008019/2.084, allocations: 251.7 kB / 0.9669 GB, free: 106 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002298/2.086, allocations: 0.9682 MB / 0.9679 GB, free: 105 MB / 442.8 MB Warning: Assuming fixed start value for the following 8 variables: boundaryFore3.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real boundaryRear3.fore.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real boundaryRear2.fore.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real boundaryFore.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real boundaryRear4.fore.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real boundaryFore2.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real boundaryRear1.fore.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real boundaryFore1.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (402): * Single equations (assignments): 383 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 11 * 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): 6 systems {1, 1, 1, 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): 9 systems {(2,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,24), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.005683/2.092, allocations: 1.927 MB / 0.9698 GB, free: 103.1 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003778/2.096, allocations: 0.5086 MB / 0.9703 GB, free: 102.8 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03137/2.127, allocations: 16.71 MB / 0.9866 GB, free: 86.23 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01733/2.144, allocations: 10.55 MB / 0.9969 GB, free: 75.68 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.034e-05/2.144, allocations: 8 kB / 0.9969 GB, free: 75.67 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-05/2.145, allocations: 19.94 kB / 0.9969 GB, free: 75.65 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04884/2.193, allocations: 32.18 MB / 1.028 GB, free: 43.47 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-05/2.193, allocations: 20 kB / 1.028 GB, free: 43.45 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02955/2.223, allocations: 2.246 MB / 1.031 GB, free: 41.25 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02882/2.252, allocations: 4.63 MB / 1.035 GB, free: 36.63 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007765/2.253, allocations: 166.6 kB / 1.035 GB, free: 36.47 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/2.274, allocations: 25.64 MB / 1.06 GB, free: 9.395 MB / 442.8 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001203/2.275, allocations: 0.6281 MB / 1.061 GB, free: 8.746 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1746/2.449, allocations: 14.53 MB / 1.075 GB, free: 133.7 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/2.451, allocations: 483.2 kB / 1.076 GB, free: 133.7 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002011/2.453, allocations: 94.36 kB / 1.076 GB, free: 133.7 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003634/2.457, allocations: 96.41 kB / 1.076 GB, free: 133.7 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00157/2.458, allocations: 428 kB / 1.076 GB, free: 133.7 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000983/2.459, allocations: 316.5 kB / 1.076 GB, free: 133.7 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.008293/2.467, allocations: 5.521 MB / 1.082 GB, free: 131.3 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.9e-07/2.467, allocations: 0 / 1.082 GB, free: 131.3 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.008015/2.475, allocations: 1.986 MB / 1.084 GB, free: 131.1 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 80 * Number of states: 10 ($STATESET1.x[2],$STATESET1.x[1],boundaryFore.rear.n_flow,boundaryRear2.fore.n_flow,boundaryRear3.fore.n_flow,boundaryFore3.rear.n_flow,boundaryRear4.fore.n_flow,boundaryRear1.fore.n_flow,boundaryFore2.rear.n_flow,boundaryFore1.rear.n_flow) * Number of discrete variables: 7 ($cse47,$cse43,$cse39,$cse35,$cse27,$cse19,$cse11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (273): * Single equations (assignments): 256 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 11 * 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): 6 systems {1, 1, 1, 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): 9 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,28), (5,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001525/2.477, allocations: 491.7 kB / 1.084 GB, free: 131 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.03393/2.511, allocations: 17.49 MB / 1.101 GB, free: 124.4 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-05/2.511, allocations: 6.531 kB / 1.101 GB, free: 124.4 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02071/2.532, allocations: 5.479 MB / 1.107 GB, free: 120.3 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009861/2.541, allocations: 1.111 MB / 1.108 GB, free: 119.5 MB / 442.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4696:9-4696:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:846:5-846:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.963440311956219]