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.00116/0.00116, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002066/0.003227, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.00121/0.00121, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001325/0.002535, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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.009/1.009, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09074/1.099, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.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.08628/0.08628, allocations: 17.36 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01214/0.09842, allocations: 6.926 MB / 268.4 MB, free: 6.422 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: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 269.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.246e-05, allocations: 6.312 kB / 269.8 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.132/0.132, allocations: 13.14 MB / 282.9 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1507/0.2827, allocations: 139.1 MB / 422 MB, free: 9.824 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002886/0.2856, allocations: 39.81 kB / 422 MB, free: 9.785 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003289/0.2889, allocations: 1.226 MB / 423.2 MB, free: 8.551 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003975/0.2929, allocations: 1.349 MB / 424.6 MB, free: 7.191 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.2967, allocations: 1.676 MB / 426.3 MB, free: 5.508 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006065/0.3028, allocations: 3.825 MB / 430.1 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.3041, allocations: 0.7531 MB / 430.8 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1846/0.4887, allocations: 2.126 MB / 433 MB, free: 5.801 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.4912, allocations: 1.14 MB / 434.1 MB, free: 5.801 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.4923, allocations: 336.6 kB / 434.4 MB, free: 5.801 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004169/0.4965, allocations: 1.32 MB / 435.8 MB, free: 5.801 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009416/0.4974, allocations: 0.8319 MB / 436.6 MB, free: 5.801 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002039/0.4995, allocations: 0.9789 MB / 437.6 MB, free: 5.801 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006435/0.5059, allocations: 3.833 MB / 441.4 MB, free: 5.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.939e-05/0.5059, allocations: 0 / 441.4 MB, free: 5.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5059, allocations: 2.297 kB / 441.4 MB, free: 5.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001188/0.506, allocations: 4 kB / 441.4 MB, free: 5.5 MB / 410.7 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.005937/0.512, allocations: 4.654 MB / 446.1 MB, free: 3.809 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.512, allocations: 8.688 kB / 446.1 MB, free: 3.809 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/0.5142, allocations: 1.494 MB / 447.6 MB, free: 3.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.5161, allocations: 1.193 MB / 448.8 MB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003249/0.5164, allocations: 0.5566 MB / 449.3 MB, free: 2.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002857/0.5167, allocations: 328.6 kB / 449.6 MB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004186/0.5209, allocations: 3.485 MB / 453.1 MB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.888e-05/0.5209, allocations: 1.031 kB / 453.1 MB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/0.5211, allocations: 132.1 kB / 453.2 MB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004474/0.5216, allocations: 483.9 kB / 453.7 MB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004071/0.5256, allocations: 4.263 MB / 458 MB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01915/0.5448, allocations: 13.04 MB / 471 MB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.5467, allocations: 0.9165 MB / 471.9 MB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.5479, allocations: 433.3 kB / 472.4 MB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.5492, allocations: 0.6942 MB / 473.1 MB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.5492, allocations: 51.66 kB / 473.1 MB, free: 1.105 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.589e-06/0.5492, allocations: 0 / 473.1 MB, free: 1.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=204): time 0.05859/0.6078, allocations: 14.46 MB / 487.6 MB, free: 12.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0674/0.6752, allocations: 21.35 MB / 0.497 GB, free: 10.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.6768, allocations: 1.362 MB / 0.4983 GB, free: 9.574 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007345/0.6775, allocations: 57.7 kB / 0.4984 GB, free: 9.512 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006621/0.6781, allocations: 1.402 MB / 0.4997 GB, free: 8.168 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008265/0.679, allocations: 0.7221 MB / 0.5004 GB, free: 7.492 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/0.6801, allocations: 0.5177 MB / 0.501 GB, free: 7.012 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.6801, allocations: 301.1 kB / 0.5012 GB, free: 6.715 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.6818, allocations: 0.7262 MB / 0.502 GB, free: 5.988 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/0.6835, allocations: 1.049 MB / 0.503 GB, free: 4.867 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004968/0.6884, allocations: 2.919 MB / 0.5058 GB, free: 1.922 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.6884, allocations: 2.906 kB / 0.5058 GB, free: 1.922 MB / 442.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01512/0.7036, allocations: 3.884 MB / 0.5096 GB, free: 14.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.7036, allocations: 13.88 kB / 0.5096 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/0.7036, allocations: 12.86 kB / 0.5096 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02063/0.7242, allocations: 8.069 MB / 0.5175 GB, free: 6.109 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003401/0.7276, allocations: 0.9344 MB / 0.5184 GB, free: 5.203 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0207/0.7483, allocations: 11.82 MB / 0.53 GB, free: 9.223 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.7506, allocations: 91.06 kB / 0.5301 GB, free: 9.137 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000529/0.7511, allocations: 475.7 kB / 0.5305 GB, free: 8.672 MB / 474.7 MB 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 (184): * Single equations (assignments): 173 * 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 {(1,4,100.0%), (3,5,88.9%), (5,13,80.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.001624/0.7527, allocations: 221.7 kB / 0.5307 GB, free: 8.465 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000693/0.7534, allocations: 187.8 kB / 0.5309 GB, free: 8.281 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/0.7683, allocations: 4.922 MB / 0.5357 GB, free: 3.449 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01195/0.7803, allocations: 2.779 MB / 0.5384 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-05/0.7803, allocations: 8 kB / 0.5384 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-05/0.7803, allocations: 11.95 kB / 0.5385 GB, free: 0.668 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03326/0.8136, allocations: 7.378 MB / 0.5457 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/0.8136, allocations: 4 kB / 0.5457 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005263/0.8189, allocations: 0.5218 MB / 0.5462 GB, free: 8.973 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005992/0.8195, allocations: 201 kB / 0.5464 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06154/0.881, allocations: 8.591 MB / 0.5548 GB, free: 292 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005344/0.8816, allocations: 94.97 kB / 0.5548 GB, free: 200 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/0.8971, allocations: 8.821 MB / 0.5635 GB, free: 7.211 MB / 0.4949 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.04078/0.9379, allocations: 12.25 MB / 0.5754 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/0.9519, allocations: 4.158 MB / 0.5795 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005961/0.9525, allocations: 47.19 kB / 0.5795 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.9537, allocations: 59.97 kB / 0.5796 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006066/0.9543, allocations: 212.6 kB / 0.5798 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/0.9546, allocations: 207.9 kB / 0.58 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001228/0.9558, allocations: 0.8383 MB / 0.5808 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.9558, allocations: 0 / 0.5808 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003395/0.9592, allocations: 1.314 MB / 0.5821 GB, free: 4.207 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (108): * Single equations (assignments): 103 * 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%), (3,5,88.9%), (5,13,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(8,17), (15,39)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007493/0.9599, allocations: 424.1 kB / 0.5825 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005873/0.9658, allocations: 2.734 MB / 0.5852 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.744e-05/0.9659, allocations: 32.48 kB / 0.5852 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004455/0.9703, allocations: 2.128 MB / 0.5873 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/0.9732, allocations: 3.56 MB / 0.5907 GB, free: 10.86 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4647:9-4647:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:793:5-793: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: 2.5093476343899965]