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.001051/0.001051, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001738/0.00279, allocations: 455.9 kB / 10.43 MB, free: 260 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.001141/0.001141, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001524/0.002666, allocations: 475.6 kB / 11.8 MB, free: 2.363 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.9982/0.9982, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09195/1.09, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.103/0.103, allocations: 17.37 MB / 261.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01326/0.1163, allocations: 6.928 MB / 268.4 MB, free: 6.422 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.913e-06/1.913e-06, allocations: 0 / 269.7 MB, free: 5.129 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.881e-05, allocations: 6.312 kB / 269.7 MB, free: 5.121 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.1527/0.1528, allocations: 13.19 MB / 282.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1506/0.3034, allocations: 140 MB / 423 MB, free: 8.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003223/0.3066, allocations: 39.81 kB / 423 MB, free: 8.801 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003954/0.3106, allocations: 1.234 MB / 424.3 MB, free: 7.559 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004632/0.3152, allocations: 1.341 MB / 425.6 MB, free: 6.207 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004018/0.3192, allocations: 1.672 MB / 427.3 MB, free: 4.527 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006015/0.3252, allocations: 3.81 MB / 431.1 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1786/0.5039, allocations: 0.7601 MB / 431.8 MB, free: 4.754 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003425/0.5073, allocations: 2.127 MB / 434 MB, free: 4.676 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.5094, allocations: 1.145 MB / 435.1 MB, free: 4.676 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009098/0.5104, allocations: 336.1 kB / 435.4 MB, free: 4.676 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003533/0.5139, allocations: 1.312 MB / 436.7 MB, free: 4.676 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008072/0.5147, allocations: 0.8369 MB / 437.6 MB, free: 4.676 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.5164, allocations: 0.9792 MB / 438.6 MB, free: 4.676 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005223/0.5216, allocations: 3.832 MB / 442.4 MB, free: 4.379 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.869e-05/0.5217, allocations: 0 / 442.4 MB, free: 4.379 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5217, allocations: 2.297 kB / 442.4 MB, free: 4.379 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001257/0.5218, allocations: 0.7812 kB / 442.4 MB, free: 4.379 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.005129/0.5269, allocations: 4.648 MB / 447 MB, free: 18.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.5269, allocations: 12.16 kB / 447.1 MB, free: 18.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.5286, allocations: 1.496 MB / 448.6 MB, free: 18.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.5301, allocations: 1.195 MB / 449.8 MB, free: 18.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/0.5303, allocations: 0.5536 MB / 450.3 MB, free: 17.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.5306, allocations: 325.5 kB / 450.6 MB, free: 17.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002905/0.5335, allocations: 3.486 MB / 454.1 MB, free: 17.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/0.5335, allocations: 192 / 454.1 MB, free: 17.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.5337, allocations: 131 kB / 454.2 MB, free: 17.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000296/0.534, allocations: 483.2 kB / 454.7 MB, free: 17.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003477/0.5374, allocations: 4.272 MB / 459 MB, free: 17.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01614/0.5536, allocations: 13.04 MB / 472 MB, free: 16.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.5552, allocations: 0.914 MB / 472.9 MB, free: 16.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008213/0.556, allocations: 444.5 kB / 473.4 MB, free: 16.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009839/0.557, allocations: 0.6863 MB / 474.1 MB, free: 16.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.557, allocations: 47.19 kB / 474.1 MB, free: 15.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 3.717e-06/0.557, allocations: 0.9062 kB / 474.1 MB, free: 15.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=204): time 0.07321/0.6302, allocations: 14.46 MB / 488.6 MB, free: 11.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0805/0.7107, allocations: 21.36 MB / 0.498 GB, free: 8.891 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.7121, allocations: 1.372 MB / 0.4993 GB, free: 7.727 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007002/0.7128, allocations: 57.7 kB / 0.4994 GB, free: 7.664 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006806/0.7135, allocations: 1.392 MB / 0.5007 GB, free: 6.328 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000805/0.7143, allocations: 0.7194 MB / 0.5014 GB, free: 5.652 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/0.7157, allocations: 0.5202 MB / 0.5019 GB, free: 5.176 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.471e-05/0.7158, allocations: 304.2 kB / 0.5022 GB, free: 4.879 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.7175, allocations: 0.7183 MB / 0.5029 GB, free: 4.156 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/0.7193, allocations: 1.045 MB / 0.504 GB, free: 3.043 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005045/0.7243, allocations: 2.923 MB / 0.5068 GB, free: 92 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.7243, allocations: 7.031 kB / 0.5068 GB, free: 88 kB / 442.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01548/0.7398, allocations: 3.881 MB / 0.5106 GB, free: 12.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.7398, allocations: 11.09 kB / 0.5106 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.7399, allocations: 12 kB / 0.5106 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02113/0.761, allocations: 8.063 MB / 0.5185 GB, free: 4.277 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003079/0.7641, allocations: 0.9303 MB / 0.5194 GB, free: 3.379 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02058/0.7847, allocations: 11.83 MB / 0.531 GB, free: 7.391 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/0.7867, allocations: 95.66 kB / 0.531 GB, free: 7.301 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005486/0.7872, allocations: 479.8 kB / 0.5315 GB, free: 6.832 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.001486/0.7887, allocations: 222.7 kB / 0.5317 GB, free: 6.625 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007057/0.7894, allocations: 187.8 kB / 0.5319 GB, free: 6.441 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/0.8041, allocations: 4.931 MB / 0.5367 GB, free: 1.605 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01199/0.8161, allocations: 2.878 MB / 0.5395 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/0.8161, allocations: 4 kB / 0.5395 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.777e-05/0.8162, allocations: 7.969 kB / 0.5395 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/0.8352, allocations: 7.367 MB / 0.5467 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/0.8353, allocations: 4 kB / 0.5467 GB, free: 7.547 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/0.837, allocations: 0.5244 MB / 0.5472 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000579/0.8376, allocations: 202 kB / 0.5474 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0459/0.8835, allocations: 8.583 MB / 0.5558 GB, free: 14.36 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005698/0.884, allocations: 95.89 kB / 0.5559 GB, free: 14.27 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01536/0.8994, allocations: 8.82 MB / 0.5645 GB, free: 5.281 MB / 0.4949 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.04051/0.9399, allocations: 12.24 MB / 0.5765 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/0.954, allocations: 4.076 MB / 0.5805 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006045/0.9546, allocations: 51.92 kB / 0.5805 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.9558, allocations: 59.97 kB / 0.5806 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005817/0.9564, allocations: 213.3 kB / 0.5808 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005517/0.957, allocations: 203.9 kB / 0.581 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001168/0.9581, allocations: 0.848 MB / 0.5818 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.9581, allocations: 0 / 0.5818 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003206/0.9613, allocations: 1.297 MB / 0.5831 GB, free: 2.359 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.0007445/0.9621, allocations: 419.1 kB / 0.5835 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005539/0.9676, allocations: 2.749 MB / 0.5861 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.341e-05/0.9677, allocations: 25.53 kB / 0.5862 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004551/0.9722, allocations: 2.131 MB / 0.5883 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/0.975, allocations: 3.568 MB / 0.5917 GB, free: 8.992 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4647:9-4647: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.5295710545033216]