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.00176/0.00176, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.002397/0.002397, allocations: 213.2 kB / 22.99 MB, free: 4.953 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1463/0.1463, allocations: 23.92 MB / 337.1 MB, free: 10.91 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.002007/0.002007, allocations: 68.17 kB / 472.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3954, allocations: 59.88 MB / 0.5198 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01227/0.4076, allocations: 11.54 MB / 0.5311 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2507/0.6584, allocations: 146.9 MB / 0.6745 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004467/0.6628, allocations: 59.62 kB / 0.6746 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005279/0.6681, allocations: 1.114 MB / 0.6757 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006504/0.6746, allocations: 1.346 MB / 0.677 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005189/0.6798, allocations: 1.607 MB / 0.6786 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007736/0.6875, allocations: 3.708 MB / 0.6822 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.689, allocations: 0.7287 MB / 0.6829 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.6912, allocations: 1.316 MB / 0.6842 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003166/0.6943, allocations: 1.77 MB / 0.6859 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006242/0.695, allocations: 324 kB / 0.6862 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004344/0.6993, allocations: 1.206 MB / 0.6874 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009334/0.7002, allocations: 0.9185 MB / 0.6883 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001928/0.7022, allocations: 1.406 MB / 0.6897 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00941/0.7116, allocations: 5.401 MB / 0.6949 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.7116, allocations: 0 / 0.6949 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7116, allocations: 4 kB / 0.6949 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001277/0.7117, allocations: 0 / 0.6949 GB, free: 5.875 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.008095/0.7198, allocations: 3.94 MB / 0.6988 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.7199, allocations: 8.031 kB / 0.6988 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/0.7221, allocations: 0.7321 MB / 0.6995 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/0.7248, allocations: 1.376 MB / 0.7009 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004332/0.7253, allocations: 429.2 kB / 0.7013 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005187/0.7258, allocations: 328.3 kB / 0.7016 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01465/0.7405, allocations: 10.25 MB / 0.7116 GB, free: 4.676 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.7406, allocations: 3.938 kB / 0.7116 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004081/0.741, allocations: 128 kB / 0.7117 GB, free: 4.547 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005695/0.7415, allocations: 475.5 kB / 0.7122 GB, free: 4.082 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02476/0.7663, allocations: 18.73 MB / 0.7305 GB, free: 1.336 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.2857/1.052, allocations: 16.38 MB / 0.7465 GB, free: 180.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004165/1.056, allocations: 2.303 MB / 0.7487 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002402/1.059, allocations: 1.643 MB / 0.7503 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01506/1.074, allocations: 7.643 MB / 0.7578 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/1.074, allocations: 44.28 kB / 0.7578 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 3.957e-06/1.074, allocations: 3.531 kB / 0.7578 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=185): time 0.1054/1.179, allocations: 22.48 MB / 0.7798 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05838/1.237, allocations: 16.28 MB / 0.7957 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/1.24, allocations: 1.679 MB / 0.7973 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009893/1.241, allocations: 57.7 kB / 0.7974 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001124/1.242, allocations: 1.824 MB / 0.7992 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/1.243, allocations: 0.6587 MB / 0.7998 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002202/1.245, allocations: 0.6749 MB / 0.8005 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.436e-05/1.246, allocations: 301.1 kB / 0.8007 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00374/1.249, allocations: 2.421 MB / 0.8031 GB, free: 135 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003925/1.253, allocations: 3.187 MB / 0.8062 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1568/1.41, allocations: 26.36 MB / 0.832 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-05/1.41, allocations: 8 kB / 0.832 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.02398/1.434, allocations: 7.938 MB / 0.8397 GB, free: 97.17 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/1.434, allocations: 16 kB / 0.8397 GB, free: 97.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-05/1.434, allocations: 24 kB / 0.8398 GB, free: 97.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02396/1.458, allocations: 4.393 MB / 0.8441 GB, free: 92.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004475/1.463, allocations: 0.7697 MB / 0.8448 GB, free: 92.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/1.475, allocations: 9.878 MB / 0.8545 GB, free: 81.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/1.479, allocations: 135.9 kB / 0.8546 GB, free: 81.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/1.48, allocations: 415.8 kB / 0.855 GB, free: 81.21 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.002843/1.483, allocations: 0.9166 MB / 0.8559 GB, free: 80.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/1.484, allocations: 226.5 kB / 0.8561 GB, free: 80.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02841/1.512, allocations: 8.036 MB / 0.8639 GB, free: 72.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.762e-05/1.512, allocations: 16 kB / 0.864 GB, free: 72.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.059e-05/1.512, allocations: 8 kB / 0.864 GB, free: 72.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.316e-05/1.512, allocations: 11.95 kB / 0.864 GB, free: 72.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03732/1.55, allocations: 12.5 MB / 0.8762 GB, free: 59.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/1.55, allocations: 4 kB / 0.8762 GB, free: 59.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003759/1.553, allocations: 462 kB / 0.8766 GB, free: 58.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03638/1.59, allocations: 5.116 MB / 0.8816 GB, free: 53.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007461/1.59, allocations: 107.9 kB / 0.8817 GB, free: 53.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02728/1.618, allocations: 15.72 MB / 0.8971 GB, free: 37.39 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.02379/1.642, allocations: 3.531 MB / 0.9005 GB, free: 33.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02905/1.671, allocations: 9.462 MB / 0.9098 GB, free: 24.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005866/1.671, allocations: 190.6 kB / 0.91 GB, free: 24.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001049/1.672, allocations: 39.98 kB / 0.91 GB, free: 24.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003263/1.676, allocations: 91.91 kB / 0.9101 GB, free: 23.97 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009441/1.676, allocations: 221.5 kB / 0.9103 GB, free: 23.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005556/1.677, allocations: 191.9 kB / 0.9105 GB, free: 23.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002089/1.679, allocations: 1.333 MB / 0.9118 GB, free: 22.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/1.679, allocations: 4 kB / 0.9118 GB, free: 22.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00409/1.683, allocations: 0.9098 MB / 0.9127 GB, free: 21.3 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.001321/1.685, allocations: 430.3 kB / 0.9131 GB, free: 20.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.696, allocations: 5.321 MB / 0.9183 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/1.696, allocations: 0 / 0.9183 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007826/1.704, allocations: 3.062 MB / 0.9213 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/1.707, allocations: 482.8 kB / 0.9217 GB, free: 11.95 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 658] [Calling sys.exit(0), Time elapsed: 4.385045043018181] Failed to read output from testmodel.py, exit status != 0: 1.7171389239956625 1.7285689 1.013613357 Calling exit ...