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.0008289/0.0008289, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0008203/0.0008203, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8682/0.8682, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.07815/0.07815, allocations: 17.37 MB / 277.3 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: 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.192e-06/1.192e-06, allocations: 0 / 412.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.104e-05, allocations: 8.891 kB / 412.7 MB, free: 15.94 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.008117/0.008138, allocations: 11.55 MB / 424.2 MB, free: 4.336 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.251/0.2591, allocations: 126.2 MB / 0.5375 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.2602, allocations: 47.03 kB / 0.5376 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.2623, allocations: 1.179 MB / 0.5387 GB, free: 408 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.2639, allocations: 1.357 MB / 0.54 GB, free: 15.48 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.2664, allocations: 1.619 MB / 0.5416 GB, free: 14.39 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002484/0.2688, allocations: 3.85 MB / 0.5454 GB, free: 11.7 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000659/0.2695, allocations: 0.7126 MB / 0.5461 GB, free: 10.94 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.2707, allocations: 1.953 MB / 0.548 GB, free: 8.984 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.2717, allocations: 1.098 MB / 0.5491 GB, free: 7.883 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002245/0.2719, allocations: 336 kB / 0.5494 GB, free: 7.555 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.2735, allocations: 1.279 MB / 0.5506 GB, free: 6.273 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004423/0.2739, allocations: 1 MB / 0.5516 GB, free: 5.27 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000663/0.2746, allocations: 1.165 MB / 0.5527 GB, free: 4.102 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003773/0.2784, allocations: 5.569 MB / 0.5582 GB, free: 14.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2784, allocations: 4 kB / 0.5582 GB, free: 14.51 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.2784, allocations: 3.984 kB / 0.5582 GB, free: 14.51 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.891e-05/0.2784, allocations: 0 / 0.5582 GB, free: 14.51 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.003431/0.2818, allocations: 3.957 MB / 0.562 GB, free: 10.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2819, allocations: 8.031 kB / 0.5621 GB, free: 10.49 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.2831, allocations: 0.7927 MB / 0.5628 GB, free: 9.703 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.2849, allocations: 1.718 MB / 0.5645 GB, free: 7.945 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003446/0.2853, allocations: 0.5645 MB / 0.5651 GB, free: 7.348 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/0.2855, allocations: 328.3 kB / 0.5654 GB, free: 7.027 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008605/0.2941, allocations: 12.36 MB / 0.5774 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/0.2942, allocations: 192 / 0.5774 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.2943, allocations: 128.4 kB / 0.5776 GB, free: 10.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002971/0.2946, allocations: 0.4917 MB / 0.578 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01369/0.3083, allocations: 21.38 MB / 0.5989 GB, free: 4.633 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.02386/0.3322, allocations: 27.94 MB / 0.6262 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004803/0.337, allocations: 5.389 MB / 0.6315 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1395/0.4765, allocations: 4.333 MB / 0.6357 GB, free: 174.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009545/0.4774, allocations: 0.7042 MB / 0.6364 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.4775, allocations: 53.39 kB / 0.6365 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 3.828e-06/0.4775, allocations: 0 / 0.6365 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=232): time 0.08485/0.5623, allocations: 48.48 MB / 0.6838 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.08831/0.6506, allocations: 60.37 MB / 0.7427 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.6521, allocations: 1.807 MB / 0.7445 GB, free: 99.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007958/0.6529, allocations: 65.53 kB / 0.7446 GB, free: 99.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004821/0.6534, allocations: 1.666 MB / 0.7462 GB, free: 98.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007266/0.6541, allocations: 0.8019 MB / 0.747 GB, free: 97.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.6554, allocations: 0.7823 MB / 0.7477 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 1.906e-05/0.6554, allocations: 309.1 kB / 0.748 GB, free: 96.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005471/0.6609, allocations: 7.539 MB / 0.7554 GB, free: 88.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005608/0.6665, allocations: 7.88 MB / 0.7631 GB, free: 80.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1058/0.7724, allocations: 42.92 MB / 0.805 GB, free: 37.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.7724, allocations: 4 kB / 0.805 GB, free: 37.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.02422/0.7966, allocations: 20.7 MB / 0.8252 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.7966, allocations: 8 kB / 0.8252 GB, free: 17.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.7966, allocations: 8 kB / 0.8252 GB, free: 17.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01917/0.8158, allocations: 10.56 MB / 0.8356 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003273/0.8191, allocations: 0.9792 MB / 0.8365 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1933/1.012, allocations: 41.24 MB / 0.8768 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003076/1.015, allocations: 271.8 kB / 0.877 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006271/1.016, allocations: 0.5332 MB / 0.8776 GB, free: 150.6 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.001989/1.018, allocations: 0.8859 MB / 0.8784 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006003/1.019, allocations: 214.3 kB / 0.8786 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02184/1.041, allocations: 13.89 MB / 0.8922 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01862/1.059, allocations: 11.47 MB / 0.9034 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/1.059, allocations: 7.188 kB / 0.9034 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-05/1.059, allocations: 15.8 kB / 0.9034 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02595/1.085, allocations: 22.03 MB / 0.9249 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.085, allocations: 5.438 kB / 0.9249 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/1.087, allocations: 0.5111 MB / 0.9254 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03577/1.123, allocations: 10.99 MB / 0.9362 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005631/1.123, allocations: 143.8 kB / 0.9363 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02043/1.144, allocations: 19.62 MB / 0.9555 GB, free: 91.92 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.04487/1.189, allocations: 20.02 MB / 0.975 GB, free: 71.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02226/1.211, allocations: 17.74 MB / 0.9923 GB, free: 53.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005649/1.212, allocations: 248.6 kB / 0.9926 GB, free: 53.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003727/1.212, allocations: 53.92 kB / 0.9926 GB, free: 53.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/1.214, allocations: 199.7 kB / 0.9928 GB, free: 53.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006853/1.215, allocations: 289.4 kB / 0.9931 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002799/1.215, allocations: 251.8 kB / 0.9933 GB, free: 52.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001422/1.216, allocations: 2.039 MB / 0.9953 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/1.216, allocations: 0 / 0.9953 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003138/1.219, allocations: 1.457 MB / 0.9967 GB, free: 49.34 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.0006576/1.22, allocations: 435.5 kB / 0.9972 GB, free: 48.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01068/1.231, allocations: 11.69 MB / 1.009 GB, free: 37.28 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.231, allocations: 5.031 kB / 1.009 GB, free: 37.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005289/1.236, allocations: 4.774 MB / 1.013 GB, free: 32.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/1.237, allocations: 494.6 kB / 1.014 GB, free: 32 MB / 0.5105 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 659] [Calling sys.exit(0), Time elapsed: 2.815933559089899] Failed to read output from testmodel.py, exit status != 0: 1.2426684582605958 1.248275974 0.968547412 Calling exit ...