Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.WaterVaporization.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.001693/0.001693, 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.002126/0.002126, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.511/1.511, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.141/0.141, allocations: 17.36 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.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.387e-05/3.541e-05, allocations: 6.25 kB / 352.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01725/0.01729, allocations: 11.55 MB / 364.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3866/0.4039, allocations: 126.2 MB / 490.4 MB, free: 7.293 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002692/0.4066, allocations: 39.81 kB / 490.4 MB, free: 7.254 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004602/0.4112, allocations: 1.185 MB / 491.6 MB, free: 6.078 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005209/0.4164, allocations: 1.361 MB / 493 MB, free: 4.707 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005227/0.4216, allocations: 1.618 MB / 494.6 MB, free: 3.082 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007493/0.4291, allocations: 3.838 MB / 498.4 MB, free: 15.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0019/0.431, allocations: 0.7133 MB / 499.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004437/0.4354, allocations: 1.953 MB / 0.4894 GB, free: 12.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002635/0.4381, allocations: 1.106 MB / 0.4904 GB, free: 11.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000867/0.4389, allocations: 336 kB / 0.4908 GB, free: 11.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004587/0.4435, allocations: 1.272 MB / 0.492 GB, free: 9.793 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.4449, allocations: 1.004 MB / 0.493 GB, free: 8.785 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002302/0.4472, allocations: 1.173 MB / 0.4941 GB, free: 7.609 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.4577, allocations: 5.561 MB / 0.4996 GB, free: 2.031 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.4577, allocations: 3.938 kB / 0.4996 GB, free: 2.027 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4577, allocations: 4 kB / 0.4996 GB, free: 2.023 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000144/0.4579, allocations: 0 / 0.4996 GB, free: 2.023 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.007749/0.4656, allocations: 3.961 MB / 0.5034 GB, free: 14.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4657, allocations: 12.03 kB / 0.5035 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003781/0.4695, allocations: 1.616 MB / 0.505 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.4728, allocations: 1.738 MB / 0.5067 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006734/0.4735, allocations: 0.5636 MB / 0.5073 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004952/0.474, allocations: 328.3 kB / 0.5076 GB, free: 9.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01744/0.4914, allocations: 12.37 MB / 0.5197 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.82e-05/0.4915, allocations: 192 / 0.5197 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005066/0.492, allocations: 132.3 kB / 0.5198 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006482/0.4926, allocations: 0.4917 MB / 0.5203 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02919/0.5218, allocations: 21.38 MB / 0.5412 GB, free: 7.285 MB / 426.7 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.1677/0.6895, allocations: 28.07 MB / 0.5686 GB, free: 168.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00731/0.6969, allocations: 5.395 MB / 0.5738 GB, free: 166.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004709/0.7016, allocations: 4.334 MB / 0.5781 GB, free: 164.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001793/0.7034, allocations: 0.7164 MB / 0.5788 GB, free: 164.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.7034, allocations: 50.89 kB / 0.5788 GB, free: 164.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 3.637e-06/0.7034, allocations: 0 / 0.5788 GB, free: 164.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=232): time 0.1511/0.8545, allocations: 48.55 MB / 0.6262 GB, free: 120.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1692/1.024, allocations: 60.44 MB / 0.6853 GB, free: 59.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/1.026, allocations: 1.817 MB / 0.687 GB, free: 57.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009943/1.027, allocations: 61.7 kB / 0.6871 GB, free: 57.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007175/1.028, allocations: 1.665 MB / 0.6887 GB, free: 56.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00108/1.029, allocations: 0.8047 MB / 0.6895 GB, free: 55.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002035/1.031, allocations: 0.785 MB / 0.6903 GB, free: 54.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.873e-05/1.031, allocations: 305.1 kB / 0.6906 GB, free: 54.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007837/1.039, allocations: 7.535 MB / 0.6979 GB, free: 46.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008135/1.047, allocations: 7.87 MB / 0.7056 GB, free: 38.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3537/1.401, allocations: 42.92 MB / 0.7475 GB, free: 163.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/1.401, allocations: 1.375 kB / 0.7475 GB, free: 163.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04765/1.448, allocations: 20.94 MB / 0.768 GB, free: 154.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/1.448, allocations: 8 kB / 0.768 GB, free: 154.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/1.448, allocations: 8 kB / 0.768 GB, free: 154.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04532/1.494, allocations: 13.76 MB / 0.7814 GB, free: 142.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006578/1.5, allocations: 0.977 MB / 0.7824 GB, free: 141.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05624/1.556, allocations: 41.3 MB / 0.8227 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005965/1.562, allocations: 277.7 kB / 0.823 GB, free: 99.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001414/1.564, allocations: 0.5231 MB / 0.8235 GB, free: 99.29 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: gasVolatility.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: 36 * 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 (212): * Single equations (assignments): 201 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,5,88.9%), (1,4,100.0%), (5,13,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,8), (2,1), (6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.002993/1.567, allocations: 0.8882 MB / 0.8244 GB, free: 98.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002001/1.569, allocations: 286.6 kB / 0.8246 GB, free: 98.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03737/1.606, allocations: 13.89 MB / 0.8382 GB, free: 84.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03247/1.639, allocations: 11.48 MB / 0.8494 GB, free: 72.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.91e-05/1.639, allocations: 4 kB / 0.8494 GB, free: 72.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.818e-05/1.639, allocations: 15.95 kB / 0.8494 GB, free: 72.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04873/1.687, allocations: 22.16 MB / 0.8711 GB, free: 50.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.324e-05/1.688, allocations: 4 kB / 0.8711 GB, free: 50.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004671/1.692, allocations: 0.5115 MB / 0.8716 GB, free: 49.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08018/1.772, allocations: 11.49 MB / 0.8828 GB, free: 38.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008646/1.773, allocations: 143.8 kB / 0.8829 GB, free: 38.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03679/1.81, allocations: 19.68 MB / 0.9021 GB, free: 18.03 MB / 442.7 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.2282/2.038, allocations: 20.04 MB / 0.9217 GB, free: 153.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04551/2.084, allocations: 17.82 MB / 0.9391 GB, free: 148.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008659/2.085, allocations: 247.5 kB / 0.9394 GB, free: 148.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00135/2.086, allocations: 55.78 kB / 0.9394 GB, free: 148.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004769/2.091, allocations: 201.4 kB / 0.9396 GB, free: 148.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001511/2.092, allocations: 288.7 kB / 0.9399 GB, free: 148.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008416/2.093, allocations: 246.9 kB / 0.9401 GB, free: 148.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002688/2.096, allocations: 2.036 MB / 0.9421 GB, free: 147.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/2.096, allocations: 3.656 kB / 0.9421 GB, free: 147.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004941/2.101, allocations: 1.469 MB / 0.9435 GB, free: 147.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],gasVolatility.rear.n_flow) * Number of discrete variables: 3 ($cse53,$cse46,$cse39) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (5,13,76.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,39), (8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00109/2.102, allocations: 421.7 kB / 0.9439 GB, free: 147.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01781/2.12, allocations: 11.69 MB / 0.9554 GB, free: 139.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/2.12, allocations: 0 / 0.9554 GB, free: 139.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01064/2.13, allocations: 4.779 MB / 0.96 GB, free: 134.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/2.134, allocations: 0.6486 MB / 0.9607 GB, free: 134.5 MB / 442.7 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 658] [Calling sys.exit(0), Time elapsed: 4.468640418956056]