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.001312/0.001312, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001438/0.001438, allocations: 221.6 kB / 23 MB, free: 4.914 MB / 14.72 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.1477/0.1477, allocations: 23.98 MB / 337.2 MB, free: 10.87 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 75.84 kB / 472.5 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3776, allocations: 59.9 MB / 0.52 GB, free: 9.773 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1585:5-1585: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:1585:5-1585: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.08216/0.4598, allocations: 32.65 MB / 0.5518 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1942/0.654, allocations: 127.2 MB / 0.6761 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004847/0.6588, allocations: 55.69 kB / 0.6762 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004951/0.6638, allocations: 1.13 MB / 0.6773 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006484/0.6703, allocations: 1.369 MB / 0.6786 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006047/0.6763, allocations: 1.665 MB / 0.6802 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009118/0.6854, allocations: 3.776 MB / 0.6839 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.6872, allocations: 0.7184 MB / 0.6846 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/0.6898, allocations: 1.347 MB / 0.6859 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003553/0.6933, allocations: 1.575 MB / 0.6875 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.6944, allocations: 328 kB / 0.6878 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004588/0.699, allocations: 1.245 MB / 0.689 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.7002, allocations: 0.9381 MB / 0.6899 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002112/0.7023, allocations: 1.437 MB / 0.6913 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009203/0.7115, allocations: 5.522 MB / 0.6967 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7115, allocations: 0 / 0.6967 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7115, allocations: 0 / 0.6967 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001048/0.7116, allocations: 0 / 0.6967 GB, free: 4.086 MB / 0.5294 GB 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.00704/0.7187, allocations: 3.998 MB / 0.7006 GB, free: 36 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.7187, allocations: 8.031 kB / 0.7006 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.7207, allocations: 0.7395 MB / 0.7013 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/0.7231, allocations: 1.411 MB / 0.7027 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004107/0.7236, allocations: 433.4 kB / 0.7031 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004504/0.724, allocations: 328.3 kB / 0.7034 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/0.7374, allocations: 10.65 MB / 0.7139 GB, free: 2.383 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.992e-05/0.7374, allocations: 3.938 kB / 0.7139 GB, free: 2.379 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000242/0.7377, allocations: 132 kB / 0.714 GB, free: 2.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005245/0.7382, allocations: 475.7 kB / 0.7144 GB, free: 1.785 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3103/1.048, allocations: 19.86 MB / 0.7338 GB, free: 186.8 MB / 0.5606 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.03101/1.079, allocations: 17.02 MB / 0.7504 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003706/1.083, allocations: 2.264 MB / 0.7527 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002654/1.086, allocations: 1.747 MB / 0.7544 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01556/1.101, allocations: 8.185 MB / 0.7624 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/1.101, allocations: 50.44 kB / 0.7624 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=136): time 5.109e-06/1.101, allocations: 3.938 kB / 0.7624 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=192): time 0.08303/1.184, allocations: 22.69 MB / 0.7846 GB, free: 153.9 MB / 0.5606 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 inlineWhenForInitialization (initialization): time 0.01201/1.196, allocations: 6.545 MB / 0.791 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/1.198, allocations: 1.678 MB / 0.7926 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007569/1.199, allocations: 57.7 kB / 0.7926 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00077/1.2, allocations: 1.863 MB / 0.7945 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006847/1.2, allocations: 0.681 MB / 0.7951 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/1.202, allocations: 0.7211 MB / 0.7958 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.924e-05/1.202, allocations: 301.1 kB / 0.7961 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003293/1.205, allocations: 2.639 MB / 0.7987 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003555/1.208, allocations: 3.403 MB / 0.802 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1471/1.356, allocations: 28.85 MB / 0.8302 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-05/1.356, allocations: 14.59 kB / 0.8302 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.02694/1.383, allocations: 8.912 MB / 0.8389 GB, free: 97.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/1.383, allocations: 16 kB / 0.8389 GB, free: 97.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.046e-05/1.383, allocations: 34.59 kB / 0.839 GB, free: 97.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02064/1.403, allocations: 4.455 MB / 0.8433 GB, free: 93.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005884/1.409, allocations: 1.019 MB / 0.8443 GB, free: 92.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/1.421, allocations: 10.18 MB / 0.8542 GB, free: 81.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004/1.425, allocations: 158.6 kB / 0.8544 GB, free: 81.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009505/1.426, allocations: 451.8 kB / 0.8548 GB, free: 81.16 MB / 0.5606 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: 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(5,13), (3,5), (4,14), (4,3), (2,3), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.002411/1.428, allocations: 0.9163 MB / 0.8557 GB, free: 80.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007879/1.429, allocations: 222.5 kB / 0.8559 GB, free: 80.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02832/1.457, allocations: 8.61 MB / 0.8643 GB, free: 71.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.833e-05/1.457, allocations: 21.16 kB / 0.8644 GB, free: 71.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/1.457, allocations: 7.938 kB / 0.8644 GB, free: 71.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.918e-05/1.457, allocations: 11.95 kB / 0.8644 GB, free: 71.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03437/1.492, allocations: 13.07 MB / 0.8772 GB, free: 58.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.472e-05/1.492, allocations: 12 kB / 0.8772 GB, free: 58.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00491/1.497, allocations: 0.7142 MB / 0.8779 GB, free: 57.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02002/1.517, allocations: 4.073 MB / 0.8818 GB, free: 53.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007549/1.517, allocations: 115.9 kB / 0.8819 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02974/1.547, allocations: 17.3 MB / 0.8988 GB, free: 35.34 MB / 0.5606 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.01011/1.557, allocations: 5.223 MB / 0.9039 GB, free: 29.85 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02963/1.587, allocations: 10.11 MB / 0.9138 GB, free: 19.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/1.587, allocations: 194.5 kB / 0.914 GB, free: 19.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007655/1.588, allocations: 59.77 kB / 0.9141 GB, free: 19.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002654/1.591, allocations: 116.1 kB / 0.9142 GB, free: 19.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007811/1.592, allocations: 233.6 kB / 0.9144 GB, free: 19.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003285/1.592, allocations: 211.9 kB / 0.9146 GB, free: 18.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002135/1.594, allocations: 1.497 MB / 0.9161 GB, free: 17.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.594, allocations: 0 / 0.9161 GB, free: 17.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004768/1.599, allocations: 1.011 MB / 0.917 GB, free: 16.34 MB / 0.5606 GB 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.000998/1.6, allocations: 427.1 kB / 0.9174 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.612, allocations: 5.683 MB / 0.923 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.612, allocations: 4 kB / 0.923 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00804/1.62, allocations: 3.211 MB / 0.9261 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/1.622, allocations: 483 kB / 0.9266 GB, free: 6.473 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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.282652193214744] Failed to read output from testmodel.py, exit status != 0: 1.6320786247961223 1.645237644 0.930537981 Calling exit ...