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.001122/0.001122, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001594/0.001594, allocations: 219 kB / 22.25 MB, free: 3.711 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.073/1.073, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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.1014/0.1014, allocations: 23.88 MB / 336.3 MB, free: 9.965 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me_cs",version="2.0",platforms={"static"}) [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.001776/0.001776, allocations: 67.89 kB / 472.7 MB, free: 16.37 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1087, allocations: 59.87 MB / 0.5201 GB, free: 4.387 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.00892/0.1176, allocations: 11.55 MB / 0.5313 GB, free: 8.77 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3865/0.5041, allocations: 126.1 MB / 0.6545 GB, free: 1.371 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/0.5066, allocations: 39.81 kB / 0.6546 GB, free: 1.332 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00349/0.5101, allocations: 1.16 MB / 0.6557 GB, free: 184 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003594/0.5137, allocations: 1.311 MB / 0.657 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0034/0.5171, allocations: 1.607 MB / 0.6585 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005676/0.5228, allocations: 3.715 MB / 0.6622 GB, free: 9.527 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.5238, allocations: 0.7053 MB / 0.6629 GB, free: 8.762 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.5257, allocations: 1.288 MB / 0.6641 GB, free: 7.469 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.5275, allocations: 1.306 MB / 0.6654 GB, free: 6.156 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006524/0.5281, allocations: 340 kB / 0.6657 GB, free: 5.824 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.5311, allocations: 1.272 MB / 0.667 GB, free: 4.551 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006709/0.5318, allocations: 0.9888 MB / 0.6679 GB, free: 3.559 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0021/0.5339, allocations: 1.457 MB / 0.6693 GB, free: 2.094 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006652/0.5406, allocations: 5.577 MB / 0.6748 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5406, allocations: 0 / 0.6748 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.685e-06/0.5406, allocations: 4 kB / 0.6748 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001917/0.5408, allocations: 4 kB / 0.6748 GB, free: 12.49 MB / 0.4948 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.00621/0.547, allocations: 4.007 MB / 0.6787 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.547, allocations: 11.98 kB / 0.6787 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000484/0.5475, allocations: 0.4918 MB / 0.6792 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.549, allocations: 0.7878 MB / 0.68 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.5512, allocations: 1.727 MB / 0.6817 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004567/0.5517, allocations: 0.5597 MB / 0.6822 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/0.5519, allocations: 328.5 kB / 0.6825 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.5624, allocations: 12.37 MB / 0.6946 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.5625, allocations: 4 kB / 0.6946 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/0.5626, allocations: 132 kB / 0.6947 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003924/0.563, allocations: 0.4917 MB / 0.6952 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/0.5796, allocations: 21.37 MB / 0.7161 GB, free: 2.043 MB / 0.5261 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.03261/0.6122, allocations: 29.15 MB / 0.7445 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005977/0.6182, allocations: 5.393 MB / 0.7498 GB, free: 15.36 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004361/0.6225, allocations: 4.343 MB / 0.7541 GB, free: 11.02 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.6238, allocations: 0.7052 MB / 0.7547 GB, free: 10.32 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.6238, allocations: 47.81 kB / 0.7548 GB, free: 10.26 MB / 0.573 GB Notification: Performance of pre-optimization done (n=150): time 4.548e-06/0.6238, allocations: 4 kB / 0.7548 GB, free: 10.26 MB / 0.573 GB Notification: Performance of matching and sorting (n=232): time 0.3122/0.936, allocations: 48.54 MB / 0.8022 GB, free: 209.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1043/1.04, allocations: 60.35 MB / 0.8611 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0032/1.043, allocations: 3.759 MB / 0.8648 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0009114/1.044, allocations: 61.7 kB / 0.8649 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007058/1.045, allocations: 1.627 MB / 0.8665 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009533/1.046, allocations: 0.8147 MB / 0.8672 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/1.047, allocations: 0.7697 MB / 0.868 GB, free: 149.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 2.704e-05/1.047, allocations: 301.1 kB / 0.8683 GB, free: 148.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00568/1.053, allocations: 7.543 MB / 0.8757 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0061/1.059, allocations: 7.874 MB / 0.8833 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1068/1.166, allocations: 42.63 MB / 0.925 GB, free: 90.56 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/1.166, allocations: 0 / 0.925 GB, free: 90.56 MB / 0.5886 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.03271/1.199, allocations: 20.81 MB / 0.9453 GB, free: 69.74 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/1.199, allocations: 12 kB / 0.9453 GB, free: 69.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/1.199, allocations: 11.98 kB / 0.9453 GB, free: 69.71 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02629/1.225, allocations: 10.51 MB / 0.9556 GB, free: 59.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00461/1.23, allocations: 0.9714 MB / 0.9565 GB, free: 58.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03641/1.266, allocations: 41.34 MB / 0.9969 GB, free: 16.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00371/1.27, allocations: 275.6 kB / 0.9972 GB, free: 16.21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008269/1.27, allocations: 0.527 MB / 0.9977 GB, free: 15.68 MB / 0.5886 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.002478/1.273, allocations: 0.8815 MB / 0.9985 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.274, allocations: 345.8 kB / 0.9989 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02026/1.294, allocations: 14 MB / 1.013 GB, free: 428 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2664/1.561, allocations: 11.47 MB / 1.024 GB, free: 207.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.23e-05/1.561, allocations: 7.188 kB / 1.024 GB, free: 207.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-05/1.561, allocations: 12.67 kB / 1.024 GB, free: 207.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03116/1.592, allocations: 21.6 MB / 1.045 GB, free: 197.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/1.592, allocations: 3.875 kB / 1.045 GB, free: 197.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002355/1.594, allocations: 0.5163 MB / 1.045 GB, free: 197.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03577/1.63, allocations: 10.88 MB / 1.056 GB, free: 190.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008892/1.631, allocations: 135.9 kB / 1.056 GB, free: 190.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02106/1.652, allocations: 19.7 MB / 1.075 GB, free: 170.9 MB / 0.5886 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.04475/1.697, allocations: 19.95 MB / 1.095 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0237/1.72, allocations: 17.89 MB / 1.112 GB, free: 133 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/1.722, allocations: 462.8 kB / 1.113 GB, free: 132.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007674/1.722, allocations: 59.17 kB / 1.113 GB, free: 132.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/1.724, allocations: 203.7 kB / 1.113 GB, free: 132.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007437/1.725, allocations: 293.4 kB / 1.113 GB, free: 132 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003221/1.725, allocations: 247.8 kB / 1.114 GB, free: 131.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003162/1.729, allocations: 3.434 MB / 1.117 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/1.729, allocations: 0 / 1.117 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003957/1.733, allocations: 1.478 MB / 1.118 GB, free: 126.9 MB / 0.5886 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.02235/1.755, allocations: 17.45 MB / 1.135 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01355/1.768, allocations: 11.68 MB / 1.147 GB, free: 97.67 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/1.768, allocations: 0 / 1.147 GB, free: 97.67 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.007749/1.776, allocations: 4.78 MB / 1.151 GB, free: 92.86 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/1.779, allocations: 0.7111 MB / 1.152 GB, free: 92.18 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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: 3.8869922840967774]