Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfAlcohol.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.001385/0.001385, allocations: 79.28 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001415/0.001415, allocations: 167.2 kB / 22.46 MB, free: 5.371 MB / 14.72 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.472/1.472, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.1467/0.1467, allocations: 17.37 MB / 276.6 MB, free: 15.29 MB / 270.1 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.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 411.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.331e-05, allocations: 5.656 kB / 411.9 MB, free: 4.449 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.03838/0.0384, allocations: 28.31 MB / 440.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.05068, allocations: 7.839 MB / 448.1 MB, free: 392 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.05189, allocations: 27.81 kB / 448.1 MB, free: 364 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1843/0.2361, allocations: 0.8248 MB / 448.9 MB, free: 31.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.2384, allocations: 0.8063 MB / 449.8 MB, free: 31.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.2409, allocations: 0.9228 MB / 450.7 MB, free: 31.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002497/0.2434, allocations: 1.949 MB / 452.6 MB, free: 30.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003803/0.2438, allocations: 219.7 kB / 452.8 MB, free: 30.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.2448, allocations: 0.8986 MB / 453.7 MB, free: 30.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006664/0.2455, allocations: 0.5189 MB / 454.3 MB, free: 30.65 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.2457, allocations: 139.4 kB / 454.4 MB, free: 30.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002406/0.2481, allocations: 1.017 MB / 455.4 MB, free: 30.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003853/0.2484, allocations: 474.3 kB / 455.9 MB, free: 30.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005736/0.249, allocations: 0.5374 MB / 456.4 MB, free: 30.28 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004579/0.2536, allocations: 3.172 MB / 459.6 MB, free: 29.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2536, allocations: 0 / 459.6 MB, free: 29.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.2536, allocations: 2.25 kB / 459.6 MB, free: 29.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.838e-05/0.2536, allocations: 0 / 459.6 MB, free: 29.14 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.003551/0.2572, allocations: 2.121 MB / 461.7 MB, free: 27.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.2572, allocations: 13.25 kB / 461.7 MB, free: 27.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.2583, allocations: 395.7 kB / 462.1 MB, free: 27.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.2594, allocations: 0.8241 MB / 462.9 MB, free: 27.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002504/0.2596, allocations: 329.6 kB / 463.3 MB, free: 26.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.2598, allocations: 143.9 kB / 463.4 MB, free: 26.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007531/0.2673, allocations: 7.385 MB / 470.8 MB, free: 23.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.445e-05/0.2674, allocations: 1.531 kB / 470.8 MB, free: 23.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.2675, allocations: 58.84 kB / 470.8 MB, free: 23.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002798/0.2678, allocations: 283.9 kB / 471.1 MB, free: 23.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009699/0.2775, allocations: 13.39 MB / 484.5 MB, free: 12.74 MB / 366.1 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.02026/0.2977, allocations: 16.92 MB / 0.4897 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005135/0.3029, allocations: 3.53 MB / 0.4931 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003866/0.3067, allocations: 2.748 MB / 0.4958 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/0.3087, allocations: 0.6506 MB / 0.4964 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.3087, allocations: 39.56 kB / 0.4965 GB, free: 4.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 3.487e-06/0.3087, allocations: 2.656 kB / 0.4965 GB, free: 4.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=146): time 0.116/0.4247, allocations: 30.92 MB / 0.5267 GB, free: 6.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1353/0.5601, allocations: 40.6 MB / 0.5663 GB, free: 13.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.5617, allocations: 0.9562 MB / 0.5673 GB, free: 12.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006545/0.5624, allocations: 45.7 kB / 0.5673 GB, free: 12.65 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000773/0.5632, allocations: 0.8536 MB / 0.5681 GB, free: 11.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001069/0.5642, allocations: 0.5022 MB / 0.5686 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001523/0.5658, allocations: 0.5097 MB / 0.5691 GB, free: 10.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5659, allocations: 305.1 kB / 0.5694 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007011/0.5729, allocations: 4.908 MB / 0.5742 GB, free: 5.582 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007523/0.5804, allocations: 5.147 MB / 0.5792 GB, free: 368 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.5915, allocations: 6.782 MB / 0.5858 GB, free: 9.523 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.5915, allocations: 0 / 0.5858 GB, free: 9.523 MB / 478.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03836/0.6298, allocations: 13.6 MB / 0.5991 GB, free: 12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.6299, allocations: 10.62 kB / 0.5991 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/0.6299, allocations: 8 kB / 0.5991 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04194/0.6719, allocations: 6.994 MB / 0.606 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005694/0.6775, allocations: 0.6208 MB / 0.6066 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2476/0.9252, allocations: 26.38 MB / 0.6323 GB, free: 174.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003861/0.929, allocations: 177 kB / 0.6325 GB, free: 174.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007508/0.9298, allocations: 350.5 kB / 0.6328 GB, free: 174.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (134): * Single equations (assignments): 129 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,13,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001626/0.9314, allocations: 0.5074 MB / 0.6333 GB, free: 174.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000787/0.9322, allocations: 135.9 kB / 0.6335 GB, free: 174.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02709/0.9593, allocations: 8.9 MB / 0.6422 GB, free: 171.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02168/0.981, allocations: 7.39 MB / 0.6494 GB, free: 168.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.981, allocations: 3.719 kB / 0.6494 GB, free: 168.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/0.981, allocations: 11.58 kB / 0.6494 GB, free: 168.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03241/1.013, allocations: 14.34 MB / 0.6634 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/1.013, allocations: 8 kB / 0.6634 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003078/1.016, allocations: 352.7 kB / 0.6637 GB, free: 157 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05061/1.067, allocations: 7.11 MB / 0.6707 GB, free: 150 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005434/1.068, allocations: 95.84 kB / 0.6708 GB, free: 149.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02233/1.09, allocations: 11.49 MB / 0.682 GB, free: 138.4 MB / 0.4981 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.04119/1.131, allocations: 5.722 MB / 0.6876 GB, free: 132.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02714/1.158, allocations: 11.54 MB / 0.6988 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005014/1.159, allocations: 150.6 kB / 0.699 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007475/1.16, allocations: 42.47 kB / 0.699 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003024/1.163, allocations: 123.8 kB / 0.6991 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008275/1.163, allocations: 192.8 kB / 0.6993 GB, free: 120.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003692/1.164, allocations: 163.9 kB / 0.6995 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00127/1.165, allocations: 1.176 MB / 0.7006 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/1.165, allocations: 0 / 0.7006 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003067/1.168, allocations: 0.9393 MB / 0.7016 GB, free: 118.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 2 ($cse34,$cse27) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,13,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(15,39)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/1.169, allocations: 390.8 kB / 0.7019 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01119/1.18, allocations: 7.465 MB / 0.7092 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.18, allocations: 0 / 0.7092 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006395/1.187, allocations: 2.894 MB / 0.712 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/1.189, allocations: 314.2 kB / 0.7123 GB, free: 107.5 MB / 0.4981 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: 3.6414980813860893] Failed to read output from testmodel.py, exit status != 0: 1.1975633464753628 1.207033795 0.951211664 Calling exit ...