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.0007936/0.0007936, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008975/0.0008975, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.9611/0.9611, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.09502/0.09502, allocations: 17.37 MB / 276.6 MB, free: 11.84 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: "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 411.4 MB, free: 416 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.353e-05/3.553e-05, allocations: 2.281 kB / 411.4 MB, free: 412 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.0108/0.01083, allocations: 11.54 MB / 423 MB, free: 4.809 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3885/0.3994, allocations: 126.2 MB / 0.5363 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002437/0.4018, allocations: 40.88 kB / 0.5363 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003247/0.405, allocations: 1.193 MB / 0.5375 GB, free: 364 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005273/0.4103, allocations: 1.348 MB / 0.5388 GB, free: 15.44 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.4142, allocations: 1.625 MB / 0.5404 GB, free: 14.38 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.006344/0.4206, allocations: 3.849 MB / 0.5442 GB, free: 11.91 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.4218, allocations: 0.7088 MB / 0.5448 GB, free: 11.16 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.425, allocations: 1.949 MB / 0.5467 GB, free: 9.207 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.4268, allocations: 1.098 MB / 0.5478 GB, free: 8.105 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007329/0.4275, allocations: 347.9 kB / 0.5482 GB, free: 7.766 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003315/0.4308, allocations: 1.275 MB / 0.5494 GB, free: 6.488 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000825/0.4317, allocations: 1.004 MB / 0.5504 GB, free: 5.48 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002319/0.434, allocations: 1.161 MB / 0.5515 GB, free: 4.316 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007818/0.4418, allocations: 5.567 MB / 0.5569 GB, free: 14.73 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4418, allocations: 0 / 0.5569 GB, free: 14.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4418, allocations: 4 kB / 0.557 GB, free: 14.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001861/0.442, allocations: 0 / 0.557 GB, free: 14.73 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.006967/0.449, allocations: 3.96 MB / 0.5608 GB, free: 10.72 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.449, allocations: 15.97 kB / 0.5608 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005972/0.4496, allocations: 0.4987 MB / 0.5613 GB, free: 10.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.4512, allocations: 0.7888 MB / 0.5621 GB, free: 9.414 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.4538, allocations: 1.711 MB / 0.5638 GB, free: 7.664 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006157/0.4544, allocations: 0.567 MB / 0.5643 GB, free: 7.062 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000742/0.4551, allocations: 324.3 kB / 0.5646 GB, free: 6.746 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/0.4676, allocations: 12.36 MB / 0.5767 GB, free: 10.35 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.386e-05/0.4676, allocations: 384 / 0.5767 GB, free: 10.35 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.4678, allocations: 139.9 kB / 0.5768 GB, free: 10.21 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000362/0.4682, allocations: 499.5 kB / 0.5773 GB, free: 9.727 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01893/0.4871, allocations: 21.37 MB / 0.5982 GB, free: 4.348 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.03518/0.5223, allocations: 29.15 MB / 0.6266 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006452/0.5287, allocations: 5.397 MB / 0.6319 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2422/0.771, allocations: 4.331 MB / 0.6361 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.7721, allocations: 0.7041 MB / 0.6368 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.7721, allocations: 48.98 kB / 0.6369 GB, free: 84.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 3.988e-06/0.7721, allocations: 0 / 0.6369 GB, free: 84.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=232): time 0.09876/0.8709, allocations: 48.6 MB / 0.6843 GB, free: 72.35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09497/0.9658, allocations: 60.47 MB / 0.7434 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0038/0.9696, allocations: 3.762 MB / 0.7471 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009891/0.9706, allocations: 64.47 kB / 0.7471 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008324/0.9715, allocations: 1.615 MB / 0.7487 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001342/0.9728, allocations: 0.8058 MB / 0.7495 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/0.9743, allocations: 0.7728 MB / 0.7502 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.932e-05/0.9743, allocations: 305.6 kB / 0.7505 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006973/0.9813, allocations: 7.541 MB / 0.7579 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008413/0.9897, allocations: 7.873 MB / 0.7656 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1193/1.109, allocations: 42.92 MB / 0.8075 GB, free: 10.02 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/1.109, allocations: 0 / 0.8075 GB, free: 10.02 MB / 0.573 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.0324/1.141, allocations: 20.81 MB / 0.8278 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/1.141, allocations: 16.02 kB / 0.8279 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/1.141, allocations: 8 kB / 0.8279 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02333/1.165, allocations: 10.56 MB / 0.8382 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003785/1.169, allocations: 0.9776 MB / 0.8391 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.29/1.459, allocations: 41.32 MB / 0.8795 GB, free: 166 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003905/1.462, allocations: 277.3 kB / 0.8797 GB, free: 166 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001886/1.464, allocations: 0.5268 MB / 0.8803 GB, free: 165.9 MB / 0.6042 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.004213/1.469, allocations: 0.8835 MB / 0.8811 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.47, allocations: 340.6 kB / 0.8814 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02595/1.496, allocations: 14.01 MB / 0.8951 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01888/1.515, allocations: 11.47 MB / 0.9063 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/1.515, allocations: 4.812 kB / 0.9063 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.434e-05/1.515, allocations: 14.25 kB / 0.9063 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03068/1.545, allocations: 21.61 MB / 0.9274 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.162e-05/1.546, allocations: 4 kB / 0.9274 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002557/1.548, allocations: 0.5131 MB / 0.9279 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03728/1.585, allocations: 10.98 MB / 0.9387 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007758/1.586, allocations: 140.7 kB / 0.9388 GB, free: 123.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02256/1.609, allocations: 19.71 MB / 0.958 GB, free: 103.8 MB / 0.6042 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.0463/1.655, allocations: 20.07 MB / 0.9776 GB, free: 83.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0258/1.681, allocations: 17.88 MB / 0.9951 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/1.682, allocations: 461.7 kB / 0.9955 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001517/1.684, allocations: 53.2 kB / 0.9956 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003086/1.687, allocations: 203.2 kB / 0.9958 GB, free: 65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/1.688, allocations: 292.5 kB / 0.9961 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004523/1.688, allocations: 247 kB / 0.9963 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003555/1.692, allocations: 3.431 MB / 0.9997 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/1.692, allocations: 0 / 0.9997 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004924/1.697, allocations: 1.482 MB / 1.001 GB, free: 59.59 MB / 0.6042 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.0243/1.721, allocations: 17.46 MB / 1.018 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01428/1.735, allocations: 11.68 MB / 1.03 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.735, allocations: 0 / 1.03 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.007945/1.743, allocations: 4.783 MB / 1.034 GB, free: 25.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/1.747, allocations: 0.7124 MB / 1.035 GB, free: 25.12 MB / 0.6042 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: 3.591555521823466] Failed to read output from testmodel.py, exit status != 0: 1.7556337593123317 1.762830421 1.319187415 Calling exit ...