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.001652/0.001652, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001595/0.001595, allocations: 222.8 kB / 23 MB, free: 4.914 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1424/0.1424, allocations: 23.88 MB / 337.1 MB, free: 10.99 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: 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.002088/0.002088, allocations: 71.89 kB / 472.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3392, allocations: 59.86 MB / 0.5198 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01198/0.3512, allocations: 11.55 MB / 0.531 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1878/0.5389, allocations: 126.1 MB / 0.6542 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004125/0.543, allocations: 39.81 kB / 0.6542 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005522/0.5486, allocations: 1.171 MB / 0.6554 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006661/0.5552, allocations: 1.307 MB / 0.6567 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005687/0.5609, allocations: 1.611 MB / 0.6582 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00787/0.5688, allocations: 3.723 MB / 0.6619 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.5704, allocations: 0.7053 MB / 0.6626 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.5726, allocations: 1.296 MB / 0.6638 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.5746, allocations: 1.31 MB / 0.6651 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005112/0.5751, allocations: 336 kB / 0.6654 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004094/0.5792, allocations: 1.264 MB / 0.6667 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.5802, allocations: 0.981 MB / 0.6676 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001844/0.5821, allocations: 1.461 MB / 0.669 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.5925, allocations: 5.585 MB / 0.6745 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.5925, allocations: 0 / 0.6745 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.245e-06/0.5925, allocations: 0 / 0.6745 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001484/0.5927, allocations: 0 / 0.6745 GB, free: 10.74 MB / 0.5137 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.008688/0.6014, allocations: 4.002 MB / 0.6784 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.6014, allocations: 12.03 kB / 0.6784 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/0.604, allocations: 0.7828 MB / 0.6792 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003821/0.6078, allocations: 1.723 MB / 0.6809 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006498/0.6085, allocations: 0.5597 MB / 0.6814 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005035/0.609, allocations: 328.3 kB / 0.6817 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01688/0.6258, allocations: 12.36 MB / 0.6938 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.328e-05/0.6259, allocations: 4 kB / 0.6938 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002658/0.6262, allocations: 135.9 kB / 0.6939 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005874/0.6268, allocations: 495.5 kB / 0.6944 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02692/0.6537, allocations: 21.38 MB / 0.7153 GB, free: 0.8086 MB / 0.545 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.2928/0.9465, allocations: 27.94 MB / 0.7426 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007263/0.9538, allocations: 5.393 MB / 0.7478 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005659/0.9594, allocations: 4.337 MB / 0.7521 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002077/0.9615, allocations: 0.7107 MB / 0.7528 GB, free: 179 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.9615, allocations: 46.78 kB / 0.7528 GB, free: 179 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 3.637e-06/0.9615, allocations: 0 / 0.7528 GB, free: 179 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1504/1.112, allocations: 48.43 MB / 0.8001 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.166/1.278, allocations: 60.24 MB / 0.8589 GB, free: 80.13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/1.28, allocations: 1.82 MB / 0.8607 GB, free: 78.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000975/1.281, allocations: 61.7 kB / 0.8608 GB, free: 78.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007836/1.282, allocations: 1.664 MB / 0.8624 GB, free: 76.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.283, allocations: 0.8145 MB / 0.8632 GB, free: 76.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001757/1.285, allocations: 0.7823 MB / 0.8639 GB, free: 75.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.265e-05/1.285, allocations: 305.1 kB / 0.8642 GB, free: 74.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007694/1.292, allocations: 7.534 MB / 0.8716 GB, free: 67.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008392/1.301, allocations: 7.874 MB / 0.8793 GB, free: 59.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2116/1.512, allocations: 42.63 MB / 0.9209 GB, free: 16.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.601e-05/1.512, allocations: 4 kB / 0.9209 GB, free: 16.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04517/1.558, allocations: 20.68 MB / 0.9411 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/1.558, allocations: 12 kB / 0.9411 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/1.558, allocations: 12.12 kB / 0.9411 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04289/1.601, allocations: 10.51 MB / 0.9514 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007031/1.608, allocations: 0.9753 MB / 0.9524 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.336/1.944, allocations: 41.25 MB / 0.9926 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00537/1.949, allocations: 273.9 kB / 0.9929 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/1.95, allocations: 0.5267 MB / 0.9934 GB, free: 176.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 {(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.002459/1.952, allocations: 0.8808 MB / 0.9943 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/1.954, allocations: 217.4 kB / 0.9945 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03563/1.989, allocations: 13.9 MB / 1.008 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03188/2.021, allocations: 11.47 MB / 1.019 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.713e-05/2.021, allocations: 4 kB / 1.019 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.986e-05/2.021, allocations: 11.95 kB / 1.019 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04605/2.067, allocations: 22.02 MB / 1.041 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/2.067, allocations: 7.938 kB / 1.041 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00438/2.072, allocations: 0.5061 MB / 1.041 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07459/2.146, allocations: 10.89 MB / 1.052 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008286/2.147, allocations: 135.9 kB / 1.052 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03514/2.182, allocations: 19.63 MB / 1.071 GB, free: 101.7 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.09055/2.273, allocations: 19.9 MB / 1.091 GB, free: 81.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03851/2.311, allocations: 17.74 MB / 1.108 GB, free: 63.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007256/2.312, allocations: 249.1 kB / 1.108 GB, free: 63.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009269/2.313, allocations: 51.95 kB / 1.108 GB, free: 63.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004064/2.317, allocations: 203.7 kB / 1.108 GB, free: 63.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009897/2.318, allocations: 293.5 kB / 1.109 GB, free: 62.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004371/2.318, allocations: 255.8 kB / 1.109 GB, free: 62.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002037/2.32, allocations: 2.037 MB / 1.111 GB, free: 60.69 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/2.32, allocations: 0 / 1.111 GB, free: 60.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004269/2.325, allocations: 1.456 MB / 1.112 GB, free: 59.25 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 ($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.001034/2.326, allocations: 417.1 kB / 1.113 GB, free: 58.92 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01701/2.343, allocations: 11.69 MB / 1.124 GB, free: 47.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/2.343, allocations: 1.812 kB / 1.124 GB, free: 47.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0102/2.353, allocations: 4.786 MB / 1.129 GB, free: 42.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/2.356, allocations: 0.4886 MB / 1.129 GB, free: 41.91 MB / 0.5762 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.853254084941] Failed to read output from testmodel.py, exit status != 0: 2.365078311879188 2.373993565 1.7790708830000002 Calling exit ...