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.0007368/0.0007368, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001107/0.001844, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006998/0.0006998, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009127/0.001613, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9699/0.9699, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09499/1.065, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.09821/0.09821, allocations: 17.36 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01608/0.1143, allocations: 6.937 MB / 268.4 MB, free: 6.402 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.633e-06/1.633e-06, allocations: 0 / 269.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.317e-05, allocations: 2.312 kB / 269.7 MB, free: 5.105 MB / 266.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.1577/0.1577, allocations: 13.2 MB / 282.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1378/0.2955, allocations: 140 MB / 423 MB, free: 8.812 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002943/0.2985, allocations: 39.81 kB / 423 MB, free: 8.773 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003627/0.3021, allocations: 1.219 MB / 424.2 MB, free: 7.547 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005213/0.3073, allocations: 1.349 MB / 425.6 MB, free: 6.188 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004453/0.3117, allocations: 1.676 MB / 427.3 MB, free: 4.504 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005717/0.3175, allocations: 3.812 MB / 431.1 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1972/0.5146, allocations: 0.763 MB / 431.8 MB, free: 4.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004245/0.5189, allocations: 2.123 MB / 434 MB, free: 4.652 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002817/0.5217, allocations: 1.135 MB / 435.1 MB, free: 4.652 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001238/0.5229, allocations: 337.6 kB / 435.4 MB, free: 4.652 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004704/0.5276, allocations: 1.315 MB / 436.7 MB, free: 4.652 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004034/0.5317, allocations: 0.8322 MB / 437.6 MB, free: 4.652 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005405/0.5371, allocations: 0.9815 MB / 438.5 MB, free: 4.652 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.5495, allocations: 3.832 MB / 442.4 MB, free: 4.355 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.537e-05/0.5495, allocations: 0 / 442.4 MB, free: 4.355 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5495, allocations: 2.406 kB / 442.4 MB, free: 4.355 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001186/0.5497, allocations: 0 / 442.4 MB, free: 4.355 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: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.0117/0.5614, allocations: 4.648 MB / 447 MB, free: 18.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.5614, allocations: 8.531 kB / 447 MB, free: 18.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005436/0.5668, allocations: 1.501 MB / 448.5 MB, free: 18.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.569, allocations: 1.192 MB / 449.7 MB, free: 18.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/0.5694, allocations: 0.5564 MB / 450.3 MB, free: 17.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003385/0.5728, allocations: 327.5 kB / 450.6 MB, free: 17.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00763/0.5804, allocations: 3.48 MB / 454.1 MB, free: 17.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-05/0.5805, allocations: 3.094 kB / 454.1 MB, free: 17.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.5806, allocations: 133.3 kB / 454.2 MB, free: 17.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004016/0.581, allocations: 484.4 kB / 454.7 MB, free: 17.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.5911, allocations: 4.267 MB / 459 MB, free: 17.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0183/0.6094, allocations: 13.04 MB / 472 MB, free: 16.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.611, allocations: 0.9095 MB / 472.9 MB, free: 16.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008007/0.6118, allocations: 441.9 kB / 473.3 MB, free: 16.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009746/0.6127, allocations: 0.6941 MB / 474 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.6128, allocations: 52.52 kB / 474.1 MB, free: 15.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 3.006e-06/0.6128, allocations: 3.938 kB / 474.1 MB, free: 15.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=204): time 0.05152/0.6643, allocations: 13.89 MB / 488 MB, free: 11.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06633/0.7306, allocations: 21.31 MB / 0.4974 GB, free: 9.445 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.7322, allocations: 1.373 MB / 0.4987 GB, free: 8.281 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006469/0.7329, allocations: 57.7 kB / 0.4988 GB, free: 8.219 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005863/0.7334, allocations: 1.399 MB / 0.5001 GB, free: 6.883 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007821/0.7342, allocations: 0.7198 MB / 0.5008 GB, free: 6.207 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/0.7353, allocations: 0.5212 MB / 0.5013 GB, free: 5.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.7353, allocations: 301.1 kB / 0.5016 GB, free: 5.434 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.7372, allocations: 0.7379 MB / 0.5023 GB, free: 4.691 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.7389, allocations: 1.062 MB / 0.5034 GB, free: 3.559 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004727/0.7436, allocations: 2.982 MB / 0.5063 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.7436, allocations: 4 kB / 0.5063 GB, free: 0.543 MB / 442.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01329/0.7569, allocations: 3.761 MB / 0.51 GB, free: 12.87 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.7569, allocations: 9 kB / 0.51 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/0.757, allocations: 12 kB / 0.51 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02041/0.7774, allocations: 8.089 MB / 0.5179 GB, free: 4.855 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003118/0.7805, allocations: 0.9545 MB / 0.5188 GB, free: 3.934 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/0.8003, allocations: 11.75 MB / 0.5303 GB, free: 8.012 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.8024, allocations: 95.94 kB / 0.5304 GB, free: 7.918 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007606/0.8032, allocations: 471.7 kB / 0.5308 GB, free: 7.457 MB / 474.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 (184): * Single equations (assignments): 173 * 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 {(1,4,100.0%), (5,13,80.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.001682/0.8049, allocations: 233 kB / 0.5311 GB, free: 7.242 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00077/0.8056, allocations: 181.7 kB / 0.5312 GB, free: 7.066 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/0.8179, allocations: 4.45 MB / 0.5356 GB, free: 2.707 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009892/0.8278, allocations: 2.539 MB / 0.5381 GB, free: 184 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.276e-05/0.8278, allocations: 4 kB / 0.5381 GB, free: 180 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.103e-05/0.8279, allocations: 11.95 kB / 0.5381 GB, free: 168 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02047/0.8484, allocations: 7.128 MB / 0.545 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/0.8484, allocations: 7.984 kB / 0.545 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002414/0.8508, allocations: 0.5287 MB / 0.5456 GB, free: 8.711 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007786/0.8516, allocations: 198.5 kB / 0.5457 GB, free: 8.516 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08332/0.9349, allocations: 8.39 MB / 0.5539 GB, free: 232 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005942/0.9355, allocations: 95.89 kB / 0.554 GB, free: 136 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/0.9498, allocations: 8.444 MB / 0.5623 GB, free: 7.523 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.04026/0.99, allocations: 12.24 MB / 0.5742 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/1.002, allocations: 3.854 MB / 0.578 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005867/1.003, allocations: 43.94 kB / 0.578 GB, free: 7.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/1.004, allocations: 59.97 kB / 0.5781 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006415/1.005, allocations: 212.6 kB / 0.5783 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000295/1.005, allocations: 203.9 kB / 0.5785 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001294/1.006, allocations: 0.8387 MB / 0.5793 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/1.006, allocations: 3.094 kB / 0.5793 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003663/1.01, allocations: 1.3 MB / 0.5806 GB, free: 4.832 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (108): * Single equations (assignments): 103 * 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%), (3,5,88.9%), (5,13,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(8,17), (15,39)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001355/1.011, allocations: 420.8 kB / 0.581 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005643/1.017, allocations: 2.668 MB / 0.5836 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.58e-05/1.017, allocations: 31.47 kB / 0.5836 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003937/1.021, allocations: 1.997 MB / 0.5856 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00365/1.025, allocations: 3.552 MB / 0.589 GB, free: 11.71 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4633:9-4633:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:793:5-793: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.584993460215628]