Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.WaterSublimation.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.0008423/0.0008423, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007647/0.0007647, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8292/0.8292, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.08151/0.08151, allocations: 17.36 MB / 277.3 MB, free: 11.84 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.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterSublimation") translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterSublimation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 412.7 MB, free: 13.08 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.42e-05, allocations: 2.281 kB / 412.7 MB, free: 13.07 MB / 330.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. Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterSublimation): time 0.02301/0.02303, allocations: 32.69 MB / 445.4 MB, free: 7.992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1169/0.1399, allocations: 127 MB / 0.559 GB, free: 9.773 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.1419, allocations: 43.75 kB / 0.559 GB, free: 9.73 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.1444, allocations: 1.18 MB / 0.5602 GB, free: 8.543 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.1471, allocations: 1.357 MB / 0.5615 GB, free: 7.176 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002866/0.15, allocations: 1.622 MB / 0.5631 GB, free: 5.547 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003596/0.1536, allocations: 3.847 MB / 0.5668 GB, free: 1.684 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000828/0.1544, allocations: 0.7061 MB / 0.5675 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.1567, allocations: 1.953 MB / 0.5694 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.1579, allocations: 1.098 MB / 0.5705 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000265/0.1581, allocations: 336 kB / 0.5708 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.1603, allocations: 1.279 MB / 0.5721 GB, free: 12.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004673/0.1608, allocations: 1 MB / 0.573 GB, free: 11.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007378/0.1615, allocations: 1.169 MB / 0.5742 GB, free: 10.08 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003876/0.1654, allocations: 5.565 MB / 0.5796 GB, free: 4.496 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1654, allocations: 0 / 0.5796 GB, free: 4.496 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1654, allocations: 0 / 0.5796 GB, free: 4.496 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.64e-05/0.1654, allocations: 0 / 0.5796 GB, free: 4.496 MB / 490.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.003694/0.1691, allocations: 3.959 MB / 0.5835 GB, free: 496 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1691, allocations: 12.03 kB / 0.5835 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1505/0.3196, allocations: 0.7893 MB / 0.5843 GB, free: 161.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.3221, allocations: 1.713 MB / 0.5859 GB, free: 161.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003686/0.3225, allocations: 0.5614 MB / 0.5865 GB, free: 161 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002945/0.3228, allocations: 328.3 kB / 0.5868 GB, free: 160.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009507/0.3323, allocations: 12.36 MB / 0.5989 GB, free: 155.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/0.3324, allocations: 192 / 0.5989 GB, free: 155.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.3325, allocations: 134.2 kB / 0.599 GB, free: 155.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000371/0.3329, allocations: 0.4901 MB / 0.5995 GB, free: 155.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.3444, allocations: 21.38 MB / 0.6204 GB, free: 140.1 MB / 490.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.01948/0.3639, allocations: 27.93 MB / 0.6476 GB, free: 112.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003979/0.3678, allocations: 5.39 MB / 0.6529 GB, free: 107.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002998/0.3708, allocations: 4.338 MB / 0.6571 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009269/0.3718, allocations: 0.7065 MB / 0.6578 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.3718, allocations: 43.88 kB / 0.6579 GB, free: 102 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 3.527e-06/0.3718, allocations: 6.578 kB / 0.6579 GB, free: 102 MB / 490.7 MB Notification: Performance of matching and sorting (n=232): time 0.07776/0.4496, allocations: 48.41 MB / 0.7052 GB, free: 54.07 MB / 490.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 inlineWhenForInitialization (initialization): time 0.0589/0.5085, allocations: 29.18 MB / 0.7336 GB, free: 24.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.5105, allocations: 1.805 MB / 0.7354 GB, free: 22.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008498/0.5113, allocations: 61.7 kB / 0.7355 GB, free: 22.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006865/0.512, allocations: 1.663 MB / 0.7371 GB, free: 21.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00095/0.513, allocations: 0.8125 MB / 0.7379 GB, free: 20.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00202/0.515, allocations: 0.7812 MB / 0.7386 GB, free: 19.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 2.172e-05/0.515, allocations: 307.8 kB / 0.7389 GB, free: 19.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007025/0.522, allocations: 7.528 MB / 0.7463 GB, free: 11.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005406/0.5274, allocations: 7.881 MB / 0.754 GB, free: 3.715 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2775/0.8049, allocations: 42.92 MB / 0.7959 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.8049, allocations: 5.438 kB / 0.7959 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.02461/0.8295, allocations: 20.69 MB / 0.8161 GB, free: 146 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.8296, allocations: 8 kB / 0.8161 GB, free: 146 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.8296, allocations: 8 kB / 0.8161 GB, free: 146 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01887/0.8484, allocations: 10.55 MB / 0.8264 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00325/0.8517, allocations: 0.9792 MB / 0.8274 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03262/0.8843, allocations: 41.27 MB / 0.8677 GB, free: 93.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/0.8872, allocations: 270.3 kB / 0.868 GB, free: 93.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005067/0.8877, allocations: 0.5309 MB / 0.8685 GB, free: 92.57 MB / 0.4948 GB 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 {(5,13,76.0%), (1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(6,20), (4,3), (3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001728/0.8894, allocations: 0.88 MB / 0.8693 GB, free: 91.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005618/0.89, allocations: 214.6 kB / 0.8695 GB, free: 91.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01991/0.9099, allocations: 13.97 MB / 0.8832 GB, free: 77.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01708/0.9269, allocations: 11.46 MB / 0.8944 GB, free: 66.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.927, allocations: 11.94 kB / 0.8944 GB, free: 66.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/0.927, allocations: 11.95 kB / 0.8944 GB, free: 66.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02639/0.9534, allocations: 22.14 MB / 0.916 GB, free: 43.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.9534, allocations: 6.656 kB / 0.916 GB, free: 43.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/0.9555, allocations: 0.5058 MB / 0.9165 GB, free: 43.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03597/0.9915, allocations: 10.98 MB / 0.9272 GB, free: 32.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005277/0.992, allocations: 143.8 kB / 0.9274 GB, free: 32.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02019/1.012, allocations: 19.61 MB / 0.9465 GB, free: 12.14 MB / 0.4948 GB 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.194/1.206, allocations: 20.02 MB / 0.9661 GB, free: 157.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02545/1.232, allocations: 17.85 MB / 0.9835 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005422/1.232, allocations: 245.2 kB / 0.9838 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003747/1.233, allocations: 46.02 kB / 0.9838 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/1.234, allocations: 210.7 kB / 0.984 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006706/1.235, allocations: 289.2 kB / 0.9843 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003219/1.235, allocations: 249.7 kB / 0.9845 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001629/1.237, allocations: 2.039 MB / 0.9865 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/1.237, allocations: 2.656 kB / 0.9865 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00283/1.24, allocations: 1.456 MB / 0.9879 GB, free: 148.6 MB / 0.4948 GB 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 ($cse37,$cse30,$cse23) * 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.0006829/1.241, allocations: 433.9 kB / 0.9883 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01051/1.251, allocations: 11.68 MB / 0.9998 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/1.251, allocations: 0 / 0.9998 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005265/1.256, allocations: 4.792 MB / 1.004 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/1.258, allocations: 0.4905 MB / 1.005 GB, free: 138.8 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.91090767737478] Failed to read output from testmodel.py, exit status != 0: 1.4041806664317846 1.268537324 1.1018733410000001 Calling exit ...