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.0008236/0.0008236, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009496/0.0009496, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9502/0.9502, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.09003/0.09003, allocations: 17.38 MB / 276.6 MB, free: 11.84 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 411.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.421e-05, allocations: 6.156 kB / 411.4 MB, free: 13.25 MB / 330.7 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.02487/0.02489, allocations: 28.3 MB / 439.7 MB, free: 12.49 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009333/0.03423, allocations: 7.834 MB / 447.6 MB, free: 5.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007608/0.03499, allocations: 27.88 kB / 447.6 MB, free: 5.391 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.03705, allocations: 0.8481 MB / 448.4 MB, free: 4.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.03841, allocations: 0.8 MB / 449.2 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.04014, allocations: 0.91 MB / 450.1 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.04167, allocations: 1.958 MB / 452.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002809/0.04195, allocations: 219.2 kB / 452.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007099/0.04266, allocations: 0.9012 MB / 453.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.0431, allocations: 0.5179 MB / 453.7 MB, free: 92 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.04323, allocations: 140 kB / 453.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.0449, allocations: 1.018 MB / 454.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002862/0.04518, allocations: 474.1 kB / 455.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006821/0.04587, allocations: 0.5414 MB / 455.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002575/0.04844, allocations: 3.17 MB / 459.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.04845, allocations: 0 / 459.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.04845, allocations: 0 / 459.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.04847, allocations: 0 / 459.1 MB, free: 10.75 MB / 362.7 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.002033/0.0505, allocations: 2.118 MB / 461.2 MB, free: 8.586 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.05054, allocations: 8.031 kB / 461.2 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001874/0.05073, allocations: 245.8 kB / 461.4 MB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005691/0.05129, allocations: 403.2 kB / 461.8 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008387/0.05213, allocations: 0.8282 MB / 462.6 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000205/0.05234, allocations: 326.2 kB / 463 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.05263, allocations: 144.3 kB / 463.1 MB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004864/0.05749, allocations: 7.388 MB / 470.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.05752, allocations: 192 / 470.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-05/0.05759, allocations: 59.92 kB / 470.5 MB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001859/0.05778, allocations: 279.5 kB / 470.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008478/0.06626, allocations: 13.38 MB / 484.2 MB, free: 1.465 MB / 378.7 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.01631/0.08256, allocations: 17.49 MB / 0.4899 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003102/0.08567, allocations: 3.523 MB / 0.4934 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002374/0.08804, allocations: 2.749 MB / 0.4961 GB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009357/0.08898, allocations: 0.6542 MB / 0.4967 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.089, allocations: 39.56 kB / 0.4967 GB, free: 8.875 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 3.096e-06/0.089, allocations: 3.984 kB / 0.4967 GB, free: 8.871 MB / 410.7 MB Notification: Performance of matching and sorting (n=146): time 0.05652/0.1455, allocations: 30.99 MB / 0.527 GB, free: 9.809 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06751/0.213, allocations: 40.65 MB / 0.5667 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.2148, allocations: 1.854 MB / 0.5685 GB, free: 14.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004147/0.2152, allocations: 49.7 kB / 0.5686 GB, free: 14.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/0.2156, allocations: 0.8129 MB / 0.5694 GB, free: 14.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004825/0.2161, allocations: 0.5073 MB / 0.5699 GB, free: 13.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000843/0.2169, allocations: 0.5071 MB / 0.5704 GB, free: 13.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.217, allocations: 301.1 kB / 0.5706 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004405/0.2214, allocations: 4.912 MB / 0.5754 GB, free: 7.879 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004524/0.2259, allocations: 5.148 MB / 0.5805 GB, free: 2.645 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2262/0.4522, allocations: 6.775 MB / 0.5871 GB, free: 155.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.4522, allocations: 2.375 kB / 0.5871 GB, free: 155.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.02242/0.4746, allocations: 13.65 MB / 0.6004 GB, free: 150.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.4746, allocations: 7.969 kB / 0.6004 GB, free: 150.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.4746, allocations: 6.375 kB / 0.6004 GB, free: 150.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0147/0.4893, allocations: 6.995 MB / 0.6073 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/0.4917, allocations: 0.6227 MB / 0.6079 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02473/0.5164, allocations: 26.4 MB / 0.6336 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/0.5189, allocations: 181 kB / 0.6338 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004096/0.5193, allocations: 351.8 kB / 0.6342 GB, free: 124.7 MB / 490.7 MB 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.001456/0.5208, allocations: 0.5027 MB / 0.6346 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004447/0.5212, allocations: 194.7 kB / 0.6348 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/0.5351, allocations: 8.952 MB / 0.6436 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01171/0.5468, allocations: 7.397 MB / 0.6508 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.5468, allocations: 4 kB / 0.6508 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.5468, allocations: 7.969 kB / 0.6508 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/0.564, allocations: 14.17 MB / 0.6647 GB, free: 93.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.564, allocations: 6.656 kB / 0.6647 GB, free: 93.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.5654, allocations: 357.8 kB / 0.665 GB, free: 92.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02312/0.5885, allocations: 7.101 MB / 0.6719 GB, free: 85.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003399/0.5888, allocations: 95.89 kB / 0.672 GB, free: 85.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/0.6024, allocations: 11.52 MB / 0.6833 GB, free: 74.21 MB / 490.7 MB 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.01841/0.6208, allocations: 5.724 MB / 0.6889 GB, free: 68.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/0.6354, allocations: 11.59 MB / 0.7002 GB, free: 56.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/0.6358, allocations: 257.3 kB / 0.7004 GB, free: 56.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/0.6361, allocations: 39.98 kB / 0.7005 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.6373, allocations: 123.8 kB / 0.7006 GB, free: 56.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004432/0.6377, allocations: 191.5 kB / 0.7008 GB, free: 56.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/0.6379, allocations: 167.1 kB / 0.7009 GB, free: 56.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001371/0.6393, allocations: 1.811 MB / 0.7027 GB, free: 54.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6393, allocations: 0 / 0.7027 GB, free: 54.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002335/0.6416, allocations: 0.9471 MB / 0.7036 GB, free: 53.36 MB / 490.7 MB 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.01423/0.6559, allocations: 11.59 MB / 0.7149 GB, free: 41.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007167/0.663, allocations: 7.456 MB / 0.7222 GB, free: 34.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.663, allocations: 0 / 0.7222 GB, free: 34.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003471/0.6665, allocations: 2.9 MB / 0.7251 GB, free: 31.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.668, allocations: 420.6 kB / 0.7255 GB, free: 31.07 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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: 2.6357507528737187] Failed to read output from testmodel.py, exit status != 0: 0.8497928949072957 0.679189327 0.62936043 Calling exit ...