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.001534/0.001534, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001303/0.001303, allocations: 165.2 kB / 23.01 MB, free: 4.598 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.353/1.353, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 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.1283/0.1283, allocations: 17.44 MB / 277.2 MB, free: 15.23 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.002017/0.002017, allocations: 63.91 kB / 412.6 MB, free: 5.602 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1162, allocations: 59.88 MB / 472.4 MB, free: 9.605 MB / 446.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.2686/0.3848, allocations: 32.62 MB / 0.4932 GB, free: 37.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1454/0.5302, allocations: 127.3 MB / 0.6175 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002118/0.5323, allocations: 59.69 kB / 0.6176 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003548/0.5358, allocations: 1.13 MB / 0.6187 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.54, allocations: 1.361 MB / 0.62 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004501/0.5445, allocations: 1.669 MB / 0.6216 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006295/0.5508, allocations: 3.781 MB / 0.6253 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.5521, allocations: 0.7184 MB / 0.626 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.554, allocations: 1.335 MB / 0.6273 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.5566, allocations: 1.579 MB / 0.6289 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004721/0.557, allocations: 328 kB / 0.6292 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003341/0.5604, allocations: 1.256 MB / 0.6304 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008463/0.5612, allocations: 0.9419 MB / 0.6313 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001629/0.5629, allocations: 1.43 MB / 0.6327 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008043/0.5709, allocations: 5.518 MB / 0.6381 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5709, allocations: 0 / 0.6381 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5709, allocations: 0 / 0.6381 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.059e-05/0.571, allocations: 0 / 0.6381 GB, free: 9.711 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.006865/0.5779, allocations: 3.999 MB / 0.642 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.5779, allocations: 12.03 kB / 0.642 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.5799, allocations: 0.7321 MB / 0.6427 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.5822, allocations: 1.403 MB / 0.6441 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003925/0.5826, allocations: 433.4 kB / 0.6445 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004466/0.5831, allocations: 336.3 kB / 0.6448 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01343/0.5965, allocations: 10.65 MB / 0.6552 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.338e-05/0.5966, allocations: 0 / 0.6552 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002463/0.5968, allocations: 140 kB / 0.6554 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005187/0.5973, allocations: 475.7 kB / 0.6558 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02247/0.6198, allocations: 19.86 MB / 0.6752 GB, free: 3.551 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.02867/0.6485, allocations: 17.02 MB / 0.6918 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003752/0.6522, allocations: 2.273 MB / 0.6941 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2097/0.8619, allocations: 1.748 MB / 0.6958 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01336/0.8753, allocations: 8.172 MB / 0.7037 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.8753, allocations: 52.41 kB / 0.7038 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 4.068e-06/0.8753, allocations: 0 / 0.7038 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=192): time 0.08235/0.9577, allocations: 22.74 MB / 0.726 GB, free: 171.5 MB / 0.5762 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.01264/0.9703, allocations: 6.563 MB / 0.7324 GB, free: 167 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.9723, allocations: 1.682 MB / 0.734 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005498/0.9728, allocations: 56.58 kB / 0.7341 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008853/0.9737, allocations: 1.863 MB / 0.7359 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006349/0.9744, allocations: 0.6804 MB / 0.7366 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/0.9756, allocations: 0.7167 MB / 0.7373 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.3e-05/0.9756, allocations: 306 kB / 0.7376 GB, free: 164 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003848/0.9795, allocations: 2.639 MB / 0.7402 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004471/0.9839, allocations: 3.4 MB / 0.7435 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1557/1.14, allocations: 29.15 MB / 0.7719 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.542e-05/1.14, allocations: 8 kB / 0.772 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.02748/1.167, allocations: 8.912 MB / 0.7807 GB, free: 134.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/1.167, allocations: 16 kB / 0.7807 GB, free: 134.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/1.167, allocations: 24 kB / 0.7807 GB, free: 134.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02055/1.188, allocations: 4.509 MB / 0.7851 GB, free: 129.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005511/1.193, allocations: 1.02 MB / 0.7861 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/1.204, allocations: 10.16 MB / 0.796 GB, free: 118.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003837/1.208, allocations: 154.6 kB / 0.7962 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008697/1.209, allocations: 459.8 kB / 0.7966 GB, free: 117.6 MB / 0.5762 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.002271/1.211, allocations: 0.9103 MB / 0.7975 GB, free: 116.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009491/1.212, allocations: 226.5 kB / 0.7977 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02911/1.241, allocations: 8.62 MB / 0.8061 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.478e-05/1.241, allocations: 23.97 kB / 0.8061 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/1.241, allocations: 8 kB / 0.8062 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.176e-05/1.241, allocations: 11.95 kB / 0.8062 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03648/1.278, allocations: 13.06 MB / 0.8189 GB, free: 94.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/1.278, allocations: 0 / 0.8189 GB, free: 94.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004947/1.283, allocations: 0.7162 MB / 0.8196 GB, free: 93.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02063/1.303, allocations: 4.117 MB / 0.8236 GB, free: 89.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006061/1.304, allocations: 119.9 kB / 0.8238 GB, free: 89.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03059/1.335, allocations: 17.3 MB / 0.8407 GB, free: 71.85 MB / 0.5762 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.01041/1.345, allocations: 5.219 MB / 0.8458 GB, free: 66.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03024/1.375, allocations: 10.12 MB / 0.8556 GB, free: 56.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005584/1.376, allocations: 194.5 kB / 0.8558 GB, free: 55.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008938/1.377, allocations: 39.95 kB / 0.8559 GB, free: 55.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003151/1.38, allocations: 115.9 kB / 0.856 GB, free: 55.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008783/1.381, allocations: 237.5 kB / 0.8562 GB, free: 55.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004802/1.381, allocations: 211.9 kB / 0.8564 GB, free: 55.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001935/1.383, allocations: 1.49 MB / 0.8579 GB, free: 53.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.383, allocations: 0 / 0.8579 GB, free: 53.89 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003844/1.387, allocations: 1.019 MB / 0.8589 GB, free: 52.87 MB / 0.5762 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.0009478/1.388, allocations: 427.8 kB / 0.8593 GB, free: 52.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01161/1.4, allocations: 5.667 MB / 0.8648 GB, free: 46.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.4, allocations: 0 / 0.8648 GB, free: 46.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00777/1.407, allocations: 3.216 MB / 0.8679 GB, free: 43.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/1.41, allocations: 488.4 kB / 0.8684 GB, free: 43.07 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4747:9-4747:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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: 3.722919772961177] Failed to read output from testmodel.py, exit status != 0: 1.4196906199213117 1.428909186 0.855742572 Calling exit ...