Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001031/0.001031, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001138/0.001138, allocations: 173 kB / 23.49 MB, free: 1.059 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.021/1.021, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08945/0.08945, allocations: 17.46 MB / 277.7 MB, free: 11.64 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Examples.WaterSublimation") translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterSublimation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 353.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.424e-05, allocations: 6.25 kB / 353.6 MB, free: 10.19 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1586:5-1586: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 master/Interfaces.mo:1586:5-1586: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.03408/0.03411, allocations: 37.44 MB / 391 MB, free: 4.855 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2948/0.3289, allocations: 141.2 MB / 0.5197 GB, free: 6.824 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.3309, allocations: 87.31 kB / 0.5198 GB, free: 6.738 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002945/0.3338, allocations: 1.255 MB / 0.521 GB, free: 5.496 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003272/0.3371, allocations: 1.683 MB / 0.5227 GB, free: 3.801 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004267/0.3414, allocations: 1.952 MB / 0.5246 GB, free: 1.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00454/0.3459, allocations: 4.149 MB / 0.5286 GB, free: 13.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000933/0.3469, allocations: 0.7197 MB / 0.5293 GB, free: 12.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.3492, allocations: 2.124 MB / 0.5314 GB, free: 10.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.3511, allocations: 1.512 MB / 0.5329 GB, free: 9.258 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007558/0.3518, allocations: 332 kB / 0.5332 GB, free: 8.934 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.3549, allocations: 1.501 MB / 0.5347 GB, free: 7.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005815/0.3555, allocations: 1.051 MB / 0.5357 GB, free: 6.375 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.3567, allocations: 1.219 MB / 0.5369 GB, free: 5.152 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004719/0.3614, allocations: 4.281 MB / 0.541 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3614, allocations: 4 kB / 0.5411 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.3614, allocations: 0 / 0.5411 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001668/0.3616, allocations: 0 / 0.5411 GB, free: 0.8516 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1015 * Number of variables: 1015 Notification: Performance of Generate backend data structure: time 0.004939/0.3665, allocations: 4.398 MB / 0.5453 GB, free: 12.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3666, allocations: 16.02 kB / 0.5454 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.3683, allocations: 1.551 MB / 0.5469 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.3702, allocations: 1.988 MB / 0.5488 GB, free: 8.789 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/0.3704, allocations: 433.4 kB / 0.5492 GB, free: 8.328 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/0.3707, allocations: 332.3 kB / 0.5495 GB, free: 8.004 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005671/0.3764, allocations: 3.821 MB / 0.5533 GB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.747e-05/0.3764, allocations: 192 / 0.5533 GB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002531/0.3767, allocations: 136.3 kB / 0.5534 GB, free: 4.027 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005143/0.3772, allocations: 483.6 kB / 0.5539 GB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2246/0.6018, allocations: 5.535 MB / 0.5593 GB, free: 28.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01669/0.6185, allocations: 13.46 MB / 0.5724 GB, free: 26.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.6199, allocations: 1.056 MB / 0.5734 GB, free: 26.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009101/0.6208, allocations: 0.6216 MB / 0.5741 GB, free: 26.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00817/0.629, allocations: 6.448 MB / 0.5804 GB, free: 26.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.629, allocations: 57.66 kB / 0.5804 GB, free: 26.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 2.385e-06/0.629, allocations: 0.5938 kB / 0.5804 GB, free: 26.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=192): time 0.03976/0.6688, allocations: 14.28 MB / 0.5944 GB, free: 24.61 MB / 426.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.006451/0.6752, allocations: 6.033 MB / 0.6002 GB, free: 20.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.6768, allocations: 1.758 MB / 0.602 GB, free: 19.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002221/0.6771, allocations: 57.36 kB / 0.602 GB, free: 19.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008239/0.6779, allocations: 2.012 MB / 0.604 GB, free: 17.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004931/0.6784, allocations: 0.6798 MB / 0.6046 GB, free: 17.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009649/0.6793, allocations: 0.6964 MB / 0.6053 GB, free: 17.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.6794, allocations: 482.2 kB / 0.6058 GB, free: 16.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.681, allocations: 1.036 MB / 0.6068 GB, free: 16.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.683, allocations: 2.121 MB / 0.6089 GB, free: 15.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005507/0.6885, allocations: 4.653 MB / 0.6134 GB, free: 12.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.6885, allocations: 8.703 kB / 0.6134 GB, free: 12.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=312) (initialization): time 0.01284/0.7014, allocations: 5.265 MB / 0.6186 GB, free: 8.875 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.7014, allocations: 19.94 kB / 0.6186 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/0.7014, allocations: 24 kB / 0.6186 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0104/0.7118, allocations: 3.455 MB / 0.622 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002662/0.7145, allocations: 0.9134 MB / 0.6229 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009582/0.7241, allocations: 11.44 MB / 0.634 GB, free: 8.875 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.7262, allocations: 136.9 kB / 0.6342 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004545/0.7266, allocations: 427.8 kB / 0.6346 GB, free: 8.324 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: 110 * Number of states: 0 () * Number of discrete variables: 4 (H2O_solid.substanceDefinitionVar.SelfClustering,H2O_solid.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,otherSubstances.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 248 * Array equations: 0 * 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): 2 systems {(1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(5,13), (4,14), (4,3), (2,3), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001361/0.728, allocations: 316.1 kB / 0.6349 GB, free: 8.043 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000661/0.7286, allocations: 310.5 kB / 0.6352 GB, free: 7.738 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0148/0.7434, allocations: 5.871 MB / 0.6409 GB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.7434, allocations: 18.69 kB / 0.6409 GB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/0.7435, allocations: 11.94 kB / 0.6409 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.7435, allocations: 7.969 kB / 0.6409 GB, free: 1.871 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01925/0.7627, allocations: 10.34 MB / 0.651 GB, free: 7.324 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.7627, allocations: 0 / 0.651 GB, free: 7.324 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00229/0.765, allocations: 0.6207 MB / 0.6516 GB, free: 6.719 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01231/0.7773, allocations: 3.664 MB / 0.6552 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003458/0.7777, allocations: 111.9 kB / 0.6553 GB, free: 2.922 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01808/0.7958, allocations: 14.71 MB / 0.6697 GB, free: 3.613 MB / 474.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.006932/0.8027, allocations: 5.644 MB / 0.6752 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/0.8186, allocations: 5.691 MB / 0.6808 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005636/0.8192, allocations: 198.4 kB / 0.681 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003783/0.8196, allocations: 47.95 kB / 0.681 GB, free: 7.699 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.8209, allocations: 91.91 kB / 0.6811 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006948/0.8216, allocations: 237.2 kB / 0.6813 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002819/0.8219, allocations: 211.9 kB / 0.6815 GB, free: 7.176 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001195/0.8231, allocations: 1.068 MB / 0.6826 GB, free: 6.086 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.8231, allocations: 4 kB / 0.6826 GB, free: 6.082 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003139/0.8262, allocations: 1.066 MB / 0.6836 GB, free: 5.016 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 ($STATESET2.x,$STATESET1.x,H2O_gaseuous.logn,otherSubstances.logn,H2O_solid.logm,gasVolatility.rear.n_flow) * 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 (141): * Single equations (assignments): 134 * Array equations: 0 * 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,80.0%), (1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(4,15), (5,7), (2,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007407/0.8269, allocations: 443.4 kB / 0.684 GB, free: 4.645 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00677/0.8337, allocations: 3.836 MB / 0.6878 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8337, allocations: 0 / 0.6878 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004196/0.8379, allocations: 2.666 MB / 0.6904 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.8395, allocations: 0.61 MB / 0.691 GB, free: 13.51 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4695:9-4695:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856: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.6050263869110495]