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.001404/0.001404, allocations: 113 kB / 18.94 MB, free: 2.957 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.001456/0.001456, allocations: 214 kB / 22.25 MB, free: 5.121 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.635/1.635, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.1669/0.1669, allocations: 23.86 MB / 336.3 MB, free: 11.2 MB / 270.1 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: 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.002337/0.002337, allocations: 67.89 kB / 471.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4559, allocations: 59.86 MB / 0.5186 GB, free: 9.598 MB / 382.1 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.05408/0.5099, allocations: 34.3 MB / 0.5521 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2208/0.7307, allocations: 148.1 MB / 0.6967 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006226/0.737, allocations: 39.81 kB / 0.6967 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006368/0.7433, allocations: 1.27 MB / 0.698 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008562/0.7519, allocations: 1.291 MB / 0.6992 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005851/0.7577, allocations: 1.673 MB / 0.7009 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008549/0.7663, allocations: 3.724 MB / 0.7045 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.7683, allocations: 0.7254 MB / 0.7052 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/0.7711, allocations: 1.288 MB / 0.7065 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003082/0.7741, allocations: 1.517 MB / 0.708 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001195/0.7753, allocations: 336 kB / 0.7083 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005852/0.7812, allocations: 1.88 MB / 0.7101 GB, free: 5.391 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001525/0.7827, allocations: 0.9889 MB / 0.7111 GB, free: 4.398 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003622/0.7863, allocations: 1.904 MB / 0.7129 GB, free: 2.484 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.7992, allocations: 5.733 MB / 0.7185 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.7992, allocations: 0 / 0.7185 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7992, allocations: 0 / 0.7185 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002272/0.7994, allocations: 4 kB / 0.7185 GB, free: 12.73 MB / 0.5606 GB 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.01321/0.8126, allocations: 4.01 MB / 0.7225 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.8127, allocations: 8.031 kB / 0.7225 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001509/0.8142, allocations: 0.4918 MB / 0.7229 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/0.817, allocations: 0.6892 MB / 0.7236 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004563/0.8215, allocations: 1.715 MB / 0.7253 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009326/0.8225, allocations: 0.5558 MB / 0.7258 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001102/0.8236, allocations: 340.2 kB / 0.7262 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2979/1.121, allocations: 12.33 MB / 0.7382 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-05/1.122, allocations: 0 / 0.7382 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/1.122, allocations: 134.2 kB / 0.7383 GB, free: 185 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000593/1.122, allocations: 0.4897 MB / 0.7388 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02384/1.146, allocations: 21.37 MB / 0.7597 GB, free: 177.2 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.04344/1.19, allocations: 31.08 MB / 0.79 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006761/1.196, allocations: 5.369 MB / 0.7953 GB, free: 142 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004366/1.201, allocations: 4.304 MB / 0.7995 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002326/1.203, allocations: 0.7984 MB / 0.8002 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/1.203, allocations: 43.88 kB / 0.8003 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 3.547e-06/1.203, allocations: 3.406 kB / 0.8003 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1521/1.355, allocations: 48.27 MB / 0.8474 GB, free: 89.04 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.1035/1.459, allocations: 29.46 MB / 0.8762 GB, free: 59.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004109/1.463, allocations: 3.741 MB / 0.8799 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008929/1.464, allocations: 61.7 kB / 0.8799 GB, free: 55.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000964/1.465, allocations: 1.631 MB / 0.8815 GB, free: 54.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/1.466, allocations: 0.8094 MB / 0.8823 GB, free: 53.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002309/1.468, allocations: 0.7733 MB / 0.8831 GB, free: 52.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.678e-05/1.468, allocations: 305.1 kB / 0.8833 GB, free: 52.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008159/1.476, allocations: 7.503 MB / 0.8907 GB, free: 44.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00828/1.485, allocations: 7.845 MB / 0.8983 GB, free: 36.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2187/1.703, allocations: 44.06 MB / 0.9414 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/1.703, allocations: 4 kB / 0.9414 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.3562/2.06, allocations: 20.72 MB / 0.9616 GB, free: 189.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/2.06, allocations: 8.922 kB / 0.9616 GB, free: 189.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/2.06, allocations: 8.812 kB / 0.9616 GB, free: 189.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04081/2.1, allocations: 10.51 MB / 0.9719 GB, free: 186.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006658/2.107, allocations: 0.9595 MB / 0.9728 GB, free: 186.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06117/2.168, allocations: 41.91 MB / 1.014 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005777/2.174, allocations: 261.1 kB / 1.014 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/2.176, allocations: 0.5296 MB / 1.015 GB, free: 154.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: 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.003813/2.179, allocations: 0.8876 MB / 1.015 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001872/2.181, allocations: 351.6 kB / 1.016 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0386/2.22, allocations: 13.9 MB / 1.029 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03411/2.254, allocations: 11.4 MB / 1.04 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.814e-05/2.254, allocations: 6.516 kB / 1.04 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.113e-05/2.254, allocations: 15.89 kB / 1.04 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0541/2.308, allocations: 23.48 MB / 1.063 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.68e-05/2.308, allocations: 6.156 kB / 1.063 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004486/2.313, allocations: 0.5013 MB / 1.064 GB, free: 104 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07283/2.386, allocations: 10.88 MB / 1.074 GB, free: 93.22 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009083/2.386, allocations: 143.8 kB / 1.075 GB, free: 93.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0369/2.423, allocations: 20.09 MB / 1.094 GB, free: 72.63 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.08881/2.512, allocations: 20.26 MB / 1.114 GB, free: 52.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03869/2.551, allocations: 17.78 MB / 1.131 GB, free: 34.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/2.552, allocations: 465.7 kB / 1.132 GB, free: 33.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009916/2.553, allocations: 51.38 kB / 1.132 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003797/2.557, allocations: 186.4 kB / 1.132 GB, free: 33.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001028/2.558, allocations: 293.4 kB / 1.132 GB, free: 33.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004618/2.558, allocations: 250.5 kB / 1.133 GB, free: 33.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004281/2.563, allocations: 3.43 MB / 1.136 GB, free: 29.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/2.563, allocations: 0 / 1.136 GB, free: 29.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005224/2.568, allocations: 1.483 MB / 1.137 GB, free: 28.24 MB / 0.5762 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.03861/2.606, allocations: 17.36 MB / 1.154 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02412/2.631, allocations: 11.63 MB / 1.166 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/2.631, allocations: 0 / 1.166 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01472/2.645, allocations: 4.757 MB / 1.17 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005864/2.651, allocations: 0.7177 MB / 1.171 GB, free: 9.852 MB / 0.5919 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.738253677962348] Failed to read output from testmodel.py, exit status != 0: 2.662764231907204 2.934741897 2.132169669 Calling exit ...