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.00179/0.00179, allocations: 107.3 kB / 16.45 MB, free: 6.508 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.002353/0.002353, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.587/1.587, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.153/0.153, allocations: 23.85 MB / 332.7 MB, free: 12.38 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.002101/0.002101, allocations: 67.91 kB / 466 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.491, allocations: 59.83 MB / 0.5135 GB, free: 8.902 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.05471/0.5458, allocations: 34.11 MB / 0.5468 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2191/0.7648, allocations: 148.1 MB / 0.6914 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004922/0.7698, allocations: 39.81 kB / 0.6914 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005335/0.7751, allocations: 1.281 MB / 0.6927 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006709/0.7818, allocations: 1.307 MB / 0.6939 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007435/0.7892, allocations: 1.7 MB / 0.6956 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009205/0.7985, allocations: 3.712 MB / 0.6992 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.8003, allocations: 0.7757 MB / 0.7 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.8033, allocations: 1.292 MB / 0.7013 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004116/0.8074, allocations: 1.517 MB / 0.7027 GB, free: 8.906 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001945/0.8093, allocations: 336 kB / 0.7031 GB, free: 8.578 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008053/0.8174, allocations: 1.876 MB / 0.7049 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001802/0.8192, allocations: 0.9927 MB / 0.7059 GB, free: 5.703 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003424/0.8226, allocations: 1.904 MB / 0.7077 GB, free: 3.789 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01254/0.8351, allocations: 5.733 MB / 0.7133 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.8351, allocations: 3.938 kB / 0.7133 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.487e-06/0.8352, allocations: 0 / 0.7133 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001771/0.8353, allocations: 0 / 0.7133 GB, free: 14.03 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.009818/0.8451, allocations: 4.081 MB / 0.7173 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.8452, allocations: 8.031 kB / 0.7173 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007437/0.8459, allocations: 0.4996 MB / 0.7178 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.848, allocations: 0.6892 MB / 0.7185 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003436/0.8514, allocations: 1.769 MB / 0.7202 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006237/0.852, allocations: 484 kB / 0.7207 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004653/0.8525, allocations: 340.2 kB / 0.721 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3266/1.179, allocations: 11.8 MB / 0.7325 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-05/1.179, allocations: 0 / 0.7325 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002518/1.179, allocations: 130.8 kB / 0.7326 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007804/1.18, allocations: 0.4901 MB / 0.7331 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02799/1.208, allocations: 20.47 MB / 0.7531 GB, free: 177.7 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.03952/1.248, allocations: 30.55 MB / 0.7829 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005724/1.253, allocations: 5.312 MB / 0.7881 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004058/1.257, allocations: 4.255 MB / 0.7923 GB, free: 142 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00247/1.26, allocations: 1.829 MB / 0.7941 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/1.26, allocations: 43.88 kB / 0.7941 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 3.196e-06/1.26, allocations: 4 kB / 0.7941 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.158/1.418, allocations: 48.24 MB / 0.8412 GB, free: 92.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.1061/1.524, allocations: 29.42 MB / 0.8699 GB, free: 62.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003985/1.528, allocations: 3.734 MB / 0.8736 GB, free: 58.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001685/1.53, allocations: 65.7 kB / 0.8737 GB, free: 58.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001449/1.531, allocations: 1.625 MB / 0.8752 GB, free: 57.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002176/1.533, allocations: 0.812 MB / 0.876 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002305/1.536, allocations: 0.7734 MB / 0.8768 GB, free: 55.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.401e-05/1.536, allocations: 305.1 kB / 0.8771 GB, free: 55.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007508/1.543, allocations: 7.374 MB / 0.8843 GB, free: 47.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008381/1.552, allocations: 7.726 MB / 0.8918 GB, free: 39.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2394/1.791, allocations: 43.94 MB / 0.9347 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/1.791, allocations: 7 kB / 0.9347 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.3739/2.165, allocations: 20.44 MB / 0.9547 GB, free: 190.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/2.165, allocations: 10.94 kB / 0.9547 GB, free: 190.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.609e-05/2.165, allocations: 7.938 kB / 0.9547 GB, free: 190.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04606/2.211, allocations: 10.36 MB / 0.9648 GB, free: 187.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007157/2.218, allocations: 0.9616 MB / 0.9658 GB, free: 187.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06395/2.282, allocations: 41.58 MB / 1.006 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006811/2.289, allocations: 262.8 kB / 1.007 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/2.29, allocations: 0.5237 MB / 1.007 GB, free: 159.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.003318/2.294, allocations: 0.8772 MB / 1.008 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/2.295, allocations: 345 kB / 1.008 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03804/2.333, allocations: 13.89 MB / 1.022 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03289/2.366, allocations: 11.37 MB / 1.033 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.143e-05/2.366, allocations: 8 kB / 1.033 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/2.366, allocations: 15.89 kB / 1.033 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04957/2.416, allocations: 23.45 MB / 1.056 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/2.416, allocations: 4 kB / 1.056 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00449/2.421, allocations: 0.4996 MB / 1.056 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07778/2.498, allocations: 10.88 MB / 1.067 GB, free: 98.33 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008667/2.499, allocations: 138.5 kB / 1.067 GB, free: 98.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03686/2.536, allocations: 20.42 MB / 1.087 GB, free: 77.36 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.0957/2.632, allocations: 20.45 MB / 1.107 GB, free: 56.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0414/2.673, allocations: 17.74 MB / 1.124 GB, free: 38.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/2.675, allocations: 0.5354 MB / 1.125 GB, free: 38.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/2.676, allocations: 50.53 kB / 1.125 GB, free: 38.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004791/2.681, allocations: 187.9 kB / 1.125 GB, free: 38.08 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001345/2.683, allocations: 288.1 kB / 1.125 GB, free: 37.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005293/2.683, allocations: 247.8 kB / 1.126 GB, free: 37.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004343/2.687, allocations: 3.415 MB / 1.129 GB, free: 34.15 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/2.687, allocations: 2.656 kB / 1.129 GB, free: 34.15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006363/2.694, allocations: 1.484 MB / 1.13 GB, free: 32.69 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.03974/2.733, allocations: 17.32 MB / 1.147 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01884/2.752, allocations: 11.49 MB / 1.159 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/2.752, allocations: 4 kB / 1.159 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01127/2.764, allocations: 4.74 MB / 1.163 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/2.768, allocations: 0.7195 MB / 1.164 GB, free: 14.47 MB / 0.5919 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818: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.564632223002263] Failed to read output from testmodel.py, exit status != 0: 2.777836278997711 2.791872786 1.953395399 Calling exit ...