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.0009143/0.0009143, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.0009074/0.0009074, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.9066/0.9066, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.08901/0.08901, allocations: 17.37 MB / 276.6 MB, free: 11.86 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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 413 MB, free: 14.87 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.693e-05, allocations: 2.281 kB / 413 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01011/0.01013, allocations: 11.54 MB / 424.5 MB, free: 3.273 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.2506/0.2608, allocations: 126.2 MB / 0.5378 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.2621, allocations: 40.34 kB / 0.5378 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.2644, allocations: 1.189 MB / 0.539 GB, free: 180 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002572/0.2669, allocations: 1.361 MB / 0.5403 GB, free: 15.25 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.2692, allocations: 1.618 MB / 0.5419 GB, free: 14.05 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003344/0.2725, allocations: 3.851 MB / 0.5457 GB, free: 10.93 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008276/0.2734, allocations: 0.7088 MB / 0.5464 GB, free: 10.18 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.2751, allocations: 1.953 MB / 0.5483 GB, free: 8.227 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.2762, allocations: 1.098 MB / 0.5494 GB, free: 7.125 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000354/0.2766, allocations: 343.3 kB / 0.5497 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.2785, allocations: 1.279 MB / 0.5509 GB, free: 5.512 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004822/0.279, allocations: 1 MB / 0.5519 GB, free: 4.508 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009189/0.2799, allocations: 1.165 MB / 0.553 GB, free: 3.34 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004073/0.284, allocations: 5.566 MB / 0.5585 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.284, allocations: 0 / 0.5585 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.284, allocations: 4 kB / 0.5585 GB, free: 13.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.397e-05/0.2841, allocations: 0 / 0.5585 GB, free: 13.75 MB / 458.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.003811/0.2879, allocations: 3.964 MB / 0.5624 GB, free: 9.738 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.288, allocations: 12.03 kB / 0.5624 GB, free: 9.727 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003622/0.2883, allocations: 499.6 kB / 0.5628 GB, free: 9.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.2896, allocations: 0.785 MB / 0.5636 GB, free: 8.449 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.2913, allocations: 1.718 MB / 0.5653 GB, free: 6.691 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003247/0.2916, allocations: 0.561 MB / 0.5658 GB, free: 6.094 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/0.2919, allocations: 332.3 kB / 0.5662 GB, free: 5.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008378/0.3002, allocations: 12.36 MB / 0.5782 GB, free: 9.387 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.847e-05/0.3003, allocations: 384 / 0.5782 GB, free: 9.387 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.3005, allocations: 139.9 kB / 0.5784 GB, free: 9.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003256/0.3008, allocations: 0.4917 MB / 0.5788 GB, free: 8.758 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/0.3146, allocations: 21.37 MB / 0.5997 GB, free: 3.379 MB / 490.7 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.02548/0.3401, allocations: 29.15 MB / 0.6282 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004824/0.3449, allocations: 5.393 MB / 0.6334 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1666/0.5116, allocations: 4.333 MB / 0.6377 GB, free: 173.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.5126, allocations: 0.6953 MB / 0.6384 GB, free: 173.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.5126, allocations: 56.48 kB / 0.6384 GB, free: 173.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 2.875e-06/0.5126, allocations: 3.312 kB / 0.6384 GB, free: 173.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=232): time 0.08829/0.6009, allocations: 48.6 MB / 0.6859 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09058/0.6915, allocations: 60.46 MB / 0.7449 GB, free: 98.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003493/0.695, allocations: 3.762 MB / 0.7486 GB, free: 94.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001026/0.696, allocations: 61.7 kB / 0.7486 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006877/0.6967, allocations: 1.619 MB / 0.7502 GB, free: 93.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007534/0.6974, allocations: 0.8023 MB / 0.751 GB, free: 92.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/0.6988, allocations: 0.7769 MB / 0.7518 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.719e-05/0.6988, allocations: 301.1 kB / 0.7521 GB, free: 91.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005675/0.7045, allocations: 7.53 MB / 0.7594 GB, free: 83.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005639/0.7101, allocations: 7.877 MB / 0.7671 GB, free: 75.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1118/0.822, allocations: 42.93 MB / 0.809 GB, free: 32.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.822, allocations: 8 kB / 0.809 GB, free: 32.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.026/0.848, allocations: 20.81 MB / 0.8294 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.848, allocations: 11.94 kB / 0.8294 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.848, allocations: 8 kB / 0.8294 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02044/0.8685, allocations: 10.56 MB / 0.8397 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/0.8719, allocations: 0.9753 MB / 0.8406 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2057/1.078, allocations: 41.31 MB / 0.881 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0034/1.081, allocations: 280.2 kB / 0.8813 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005766/1.082, allocations: 0.5339 MB / 0.8818 GB, free: 147.1 MB / 0.5105 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.001945/1.084, allocations: 0.8734 MB / 0.8826 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006819/1.084, allocations: 342.1 kB / 0.883 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02342/1.108, allocations: 14.01 MB / 0.8966 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01944/1.127, allocations: 11.47 MB / 0.9078 GB, free: 137 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/1.127, allocations: 11.94 kB / 0.9078 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/1.127, allocations: 12.23 kB / 0.9079 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02598/1.153, allocations: 21.61 MB / 0.929 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/1.153, allocations: 4 kB / 0.929 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002183/1.155, allocations: 0.5143 MB / 0.9295 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03827/1.194, allocations: 10.99 MB / 0.9402 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005877/1.194, allocations: 139.9 kB / 0.9403 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/1.215, allocations: 19.69 MB / 0.9596 GB, free: 86.67 MB / 0.5105 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.04714/1.263, allocations: 20.07 MB / 0.9792 GB, free: 66.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02367/1.286, allocations: 17.87 MB / 0.9966 GB, free: 48.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.287, allocations: 469 kB / 0.9971 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004695/1.288, allocations: 58.14 kB / 0.9971 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/1.29, allocations: 207.8 kB / 0.9973 GB, free: 47.65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006508/1.29, allocations: 285.4 kB / 0.9976 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000293/1.291, allocations: 251.8 kB / 0.9978 GB, free: 47.13 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002764/1.294, allocations: 3.426 MB / 1.001 GB, free: 43.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/1.294, allocations: 0 / 1.001 GB, free: 43.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003286/1.297, allocations: 1.482 MB / 1.003 GB, free: 42.25 MB / 0.5105 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.02171/1.319, allocations: 17.45 MB / 1.02 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.33, allocations: 11.69 MB / 1.031 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.33, allocations: 4 kB / 1.031 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005762/1.336, allocations: 4.772 MB / 1.036 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/1.339, allocations: 0.7207 MB / 1.036 GB, free: 7.57 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4683:9-4683:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:843:5-843: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: 3.233798995614052]