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.001415/0.001415, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001722/0.001722, allocations: 223.9 kB / 23.03 MB, free: 4.945 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1615/0.1615, allocations: 23.87 MB / 337.1 MB, free: 10.98 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="cs",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.002048/0.002048, allocations: 67.91 kB / 471.9 MB, free: 7.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3889, allocations: 59.86 MB / 0.5193 GB, free: 9.535 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.07489/0.4638, allocations: 27.64 MB / 0.5463 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.4763, allocations: 7.815 MB / 0.5539 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.4775, allocations: 27.81 kB / 0.5539 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.4802, allocations: 0.8453 MB / 0.5548 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002676/0.4829, allocations: 0.7866 MB / 0.5555 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.4857, allocations: 0.9168 MB / 0.5564 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00344/0.4892, allocations: 1.896 MB / 0.5583 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005023/0.4897, allocations: 226.3 kB / 0.5585 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.4908, allocations: 0.616 MB / 0.5591 GB, free: 500 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.4918, allocations: 0.696 MB / 0.5598 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.492, allocations: 140 kB / 0.5599 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003318/0.4954, allocations: 1.046 MB / 0.5609 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005935/0.4959, allocations: 459.8 kB / 0.5614 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008813/0.4968, allocations: 0.6853 MB / 0.562 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006522/0.5034, allocations: 3.166 MB / 0.5651 GB, free: 10.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.5034, allocations: 0 / 0.5651 GB, free: 10.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5034, allocations: 3.938 kB / 0.5651 GB, free: 10.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.823e-05/0.5034, allocations: 0 / 0.5651 GB, free: 10.98 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.003936/0.5073, allocations: 2.134 MB / 0.5672 GB, free: 8.809 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.5074, allocations: 12.03 kB / 0.5672 GB, free: 8.797 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.386e-05/0.5074, allocations: 39 kB / 0.5673 GB, free: 8.758 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003035/0.5077, allocations: 245.8 kB / 0.5675 GB, free: 8.508 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.5089, allocations: 407.2 kB / 0.5679 GB, free: 8.109 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.5104, allocations: 0.8289 MB / 0.5687 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.5108, allocations: 322.2 kB / 0.569 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/0.511, allocations: 152.1 kB / 0.5691 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008364/0.5194, allocations: 7.387 MB / 0.5764 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.5194, allocations: 0 / 0.5764 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.5195, allocations: 59.97 kB / 0.5764 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003379/0.5199, allocations: 279.5 kB / 0.5767 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.5355, allocations: 13.41 MB / 0.5898 GB, free: 1.609 MB / 430.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.03065/0.5662, allocations: 17.49 MB / 0.6068 GB, free: 16 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005454/0.5716, allocations: 3.526 MB / 0.6103 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003794/0.5754, allocations: 2.741 MB / 0.613 GB, free: 9.727 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/0.5774, allocations: 0.6541 MB / 0.6136 GB, free: 9.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.5775, allocations: 43.56 kB / 0.6137 GB, free: 9.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.947e-06/0.5775, allocations: 0 / 0.6137 GB, free: 9.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=146): time 0.1161/0.6935, allocations: 30.97 MB / 0.6439 GB, free: 9.984 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1373/0.8308, allocations: 40.57 MB / 0.6835 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002985/0.8338, allocations: 1.838 MB / 0.6853 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006077/0.8344, allocations: 49.7 kB / 0.6854 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000832/0.8353, allocations: 0.8167 MB / 0.6862 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009807/0.8362, allocations: 0.5151 MB / 0.6867 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/0.8378, allocations: 0.5032 MB / 0.6872 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.838, allocations: 305.2 kB / 0.6874 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007373/0.8454, allocations: 4.908 MB / 0.6922 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007349/0.8527, allocations: 5.144 MB / 0.6973 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/0.8636, allocations: 6.78 MB / 0.7039 GB, free: 12.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.629e-05/0.8636, allocations: 4 kB / 0.7039 GB, free: 12.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03506/0.8987, allocations: 13.66 MB / 0.7172 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.8987, allocations: 8 kB / 0.7172 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.8987, allocations: 12.28 kB / 0.7172 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02861/0.9273, allocations: 6.961 MB / 0.724 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00458/0.9319, allocations: 0.6242 MB / 0.7246 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3448/1.277, allocations: 26.4 MB / 0.7504 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004122/1.281, allocations: 177.1 kB / 0.7506 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009927/1.282, allocations: 357.8 kB / 0.7509 GB, free: 175.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.001701/1.284, allocations: 0.495 MB / 0.7514 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009016/1.284, allocations: 188.5 kB / 0.7516 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03022/1.315, allocations: 8.958 MB / 0.7604 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02144/1.336, allocations: 7.391 MB / 0.7676 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/1.336, allocations: 7.906 kB / 0.7676 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.918e-05/1.336, allocations: 7.969 kB / 0.7676 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03181/1.368, allocations: 14.16 MB / 0.7814 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/1.368, allocations: 10.59 kB / 0.7814 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002894/1.371, allocations: 361.9 kB / 0.7818 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04784/1.419, allocations: 7.036 MB / 0.7886 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005507/1.419, allocations: 91.91 kB / 0.7887 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02198/1.441, allocations: 11.52 MB / 0.8 GB, free: 137.4 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.03806/1.479, allocations: 5.661 MB / 0.8055 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02594/1.505, allocations: 11.6 MB / 0.8168 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006377/1.506, allocations: 257.4 kB / 0.8171 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005667/1.506, allocations: 32 kB / 0.8171 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002498/1.509, allocations: 127.8 kB / 0.8172 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006757/1.51, allocations: 196.8 kB / 0.8174 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003047/1.51, allocations: 162.7 kB / 0.8176 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001825/1.512, allocations: 1.819 MB / 0.8194 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.512, allocations: 0 / 0.8194 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004128/1.516, allocations: 0.9512 MB / 0.8203 GB, free: 116.6 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.02656/1.542, allocations: 11.59 MB / 0.8316 GB, free: 105 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.554, allocations: 7.456 MB / 0.8389 GB, free: 97.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/1.554, allocations: 0 / 0.8389 GB, free: 97.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006118/1.56, allocations: 2.897 MB / 0.8417 GB, free: 94.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/1.563, allocations: 420.8 kB / 0.8421 GB, free: 94.33 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 658] [Calling sys.exit(0), Time elapsed: 4.304988750023767] Failed to read output from testmodel.py, exit status != 0: 1.5707644509384409 1.580353211 1.074779051 Calling exit ...