Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001299/0.001299, 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.001441/0.001441, allocations: 220.4 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1413/0.1413, allocations: 23.91 MB / 337.1 MB, free: 11.04 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Examples_HeatingOfAlcohol",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_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.001964/0.001964, allocations: 59.91 kB / 471.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2996, allocations: 59.86 MB / 0.5193 GB, free: 9.488 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.07007/0.3697, allocations: 27.64 MB / 0.5463 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.382, allocations: 7.82 MB / 0.554 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.383, allocations: 23.88 kB / 0.554 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.3856, allocations: 0.8438 MB / 0.5548 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.3877, allocations: 0.7879 MB / 0.5556 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.3903, allocations: 0.9201 MB / 0.5565 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002738/0.3931, allocations: 1.896 MB / 0.5583 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004062/0.3935, allocations: 226.2 kB / 0.5585 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000749/0.3942, allocations: 0.6127 MB / 0.5591 GB, free: 476 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008584/0.3951, allocations: 0.7007 MB / 0.5598 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.3953, allocations: 140 kB / 0.56 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.3976, allocations: 1.038 MB / 0.561 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004276/0.3981, allocations: 459.9 kB / 0.5614 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007154/0.3988, allocations: 0.6845 MB / 0.5621 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004443/0.4032, allocations: 3.168 MB / 0.5652 GB, free: 10.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4032, allocations: 3.938 kB / 0.5652 GB, free: 10.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4032, allocations: 0 / 0.5652 GB, free: 10.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.4032, allocations: 3.938 kB / 0.5652 GB, free: 10.93 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.003573/0.4068, allocations: 2.133 MB / 0.5673 GB, free: 8.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.4069, allocations: 12.03 kB / 0.5673 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.687e-05/0.4069, allocations: 43 kB / 0.5673 GB, free: 8.695 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002734/0.4072, allocations: 249.8 kB / 0.5675 GB, free: 8.441 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.4083, allocations: 395.3 kB / 0.5679 GB, free: 8.055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.4096, allocations: 0.8328 MB / 0.5687 GB, free: 7.191 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003184/0.4099, allocations: 322.2 kB / 0.569 GB, free: 6.852 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.4101, allocations: 152 kB / 0.5692 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008174/0.4183, allocations: 7.383 MB / 0.5764 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.4183, allocations: 3.984 kB / 0.5764 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.4184, allocations: 59.98 kB / 0.5765 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003167/0.4188, allocations: 283.5 kB / 0.5767 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/0.4328, allocations: 13.41 MB / 0.5898 GB, free: 1.543 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.0259/0.4587, allocations: 17.48 MB / 0.6069 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00507/0.4637, allocations: 3.53 MB / 0.6104 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00363/0.4674, allocations: 2.741 MB / 0.613 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001838/0.4692, allocations: 0.6463 MB / 0.6137 GB, free: 9.012 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.4692, allocations: 47.55 kB / 0.6137 GB, free: 8.957 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.076e-06/0.4692, allocations: 0 / 0.6137 GB, free: 8.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=146): time 0.1129/0.5822, allocations: 30.97 MB / 0.6439 GB, free: 9.926 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1338/0.716, allocations: 40.57 MB / 0.6836 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002756/0.7187, allocations: 1.842 MB / 0.6854 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005626/0.7193, allocations: 49.7 kB / 0.6854 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007697/0.7201, allocations: 0.8168 MB / 0.6862 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008987/0.721, allocations: 0.515 MB / 0.6867 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00151/0.7225, allocations: 0.5071 MB / 0.6872 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.7226, allocations: 305.1 kB / 0.6875 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006823/0.7294, allocations: 4.896 MB / 0.6923 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00724/0.7367, allocations: 5.152 MB / 0.6973 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/0.7475, allocations: 6.776 MB / 0.7039 GB, free: 11.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/0.7475, allocations: 4 kB / 0.7039 GB, free: 11.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03436/0.7819, allocations: 13.65 MB / 0.7173 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.7819, allocations: 8 kB / 0.7173 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.7819, allocations: 8 kB / 0.7173 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02913/0.811, allocations: 6.964 MB / 0.7241 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004587/0.8156, allocations: 0.6242 MB / 0.7247 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2562/1.072, allocations: 26.4 MB / 0.7505 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003455/1.075, allocations: 177.9 kB / 0.7507 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000653/1.076, allocations: 358.5 kB / 0.751 GB, free: 175.2 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.001249/1.077, allocations: 0.5023 MB / 0.7515 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006711/1.078, allocations: 188.6 kB / 0.7517 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02453/1.102, allocations: 8.95 MB / 0.7604 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02059/1.123, allocations: 7.395 MB / 0.7676 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/1.123, allocations: 7.219 kB / 0.7676 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.168e-05/1.123, allocations: 9.391 kB / 0.7676 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03097/1.154, allocations: 14.16 MB / 0.7815 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.642e-05/1.154, allocations: 10.62 kB / 0.7815 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002898/1.157, allocations: 357 kB / 0.7818 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0476/1.205, allocations: 7.036 MB / 0.7887 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004295/1.205, allocations: 95.89 kB / 0.7888 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02175/1.227, allocations: 11.52 MB / 0.8 GB, free: 137.3 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.03888/1.266, allocations: 5.649 MB / 0.8056 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02644/1.292, allocations: 11.61 MB / 0.8169 GB, free: 120 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/1.293, allocations: 250.7 kB / 0.8171 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005832/1.293, allocations: 35.98 kB / 0.8172 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002531/1.296, allocations: 124 kB / 0.8173 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000681/1.296, allocations: 203.5 kB / 0.8175 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003101/1.297, allocations: 159.9 kB / 0.8176 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001824/1.299, allocations: 1.815 MB / 0.8194 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.299, allocations: 3.938 kB / 0.8194 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002871/1.301, allocations: 0.9517 MB / 0.8203 GB, free: 116.5 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.02589/1.327, allocations: 11.59 MB / 0.8317 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01139/1.339, allocations: 7.45 MB / 0.8389 GB, free: 97.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.339, allocations: 0 / 0.8389 GB, free: 97.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00626/1.345, allocations: 2.896 MB / 0.8418 GB, free: 94.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/1.347, allocations: 418.2 kB / 0.8422 GB, free: 94.2 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.816575904027559] Failed to read output from testmodel.py, exit status != 0: 1.3555465639801696 1.365917506 0.960398343 Calling exit ...