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.001105/0.001105, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001488/0.001488, allocations: 165.9 kB / 22.45 MB, free: 2.113 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 0.9378/0.9378, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.09577/0.09577, allocations: 17.38 MB / 276.6 MB, free: 11.84 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: "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 411.4 MB, free: 444 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.578e-05, allocations: 2.281 kB / 411.4 MB, free: 440 kB / 378.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.3039/0.3039, allocations: 32.67 MB / 444.1 MB, free: 43.68 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.1186/0.4226, allocations: 127 MB / 0.5577 GB, free: 9.73 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.4241, allocations: 40.69 kB / 0.5578 GB, free: 9.719 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.4266, allocations: 1.181 MB / 0.5589 GB, free: 8.898 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.4288, allocations: 1.362 MB / 0.5603 GB, free: 7.758 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.4314, allocations: 1.624 MB / 0.5618 GB, free: 6.453 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002669/0.4341, allocations: 3.835 MB / 0.5656 GB, free: 4.098 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006664/0.4348, allocations: 0.7169 MB / 0.5663 GB, free: 3.633 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.4359, allocations: 1.949 MB / 0.5682 GB, free: 2.363 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009273/0.4369, allocations: 1.102 MB / 0.5693 GB, free: 1.688 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.4371, allocations: 334.8 kB / 0.5696 GB, free: 1.688 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.4388, allocations: 1.277 MB / 0.5708 GB, free: 1.332 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004976/0.4393, allocations: 0.9961 MB / 0.5718 GB, free: 376 kB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0007384/0.44, allocations: 1.169 MB / 0.573 GB, free: 15.2 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003981/0.444, allocations: 5.565 MB / 0.5784 GB, free: 9.613 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.444, allocations: 0 / 0.5784 GB, free: 9.613 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.944e-06/0.444, allocations: 0 / 0.5784 GB, free: 9.613 MB / 474.8 MB Notification: Performance of Transformations before backend: time 3.211e-05/0.444, allocations: 0 / 0.5784 GB, free: 9.613 MB / 474.8 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.003653/0.4477, allocations: 3.971 MB / 0.5823 GB, free: 5.594 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4477, allocations: 8.031 kB / 0.5823 GB, free: 5.586 MB / 474.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003728/0.4481, allocations: 0.4918 MB / 0.5828 GB, free: 5.086 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.4493, allocations: 0.785 MB / 0.5835 GB, free: 4.305 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.4511, allocations: 1.718 MB / 0.5852 GB, free: 2.547 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003178/0.4515, allocations: 0.5593 MB / 0.5857 GB, free: 1.953 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/0.4517, allocations: 336.3 kB / 0.5861 GB, free: 1.625 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008696/0.4604, allocations: 12.37 MB / 0.5981 GB, free: 5.234 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/0.4605, allocations: 192 / 0.5981 GB, free: 5.234 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.4606, allocations: 135.9 kB / 0.5983 GB, free: 5.102 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005478/0.4612, allocations: 0.4917 MB / 0.5988 GB, free: 4.609 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2116/0.6728, allocations: 21.36 MB / 0.6196 GB, free: 156.6 MB / 0.4949 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.02401/0.6968, allocations: 29.14 MB / 0.6481 GB, free: 143.6 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004911/0.7017, allocations: 5.396 MB / 0.6533 GB, free: 141.3 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00394/0.7056, allocations: 4.333 MB / 0.6576 GB, free: 139.4 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.7068, allocations: 0.7068 MB / 0.6583 GB, free: 139.2 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.7068, allocations: 48.86 kB / 0.6583 GB, free: 139.1 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=150): time 3.646e-06/0.7068, allocations: 0 / 0.6583 GB, free: 139.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=232): time 0.08506/0.7919, allocations: 48.52 MB / 0.7057 GB, free: 104.6 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 inlineWhenForInitialization (initialization): time 0.0535/0.8454, allocations: 29.22 MB / 0.7342 GB, free: 75.24 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00324/0.8486, allocations: 3.762 MB / 0.7379 GB, free: 71.48 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009859/0.8496, allocations: 61.7 kB / 0.738 GB, free: 71.42 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.000593/0.8502, allocations: 1.621 MB / 0.7396 GB, free: 69.87 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006285/0.8508, allocations: 0.8105 MB / 0.7403 GB, free: 69.07 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/0.852, allocations: 0.773 MB / 0.7411 GB, free: 68.3 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 2.984e-05/0.8521, allocations: 305.1 kB / 0.7414 GB, free: 68 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005452/0.8575, allocations: 7.527 MB / 0.7487 GB, free: 60.47 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005528/0.863, allocations: 7.879 MB / 0.7564 GB, free: 52.48 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1062/0.9692, allocations: 42.91 MB / 0.7983 GB, free: 9.797 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.969e-05/0.9692, allocations: 4 kB / 0.7983 GB, free: 9.793 MB / 0.4949 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.2355/1.205, allocations: 20.82 MB / 0.8187 GB, free: 147.8 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/1.205, allocations: 12.11 kB / 0.8187 GB, free: 147.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/1.205, allocations: 8.594 kB / 0.8187 GB, free: 147.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02122/1.226, allocations: 10.55 MB / 0.829 GB, free: 144.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00358/1.23, allocations: 0.9779 MB / 0.83 GB, free: 144.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04867/1.278, allocations: 41.34 MB / 0.8703 GB, free: 123.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003366/1.282, allocations: 277.2 kB / 0.8706 GB, free: 123.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007958/1.282, allocations: 0.5291 MB / 0.8711 GB, free: 123.6 MB / 0.4949 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: 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 (212): * Single equations (assignments): 201 * 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 {(5,13,76.0%), (1,4,100.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.002414/1.285, allocations: 0.8766 MB / 0.872 GB, free: 122.8 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008201/1.286, allocations: 345 kB / 0.8723 GB, free: 122.6 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0211/1.307, allocations: 14.09 MB / 0.886 GB, free: 109.9 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01747/1.324, allocations: 11.47 MB / 0.8972 GB, free: 98.46 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/1.324, allocations: 6.656 kB / 0.8972 GB, free: 98.46 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.111e-05/1.324, allocations: 11.95 kB / 0.8973 GB, free: 98.45 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02914/1.353, allocations: 21.72 MB / 0.9185 GB, free: 76.46 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.466e-05/1.353, allocations: 8 kB / 0.9185 GB, free: 76.45 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00226/1.356, allocations: 0.5158 MB / 0.919 GB, free: 75.94 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03603/1.392, allocations: 10.97 MB / 0.9297 GB, free: 65.11 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007432/1.393, allocations: 146.4 kB / 0.9298 GB, free: 64.97 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02161/1.414, allocations: 19.7 MB / 0.9491 GB, free: 44.91 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.04556/1.46, allocations: 20.07 MB / 0.9687 GB, free: 24.64 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02437/1.484, allocations: 17.99 MB / 0.9862 GB, free: 6.605 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009728/1.485, allocations: 468.1 kB / 0.9867 GB, free: 6.148 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008377/1.486, allocations: 54.61 kB / 0.9867 GB, free: 6.098 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/1.488, allocations: 199.7 kB / 0.9869 GB, free: 5.902 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007915/1.489, allocations: 289.4 kB / 0.9872 GB, free: 5.617 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003309/1.489, allocations: 247.8 kB / 0.9874 GB, free: 5.375 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002848/1.492, allocations: 3.434 MB / 0.9908 GB, free: 1.953 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.11e-07/1.492, allocations: 0 / 0.9908 GB, free: 1.953 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.003815/1.496, allocations: 1.482 MB / 0.9922 GB, free: 0.4922 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 ($cse37,$cse30,$cse23) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 131 * 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%), (5,13,76.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,39), (8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1955/1.691, allocations: 17.56 MB / 1.009 GB, free: 143.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01314/1.705, allocations: 11.69 MB / 1.021 GB, free: 139.2 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.705, allocations: 0 / 1.021 GB, free: 139.2 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006679/1.711, allocations: 4.798 MB / 1.025 GB, free: 137.3 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/1.714, allocations: 0.7171 MB / 1.026 GB, free: 137.1 MB / 0.4949 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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 658] [Calling sys.exit(0), Time elapsed: 3.504505179822445] Failed to read output from testmodel.py, exit status != 0: 1.720185018144548 1.727884314 1.282417809 Calling exit ...