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.001423/0.001423, allocations: 81.34 kB / 19.18 MB, free: 2.531 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.001539/0.001539, allocations: 172.7 kB / 22.47 MB, free: 5.352 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.565/1.565, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.1524/0.1524, allocations: 17.36 MB / 276.6 MB, free: 15.29 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: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 411.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.327e-05/3.582e-05, allocations: 6.219 kB / 411.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.017/0.01704, allocations: 11.55 MB / 423.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3894/0.4064, allocations: 126.2 MB / 0.5368 GB, free: 9.152 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.4086, allocations: 39.81 kB / 0.5368 GB, free: 9.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005006/0.4136, allocations: 1.177 MB / 0.538 GB, free: 7.945 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004774/0.4184, allocations: 1.357 MB / 0.5393 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004451/0.4228, allocations: 1.626 MB / 0.5409 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007317/0.4301, allocations: 3.843 MB / 0.5446 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.4315, allocations: 0.7095 MB / 0.5453 GB, free: 340 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.4345, allocations: 1.941 MB / 0.5472 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.4362, allocations: 1.106 MB / 0.5483 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004686/0.4366, allocations: 336 kB / 0.5486 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003239/0.4399, allocations: 1.276 MB / 0.5499 GB, free: 11.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000905/0.4408, allocations: 1 MB / 0.5509 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.4423, allocations: 1.169 MB / 0.552 GB, free: 9.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007889/0.4502, allocations: 5.565 MB / 0.5574 GB, free: 3.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4502, allocations: 0 / 0.5574 GB, free: 3.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4502, allocations: 4 kB / 0.5574 GB, free: 3.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.907e-05/0.4503, allocations: 0 / 0.5574 GB, free: 3.906 MB / 446.1 MB 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.007542/0.4579, allocations: 3.964 MB / 0.5613 GB, free: 15.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.4579, allocations: 12.02 kB / 0.5613 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/0.4605, allocations: 0.7882 MB / 0.5621 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/0.4636, allocations: 1.722 MB / 0.5638 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007111/0.4644, allocations: 0.552 MB / 0.5643 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000548/0.4649, allocations: 328.3 kB / 0.5646 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01655/0.4814, allocations: 12.37 MB / 0.5767 GB, free: 24 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.615e-05/0.4815, allocations: 4.188 kB / 0.5767 GB, free: 20 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003082/0.4818, allocations: 136.4 kB / 0.5768 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005961/0.4824, allocations: 499.4 kB / 0.5773 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.027/0.5094, allocations: 21.37 MB / 0.5982 GB, free: 10.02 MB / 494.1 MB 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.04804/0.5575, allocations: 27.94 MB / 0.6255 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008172/0.5656, allocations: 5.389 MB / 0.6307 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006264/0.5719, allocations: 4.339 MB / 0.635 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002143/0.574, allocations: 0.6974 MB / 0.6357 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.5741, allocations: 54.06 kB / 0.6357 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 3.978e-06/0.5741, allocations: 0 / 0.6357 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of matching and sorting (n=232): time 0.4521/1.026, allocations: 48.48 MB / 0.6831 GB, free: 83.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1832/1.209, allocations: 60.37 MB / 0.742 GB, free: 23.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/1.212, allocations: 1.81 MB / 0.7438 GB, free: 21.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001111/1.213, allocations: 65.7 kB / 0.7438 GB, free: 21.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000903/1.214, allocations: 1.668 MB / 0.7455 GB, free: 19.83 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00148/1.215, allocations: 0.797 MB / 0.7462 GB, free: 19.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002934/1.218, allocations: 0.7825 MB / 0.747 GB, free: 18.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.163e-05/1.218, allocations: 314.8 kB / 0.7473 GB, free: 18.03 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00877/1.227, allocations: 7.53 MB / 0.7547 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009211/1.236, allocations: 7.881 MB / 0.7624 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2527/1.489, allocations: 42.92 MB / 0.8043 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.283e-05/1.489, allocations: 4 kB / 0.8043 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.05715/1.546, allocations: 20.69 MB / 0.8245 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/1.546, allocations: 12 kB / 0.8245 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/1.546, allocations: 9.094 kB / 0.8245 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04682/1.593, allocations: 10.56 MB / 0.8348 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007464/1.601, allocations: 0.9784 MB / 0.8358 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3407/1.941, allocations: 41.25 MB / 0.876 GB, free: 275.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006118/1.947, allocations: 277.4 kB / 0.8763 GB, free: 275.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001452/1.949, allocations: 0.5269 MB / 0.8768 GB, free: 275.2 MB / 0.6075 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.003174/1.952, allocations: 0.883 MB / 0.8777 GB, free: 274.7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/1.953, allocations: 216.9 kB / 0.8779 GB, free: 274.7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03856/1.992, allocations: 13.89 MB / 0.8915 GB, free: 269.6 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03327/2.025, allocations: 11.46 MB / 0.9027 GB, free: 261.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.395e-05/2.025, allocations: 9.344 kB / 0.9027 GB, free: 261.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.509e-05/2.025, allocations: 11.95 kB / 0.9027 GB, free: 261.1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04742/2.073, allocations: 22.03 MB / 0.9242 GB, free: 238.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/2.073, allocations: 4 kB / 0.9242 GB, free: 238.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004714/2.077, allocations: 0.5108 MB / 0.9247 GB, free: 238.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08079/2.158, allocations: 10.99 MB / 0.9354 GB, free: 227.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007819/2.159, allocations: 147.8 kB / 0.9356 GB, free: 227.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03701/2.196, allocations: 19.61 MB / 0.9547 GB, free: 207.5 MB / 0.6075 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.09909/2.295, allocations: 20.03 MB / 0.9743 GB, free: 187.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04079/2.336, allocations: 17.74 MB / 0.9916 GB, free: 169.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007107/2.337, allocations: 241 kB / 0.9918 GB, free: 169.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001177/2.338, allocations: 48.98 kB / 0.9919 GB, free: 169.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00473/2.342, allocations: 207.7 kB / 0.9921 GB, free: 169.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001387/2.344, allocations: 285.4 kB / 0.9924 GB, free: 168.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006677/2.344, allocations: 251.8 kB / 0.9926 GB, free: 168.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002329/2.347, allocations: 2.039 MB / 0.9946 GB, free: 166.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/2.347, allocations: 0 / 0.9946 GB, free: 166.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005339/2.352, allocations: 1.452 MB / 0.996 GB, free: 165.1 MB / 0.6075 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.001378/2.354, allocations: 440.2 kB / 0.9964 GB, free: 164.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01837/2.372, allocations: 11.68 MB / 1.008 GB, free: 153.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/2.372, allocations: 7.281 kB / 1.008 GB, free: 153.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01193/2.384, allocations: 4.784 MB / 1.013 GB, free: 148.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004473/2.388, allocations: 498.6 kB / 1.013 GB, free: 147.8 MB / 0.6075 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676: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.9624585546553135] Failed to read output from testmodel.py, exit status != 0: 2.398272093385458 2.408529011 1.955813568 Calling exit ...