Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.WaterVaporization.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.001011/0.001011, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 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.0008428/0.0008428, allocations: 165.9 kB / 23.18 MB, free: 1.379 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 1.071/1.071, allocations: 177.2 MB / 203.6 MB, free: 5.66 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.1186/0.1186, allocations: 17.37 MB / 277.4 MB, free: 11.89 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.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") [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.0009522/0.0009522, allocations: 63.89 kB / 412.8 MB, free: 15.92 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4396, allocations: 59.84 MB / 472.6 MB, free: 29.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01126/0.4508, allocations: 11.55 MB / 484.2 MB, free: 22.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1802/0.631, allocations: 126.1 MB / 0.596 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004372/0.6354, allocations: 39.81 kB / 0.5961 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.004804/0.6402, allocations: 1.176 MB / 0.5972 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.005825/0.646, allocations: 1.307 MB / 0.5985 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0052/0.6512, allocations: 1.607 MB / 0.6 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.007128/0.6584, allocations: 3.726 MB / 0.6037 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.6599, allocations: 0.7096 MB / 0.6044 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004073/0.6639, allocations: 2.037 MB / 0.6064 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.6665, allocations: 1.306 MB / 0.6076 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0009571/0.6674, allocations: 336 kB / 0.608 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004743/0.6722, allocations: 1.275 MB / 0.6092 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001237/0.6734, allocations: 0.9849 MB / 0.6102 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002901/0.6763, allocations: 1.457 MB / 0.6116 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.6888, allocations: 5.596 MB / 0.6171 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.6888, allocations: 0 / 0.6171 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.699e-06/0.6888, allocations: 0 / 0.6171 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002524/0.6891, allocations: 0 / 0.6171 GB, free: 3.559 MB / 0.5105 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.009927/0.699, allocations: 4.01 MB / 0.621 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.151e-05/0.6991, allocations: 12.03 kB / 0.621 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.7011, allocations: 0.7874 MB / 0.6218 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/0.7045, allocations: 1.711 MB / 0.6234 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007412/0.7053, allocations: 0.5597 MB / 0.624 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004362/0.7057, allocations: 332.2 kB / 0.6243 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3859/1.092, allocations: 12.36 MB / 0.6364 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.07e-05/1.092, allocations: 0 / 0.6364 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/1.092, allocations: 133.1 kB / 0.6365 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005985/1.092, allocations: 0.4915 MB / 0.637 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02502/1.117, allocations: 21.38 MB / 0.6578 GB, free: 140.6 MB / 0.5261 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.04771/1.165, allocations: 27.94 MB / 0.6851 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006123/1.171, allocations: 5.392 MB / 0.6904 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004585/1.176, allocations: 4.334 MB / 0.6946 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/1.177, allocations: 0.7034 MB / 0.6953 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/1.177, allocations: 51.88 kB / 0.6954 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=150): time 6.432e-06/1.177, allocations: 0 / 0.6954 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=232): time 0.09965/1.277, allocations: 48.49 MB / 0.7427 GB, free: 67.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1099/1.387, allocations: 60.38 MB / 0.8017 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/1.389, allocations: 1.812 MB / 0.8035 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001588/1.391, allocations: 61.7 kB / 0.8035 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007918/1.391, allocations: 1.661 MB / 0.8051 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/1.392, allocations: 0.8133 MB / 0.8059 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/1.394, allocations: 0.7928 MB / 0.8067 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.943e-05/1.394, allocations: 301.1 kB / 0.807 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008831/1.403, allocations: 7.532 MB / 0.8143 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009497/1.412, allocations: 7.874 MB / 0.822 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5569/1.969, allocations: 42.92 MB / 0.8639 GB, free: 182.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.769e-05/1.969, allocations: 4.125 kB / 0.8639 GB, free: 182.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.03721/2.006, allocations: 20.69 MB / 0.8842 GB, free: 174.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/2.006, allocations: 12.03 kB / 0.8842 GB, free: 174.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-05/2.006, allocations: 7.969 kB / 0.8842 GB, free: 174.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02632/2.033, allocations: 10.56 MB / 0.8945 GB, free: 171.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004354/2.037, allocations: 0.9745 MB / 0.8954 GB, free: 171.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03902/2.076, allocations: 41.27 MB / 0.9357 GB, free: 137.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003941/2.08, allocations: 271.6 kB / 0.936 GB, free: 137.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000937/2.081, allocations: 0.5348 MB / 0.9365 GB, free: 136.9 MB / 0.573 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 {(3,5,88.9%), (1,4,100.0%), (5,13,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,8), (2,1), (6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.002866/2.084, allocations: 0.881 MB / 0.9374 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009123/2.085, allocations: 216.9 kB / 0.9376 GB, free: 135.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02265/2.107, allocations: 13.89 MB / 0.9512 GB, free: 121.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02145/2.129, allocations: 11.47 MB / 0.9624 GB, free: 110.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.769e-05/2.129, allocations: 11.98 kB / 0.9624 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.856e-05/2.129, allocations: 11.97 kB / 0.9624 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0363/2.165, allocations: 22.02 MB / 0.9839 GB, free: 88.11 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-05/2.165, allocations: 4 kB / 0.9839 GB, free: 88.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00296/2.168, allocations: 0.5154 MB / 0.9844 GB, free: 87.59 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04042/2.209, allocations: 10.97 MB / 0.9951 GB, free: 76.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009781/2.21, allocations: 143.8 kB / 0.9952 GB, free: 76.46 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0246/2.234, allocations: 19.64 MB / 1.014 GB, free: 56.47 MB / 0.573 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.05051/2.285, allocations: 20.02 MB / 1.034 GB, free: 36.19 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02754/2.312, allocations: 17.75 MB / 1.051 GB, free: 18.35 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008456/2.313, allocations: 240.6 kB / 1.052 GB, free: 18.11 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/2.314, allocations: 57.91 kB / 1.052 GB, free: 18.06 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00231/2.317, allocations: 195.7 kB / 1.052 GB, free: 17.87 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009146/2.317, allocations: 297.4 kB / 1.052 GB, free: 17.58 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003722/2.318, allocations: 247.8 kB / 1.052 GB, free: 17.34 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001963/2.32, allocations: 2.033 MB / 1.054 GB, free: 15.31 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.7e-07/2.32, allocations: 0 / 1.054 GB, free: 15.31 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004807/2.325, allocations: 1.464 MB / 1.056 GB, free: 13.87 MB / 0.573 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 ($cse53,$cse46,$cse39) * 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.001145/2.326, allocations: 421.2 kB / 1.056 GB, free: 13.53 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01368/2.339, allocations: 11.68 MB / 1.068 GB, free: 1.801 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/2.339, allocations: 4.125 kB / 1.068 GB, free: 1.797 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00803/2.347, allocations: 4.778 MB / 1.072 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/2.35, allocations: 0.4967 MB / 1.073 GB, free: 12.5 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4747:9-4747: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: 4.727011973969638] Failed to read output from testmodel.py, exit status != 0: 2.359511549002491 2.6543755509999998 1.6787943760000001 Calling exit ...