Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001597/0.001597, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001763/0.001763, allocations: 212.6 kB / 22.99 MB, free: 4.957 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1281/0.1281, allocations: 23.92 MB / 337.1 MB, free: 10.94 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Examples.WaterVaporization") translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.001995/0.001995, allocations: 67.89 kB / 472.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2744, allocations: 59.88 MB / 0.5198 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01096/0.2854, allocations: 11.54 MB / 0.5311 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2273/0.5127, allocations: 146.8 MB / 0.6745 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.5151, allocations: 55.69 kB / 0.6745 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003386/0.5185, allocations: 1.118 MB / 0.6756 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004343/0.5228, allocations: 1.342 MB / 0.6769 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004269/0.5271, allocations: 1.603 MB / 0.6785 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006367/0.5334, allocations: 3.708 MB / 0.6821 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.5347, allocations: 0.7287 MB / 0.6828 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.5366, allocations: 1.316 MB / 0.6841 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/0.539, allocations: 1.774 MB / 0.6859 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004652/0.5394, allocations: 320 kB / 0.6862 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002902/0.5423, allocations: 1.213 MB / 0.6874 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008066/0.5431, allocations: 0.9108 MB / 0.6882 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001545/0.5447, allocations: 1.41 MB / 0.6896 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00683/0.5515, allocations: 5.397 MB / 0.6949 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5515, allocations: 3.938 kB / 0.6949 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5515, allocations: 0 / 0.6949 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.457e-05/0.5516, allocations: 0 / 0.6949 GB, free: 5.973 MB / 0.5294 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.006438/0.558, allocations: 3.94 MB / 0.6987 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.5581, allocations: 8.031 kB / 0.6987 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.5601, allocations: 0.7321 MB / 0.6995 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/0.5624, allocations: 1.38 MB / 0.7008 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003732/0.5628, allocations: 433.1 kB / 0.7012 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004523/0.5632, allocations: 324.3 kB / 0.7015 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/0.5754, allocations: 10.25 MB / 0.7115 GB, free: 4.773 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.989e-05/0.5755, allocations: 0 / 0.7115 GB, free: 4.773 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002703/0.5758, allocations: 136 kB / 0.7117 GB, free: 4.641 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004945/0.5763, allocations: 475.5 kB / 0.7121 GB, free: 4.176 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02018/0.5964, allocations: 18.74 MB / 0.7304 GB, free: 1.426 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.2296/0.8261, allocations: 16.38 MB / 0.7464 GB, free: 180.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/0.8295, allocations: 2.296 MB / 0.7487 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/0.8318, allocations: 1.635 MB / 0.7503 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01388/0.8457, allocations: 7.654 MB / 0.7577 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.8457, allocations: 45.34 kB / 0.7578 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 3.036e-06/0.8457, allocations: 1.125 kB / 0.7578 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=185): time 0.09872/0.9444, allocations: 22.48 MB / 0.7797 GB, free: 159 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05637/1.001, allocations: 16.28 MB / 0.7956 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/1.003, allocations: 1.681 MB / 0.7973 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007243/1.004, allocations: 53.7 kB / 0.7973 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008479/1.004, allocations: 1.843 MB / 0.7991 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001102/1.006, allocations: 0.6507 MB / 0.7998 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001932/1.008, allocations: 0.6723 MB / 0.8004 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.382e-05/1.008, allocations: 301.1 kB / 0.8007 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003407/1.011, allocations: 2.424 MB / 0.8031 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003742/1.015, allocations: 3.183 MB / 0.8062 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1498/1.164, allocations: 26.36 MB / 0.8319 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.699e-05/1.165, allocations: 8 kB / 0.8319 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.02315/1.188, allocations: 7.938 MB / 0.8397 GB, free: 97.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.134e-05/1.188, allocations: 16 kB / 0.8397 GB, free: 97.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.404e-05/1.188, allocations: 24 kB / 0.8397 GB, free: 97.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02343/1.211, allocations: 4.392 MB / 0.844 GB, free: 92.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004582/1.216, allocations: 0.7697 MB / 0.8448 GB, free: 92.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/1.229, allocations: 9.869 MB / 0.8544 GB, free: 81.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003699/1.232, allocations: 142.5 kB / 0.8545 GB, free: 81.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008749/1.233, allocations: 412.2 kB / 0.8549 GB, free: 81.3 MB / 0.5606 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: 112 * Number of states: 0 () * Number of discrete variables: 4 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,otherSubstances.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 242 * Array equations: 0 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(3,5), (5,13), (2,3), (1,2), (4,14), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.002348/1.235, allocations: 0.917 MB / 0.8558 GB, free: 80.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009096/1.236, allocations: 222.5 kB / 0.856 GB, free: 80.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02693/1.263, allocations: 8.045 MB / 0.8639 GB, free: 72.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/1.263, allocations: 16 kB / 0.8639 GB, free: 72.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/1.263, allocations: 8 kB / 0.8639 GB, free: 72.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.007e-05/1.263, allocations: 10.62 kB / 0.8639 GB, free: 72.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03493/1.298, allocations: 12.49 MB / 0.8761 GB, free: 59.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/1.298, allocations: 7.375 kB / 0.8761 GB, free: 59.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003557/1.302, allocations: 466.3 kB / 0.8766 GB, free: 58.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03501/1.337, allocations: 5.112 MB / 0.8816 GB, free: 53.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006367/1.338, allocations: 107.9 kB / 0.8817 GB, free: 53.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02654/1.364, allocations: 15.73 MB / 0.897 GB, free: 37.48 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 postOpt calculateStateSetsJacobians (simulation): time 0.02293/1.387, allocations: 3.531 MB / 0.9005 GB, free: 33.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02768/1.415, allocations: 9.458 MB / 0.9097 GB, free: 24.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005065/1.415, allocations: 197.2 kB / 0.9099 GB, free: 24.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008238/1.416, allocations: 36 kB / 0.9099 GB, free: 24.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002911/1.419, allocations: 99.83 kB / 0.91 GB, free: 24.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007707/1.42, allocations: 209.6 kB / 0.9102 GB, free: 23.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004181/1.42, allocations: 203.8 kB / 0.9104 GB, free: 23.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001597/1.422, allocations: 1.329 MB / 0.9117 GB, free: 22.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.422, allocations: 4 kB / 0.9117 GB, free: 22.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003341/1.425, allocations: 0.9098 MB / 0.9126 GB, free: 21.39 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 ($STATESET1.x,H2O_gaseuous.logn,otherSubstances.logn,liquidWater.substance.amountOfBonds,liquidWater.logm,gasVolatility.rear.n_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 124 * Array equations: 0 * 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,80.0%), (1,4,100.0%), (3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(9,25), (2,3), (1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009048/1.426, allocations: 428.4 kB / 0.913 GB, free: 20.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01036/1.436, allocations: 5.317 MB / 0.9182 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.436, allocations: 0 / 0.9182 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007156/1.443, allocations: 3.07 MB / 0.9212 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/1.446, allocations: 473 kB / 0.9217 GB, free: 12.05 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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: 3.7360240220004926] Failed to read output from testmodel.py, exit status != 0: 1.4549768960132496 1.465311168 0.910659614 Calling exit ...