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.001909/0.001909, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002551/0.002551, allocations: 216.9 kB / 22.25 MB, free: 4.855 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.793 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.1599/0.1599, allocations: 23.89 MB / 336.3 MB, free: 10.96 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.002026/0.002026, allocations: 71.89 kB / 471.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4154, allocations: 59.85 MB / 0.5185 GB, free: 9.527 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.07968/0.4951, allocations: 28.01 MB / 0.5459 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0153/0.5104, allocations: 7.828 MB / 0.5535 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002213/0.5126, allocations: 27.81 kB / 0.5535 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003335/0.516, allocations: 0.8212 MB / 0.5543 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.5189, allocations: 0.7843 MB / 0.5551 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003297/0.5222, allocations: 0.8942 MB / 0.556 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004206/0.5264, allocations: 1.896 MB / 0.5578 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005178/0.527, allocations: 222 kB / 0.5581 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.5281, allocations: 0.6054 MB / 0.5586 GB, free: 144 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009972/0.5291, allocations: 0.619 MB / 0.5592 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002496/0.5293, allocations: 140 kB / 0.5594 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003629/0.533, allocations: 1.014 MB / 0.5604 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006797/0.5336, allocations: 464.1 kB / 0.5608 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.5348, allocations: 0.6846 MB / 0.5615 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00701/0.5418, allocations: 3.165 MB / 0.5646 GB, free: 10.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.5418, allocations: 0 / 0.5646 GB, free: 10.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5418, allocations: 0 / 0.5646 GB, free: 10.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.73e-05/0.5418, allocations: 4 kB / 0.5646 GB, free: 10.72 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.004222/0.5461, allocations: 2.141 MB / 0.5667 GB, free: 8.535 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.5461, allocations: 12.03 kB / 0.5667 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003195/0.5464, allocations: 241.8 kB / 0.5669 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.5476, allocations: 395.3 kB / 0.5673 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.5491, allocations: 0.8328 MB / 0.5681 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003542/0.5495, allocations: 322.2 kB / 0.5684 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003074/0.5498, allocations: 148.3 kB / 0.5685 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008817/0.5586, allocations: 7.391 MB / 0.5758 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.5586, allocations: 7.938 kB / 0.5758 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.5588, allocations: 59.98 kB / 0.5758 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003421/0.5591, allocations: 275.5 kB / 0.5761 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01521/0.5743, allocations: 13.39 MB / 0.5892 GB, free: 1.402 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.02808/0.6024, allocations: 17.49 MB / 0.6062 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005172/0.6076, allocations: 3.53 MB / 0.6097 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004048/0.6116, allocations: 2.745 MB / 0.6124 GB, free: 9.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001852/0.6135, allocations: 0.6425 MB / 0.613 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.6135, allocations: 55.48 kB / 0.6131 GB, free: 8.812 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.296e-06/0.6135, allocations: 0 / 0.6131 GB, free: 8.812 MB / 462.1 MB Notification: Performance of matching and sorting (n=146): time 0.1093/0.7228, allocations: 30.96 MB / 0.6433 GB, free: 9.793 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1339/0.8566, allocations: 40.57 MB / 0.6829 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/0.8595, allocations: 1.846 MB / 0.6847 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005534/0.8601, allocations: 53.7 kB / 0.6848 GB, free: 15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008202/0.8609, allocations: 0.8206 MB / 0.6856 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008457/0.8617, allocations: 0.5073 MB / 0.6861 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/0.8631, allocations: 0.5071 MB / 0.6865 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.8633, allocations: 301.1 kB / 0.6868 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007226/0.8705, allocations: 4.908 MB / 0.6916 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007577/0.8781, allocations: 5.156 MB / 0.6967 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/0.8892, allocations: 6.773 MB / 0.7033 GB, free: 11.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.8893, allocations: 4 kB / 0.7033 GB, free: 11.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03427/0.9235, allocations: 13.66 MB / 0.7166 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.9236, allocations: 8 kB / 0.7166 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.9236, allocations: 8 kB / 0.7166 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02806/0.9516, allocations: 6.972 MB / 0.7234 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004406/0.956, allocations: 0.6242 MB / 0.7241 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3123/1.268, allocations: 26.4 MB / 0.7498 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003841/1.272, allocations: 184 kB / 0.75 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007284/1.273, allocations: 350.2 kB / 0.7503 GB, free: 174.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.001269/1.274, allocations: 0.4997 MB / 0.7508 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006704/1.275, allocations: 195.7 kB / 0.751 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02526/1.3, allocations: 8.948 MB / 0.7598 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02132/1.321, allocations: 7.393 MB / 0.767 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/1.321, allocations: 7.594 kB / 0.767 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.287e-05/1.321, allocations: 8.969 kB / 0.767 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03212/1.354, allocations: 14.17 MB / 0.7808 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/1.354, allocations: 11.94 kB / 0.7808 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002872/1.356, allocations: 354.1 kB / 0.7812 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04971/1.406, allocations: 7.04 MB / 0.788 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005039/1.407, allocations: 94.53 kB / 0.7881 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02252/1.429, allocations: 11.51 MB / 0.7994 GB, free: 136.7 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.04109/1.47, allocations: 5.665 MB / 0.8049 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02647/1.497, allocations: 11.6 MB / 0.8162 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000802/1.498, allocations: 253.3 kB / 0.8165 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006332/1.498, allocations: 39.95 kB / 0.8165 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002639/1.501, allocations: 123.8 kB / 0.8166 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005991/1.501, allocations: 196.8 kB / 0.8168 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002745/1.502, allocations: 162.5 kB / 0.817 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001896/1.504, allocations: 1.815 MB / 0.8188 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/1.504, allocations: 0 / 0.8188 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002767/1.506, allocations: 0.9448 MB / 0.8197 GB, free: 115.9 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.02565/1.532, allocations: 11.59 MB / 0.831 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01162/1.544, allocations: 7.464 MB / 0.8383 GB, free: 96.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.544, allocations: 0 / 0.8383 GB, free: 96.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006301/1.55, allocations: 2.893 MB / 0.8411 GB, free: 93.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/1.552, allocations: 414.3 kB / 0.8415 GB, free: 93.6 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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.282670931890607] Failed to read output from testmodel.py, exit status != 0: 1.5608843937516212 1.571049744 1.026874055 Calling exit ...