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.001572/0.001572, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001732/0.001732, allocations: 217.7 kB / 23.01 MB, free: 4.566 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.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.1374/0.1374, allocations: 23.85 MB / 337 MB, free: 11.22 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: 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.002032/0.002032, allocations: 63.89 kB / 472.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.3, allocations: 59.85 MB / 0.5198 GB, free: 9.855 MB / 382.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.04027/0.3402, allocations: 28.98 MB / 0.5481 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.3534, allocations: 8.999 MB / 0.5569 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.3546, allocations: 23.88 kB / 0.5569 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00278/0.3574, allocations: 0.9027 MB / 0.5578 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.3596, allocations: 0.7814 MB / 0.5585 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.3621, allocations: 0.9054 MB / 0.5594 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002854/0.365, allocations: 1.885 MB / 0.5613 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004086/0.3654, allocations: 234.1 kB / 0.5615 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007516/0.3661, allocations: 0.6115 MB / 0.5621 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008865/0.367, allocations: 0.6977 MB / 0.5628 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.3672, allocations: 140 kB / 0.5629 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003734/0.371, allocations: 1.617 MB / 0.5645 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004425/0.3714, allocations: 464.2 kB / 0.5649 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008466/0.3723, allocations: 0.9018 MB / 0.5658 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004711/0.377, allocations: 3.337 MB / 0.5691 GB, free: 7.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.377, allocations: 0 / 0.5691 GB, free: 7.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.809e-06/0.377, allocations: 4 kB / 0.5691 GB, free: 7.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.635e-05/0.377, allocations: 0 / 0.5691 GB, free: 7.66 MB / 414.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.003484/0.3805, allocations: 2.134 MB / 0.5711 GB, free: 5.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3805, allocations: 11.97 kB / 0.5712 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.3816, allocations: 399.3 kB / 0.5715 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.3829, allocations: 0.8328 MB / 0.5724 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003364/0.3832, allocations: 322.2 kB / 0.5727 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.3834, allocations: 152.2 kB / 0.5728 GB, free: 3.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007757/0.3912, allocations: 7.387 MB / 0.58 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.3912, allocations: 0 / 0.58 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.3913, allocations: 59.98 kB / 0.5801 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003014/0.3916, allocations: 283.4 kB / 0.5803 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/0.405, allocations: 13.41 MB / 0.5934 GB, free: 14.57 MB / 446.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.02625/0.4313, allocations: 18.33 MB / 0.6113 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005053/0.4363, allocations: 3.534 MB / 0.6148 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003586/0.4399, allocations: 2.741 MB / 0.6175 GB, free: 5.762 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001768/0.4417, allocations: 0.662 MB / 0.6181 GB, free: 5.098 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.4417, allocations: 47.5 kB / 0.6182 GB, free: 5.043 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.086e-06/0.4417, allocations: 0 / 0.6182 GB, free: 5.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=146): time 0.1066/0.5483, allocations: 30.92 MB / 0.6484 GB, free: 6.059 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1284/0.6767, allocations: 41.15 MB / 0.6885 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/0.6792, allocations: 1.842 MB / 0.6903 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004753/0.6797, allocations: 45.7 kB / 0.6904 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00071/0.6804, allocations: 0.8206 MB / 0.6912 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007522/0.6812, allocations: 0.5151 MB / 0.6917 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001331/0.6825, allocations: 0.4993 MB / 0.6922 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6826, allocations: 309.2 kB / 0.6925 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006641/0.6893, allocations: 4.904 MB / 0.6973 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006888/0.6962, allocations: 5.148 MB / 0.7023 GB, free: 14.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/0.7065, allocations: 6.776 MB / 0.7089 GB, free: 7.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.557e-06/0.7065, allocations: 4 kB / 0.7089 GB, free: 7.523 MB / 0.545 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03298/0.7395, allocations: 13.63 MB / 0.7222 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.7395, allocations: 8 kB / 0.7222 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.7395, allocations: 8 kB / 0.7222 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02729/0.7668, allocations: 6.96 MB / 0.729 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004304/0.7711, allocations: 0.6242 MB / 0.7296 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2833/1.054, allocations: 26.78 MB / 0.7558 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003462/1.058, allocations: 177.9 kB / 0.756 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006244/1.058, allocations: 352.8 kB / 0.7563 GB, free: 172.7 MB / 0.5606 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.001222/1.06, allocations: 0.5057 MB / 0.7568 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000642/1.06, allocations: 191.4 kB / 0.757 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0247/1.085, allocations: 8.95 MB / 0.7657 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02039/1.105, allocations: 7.387 MB / 0.7729 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.105, allocations: 3.094 kB / 0.7729 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/1.105, allocations: 9.609 kB / 0.7729 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03045/1.136, allocations: 15.36 MB / 0.7879 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/1.136, allocations: 4 kB / 0.7879 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00273/1.139, allocations: 354.1 kB / 0.7883 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04664/1.185, allocations: 7.055 MB / 0.7952 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003751/1.186, allocations: 91.91 kB / 0.7953 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/1.207, allocations: 11.78 MB / 0.8068 GB, free: 131.2 MB / 0.5606 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.03862/1.246, allocations: 5.66 MB / 0.8123 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02485/1.271, allocations: 11.61 MB / 0.8236 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005399/1.271, allocations: 257.4 kB / 0.8239 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004729/1.272, allocations: 39.84 kB / 0.8239 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002486/1.274, allocations: 119.8 kB / 0.824 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005551/1.275, allocations: 191.6 kB / 0.8242 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002686/1.275, allocations: 163.9 kB / 0.8244 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001704/1.277, allocations: 1.815 MB / 0.8261 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/1.277, allocations: 2.656 kB / 0.8261 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002447/1.279, allocations: 0.9462 MB / 0.8271 GB, free: 110.4 MB / 0.5606 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.0006663/1.28, allocations: 375.8 kB / 0.8274 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0102/1.29, allocations: 7.467 MB / 0.8347 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.29, allocations: 0 / 0.8347 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005737/1.296, allocations: 2.896 MB / 0.8375 GB, free: 99.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/1.298, allocations: 420.7 kB / 0.8379 GB, free: 99.41 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.6689204298891127] Failed to read output from testmodel.py, exit status != 0: 1.3065527549479157 1.314839729 0.935671536 Calling exit ...