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.001585/0.001585, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001937/0.001937, allocations: 218.6 kB / 22.26 MB, free: 5.121 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.355/1.355, allocations: 230.6 MB / 256 MB, free: 7.961 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.1285/0.1285, allocations: 23.85 MB / 336.3 MB, free: 11.18 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: "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) [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.001926/0.001926, allocations: 67.89 kB / 471.2 MB, free: 7.684 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2949, allocations: 59.85 MB / 0.5186 GB, free: 9.629 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.03742/0.3323, allocations: 28.97 MB / 0.5469 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.3453, allocations: 9 MB / 0.5556 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009688/0.3463, allocations: 31.88 kB / 0.5557 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.3488, allocations: 0.8984 MB / 0.5566 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.3507, allocations: 0.7807 MB / 0.5573 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.353, allocations: 0.9016 MB / 0.5582 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002728/0.3557, allocations: 1.9 MB / 0.5601 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004175/0.3561, allocations: 222.3 kB / 0.5603 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009003/0.357, allocations: 0.6086 MB / 0.5609 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009289/0.3579, allocations: 0.7008 MB / 0.5615 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.3581, allocations: 140 kB / 0.5617 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003684/0.3618, allocations: 1.613 MB / 0.5633 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004159/0.3622, allocations: 467.6 kB / 0.5637 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008177/0.3631, allocations: 0.9062 MB / 0.5646 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004432/0.3675, allocations: 3.332 MB / 0.5678 GB, free: 7.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3675, allocations: 0 / 0.5678 GB, free: 7.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3675, allocations: 3.938 kB / 0.5678 GB, free: 7.637 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.3675, allocations: 0 / 0.5678 GB, free: 7.637 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.003365/0.3709, allocations: 2.137 MB / 0.5699 GB, free: 5.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3709, allocations: 8.031 kB / 0.5699 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002659/0.3712, allocations: 253.8 kB / 0.5702 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009713/0.3722, allocations: 399.3 kB / 0.5706 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.3734, allocations: 0.825 MB / 0.5714 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003189/0.3738, allocations: 326.1 kB / 0.5717 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.374, allocations: 156.3 kB / 0.5718 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007888/0.3818, allocations: 7.383 MB / 0.579 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.3819, allocations: 0 / 0.579 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.382, allocations: 59.98 kB / 0.5791 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003255/0.3823, allocations: 279.5 kB / 0.5794 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/0.3961, allocations: 13.41 MB / 0.5925 GB, free: 14.3 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.0255/0.4216, allocations: 18.34 MB / 0.6104 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004867/0.4265, allocations: 3.53 MB / 0.6138 GB, free: 8.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003666/0.4301, allocations: 2.745 MB / 0.6165 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001872/0.432, allocations: 0.6581 MB / 0.6171 GB, free: 4.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.432, allocations: 47.5 kB / 0.6172 GB, free: 4.766 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 2.514e-06/0.432, allocations: 0 / 0.6172 GB, free: 4.766 MB / 462.1 MB Notification: Performance of matching and sorting (n=146): time 0.1046/0.5367, allocations: 30.91 MB / 0.6474 GB, free: 5.785 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1278/0.6645, allocations: 41.15 MB / 0.6875 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00269/0.6672, allocations: 1.842 MB / 0.6893 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004832/0.6676, allocations: 49.7 kB / 0.6894 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007268/0.6684, allocations: 0.8128 MB / 0.6902 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008021/0.6692, allocations: 0.519 MB / 0.6907 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/0.6705, allocations: 0.5032 MB / 0.6912 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.6706, allocations: 305.2 kB / 0.6915 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006753/0.6774, allocations: 4.908 MB / 0.6963 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007167/0.6845, allocations: 5.144 MB / 0.7013 GB, free: 14.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/0.695, allocations: 6.784 MB / 0.7079 GB, free: 7.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.695, allocations: 0 / 0.7079 GB, free: 7.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03309/0.7281, allocations: 13.63 MB / 0.7212 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.7281, allocations: 8 kB / 0.7212 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/0.7281, allocations: 8 kB / 0.7212 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02699/0.7551, allocations: 6.965 MB / 0.728 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004123/0.7593, allocations: 0.6281 MB / 0.7287 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2443/1.004, allocations: 26.77 MB / 0.7548 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/1.007, allocations: 179.5 kB / 0.755 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006485/1.007, allocations: 352.8 kB / 0.7553 GB, free: 172.3 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.001151/1.009, allocations: 0.5107 MB / 0.7558 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006425/1.009, allocations: 188.2 kB / 0.756 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02285/1.032, allocations: 8.949 MB / 0.7647 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01912/1.051, allocations: 7.385 MB / 0.7719 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/1.051, allocations: 5.844 kB / 0.7719 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.15e-05/1.051, allocations: 3.984 kB / 0.772 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02903/1.08, allocations: 15.37 MB / 0.787 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/1.08, allocations: 4 kB / 0.787 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002617/1.083, allocations: 358.1 kB / 0.7873 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04394/1.127, allocations: 7.044 MB / 0.7942 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000374/1.127, allocations: 91.91 kB / 0.7943 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02112/1.148, allocations: 11.78 MB / 0.8058 GB, free: 130.9 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.03663/1.185, allocations: 5.659 MB / 0.8113 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02479/1.21, allocations: 11.6 MB / 0.8226 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006033/1.21, allocations: 259.5 kB / 0.8229 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005339/1.211, allocations: 31.95 kB / 0.8229 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002396/1.213, allocations: 126.4 kB / 0.823 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005683/1.214, allocations: 191.6 kB / 0.8232 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002712/1.214, allocations: 163.9 kB / 0.8234 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001758/1.216, allocations: 1.815 MB / 0.8251 GB, free: 111 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.216, allocations: 2.656 kB / 0.8251 GB, free: 111 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002621/1.219, allocations: 0.9473 MB / 0.8261 GB, free: 110.1 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.02415/1.243, allocations: 11.59 MB / 0.8374 GB, free: 98.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01051/1.253, allocations: 7.456 MB / 0.8447 GB, free: 91.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.253, allocations: 2.656 kB / 0.8447 GB, free: 91.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005788/1.259, allocations: 2.902 MB / 0.8475 GB, free: 88.17 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/1.261, allocations: 423.1 kB / 0.8479 GB, free: 87.8 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.5487439909993554] Failed to read output from testmodel.py, exit status != 0: 1.2688612030033255 1.278174773 0.908543496 Calling exit ...