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.0009763/0.0009763, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.0009518/0.0009518, allocations: 220 kB / 22.25 MB, free: 3.582 MB / 13.93 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.023/1.023, allocations: 230.6 MB / 256 MB, free: 9.629 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.09998/0.09998, allocations: 24.01 MB / 336.4 MB, free: 9.859 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Examples_HeatingOfAlcohol",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Examples_HeatingOfAlcohol",fmuType="me_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.001438/0.001438, allocations: 79.88 kB / 472.9 MB, free: 16.19 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08981/0.09125, allocations: 59.91 MB / 0.5203 GB, free: 4.168 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Boundaries.mo:1361:7-1361: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.1-master/Boundaries.mo:1361:7-1361: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.3613/0.4525, allocations: 37.56 MB / 0.557 GB, free: 5.836 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00801/0.4605, allocations: 8.809 MB / 0.5656 GB, free: 2.984 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005829/0.4611, allocations: 52.75 kB / 0.5656 GB, free: 2.957 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.4627, allocations: 0.8822 MB / 0.5665 GB, free: 2.586 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.4638, allocations: 0.985 MB / 0.5674 GB, free: 1.973 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.4651, allocations: 1.081 MB / 0.5685 GB, free: 1.375 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.4665, allocations: 2.049 MB / 0.5705 GB, free: 408 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.4668, allocations: 232.2 kB / 0.5707 GB, free: 268 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005721/0.4674, allocations: 0.6943 MB / 0.5714 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008262/0.4682, allocations: 0.8764 MB / 0.5723 GB, free: 15.6 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.4683, allocations: 135.7 kB / 0.5724 GB, free: 15.6 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.47, allocations: 1.227 MB / 0.5736 GB, free: 15.31 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003337/0.4703, allocations: 477.9 kB / 0.574 GB, free: 15.06 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0005559/0.4709, allocations: 0.7143 MB / 0.5747 GB, free: 14.66 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003059/0.4739, allocations: 3.216 MB / 0.5779 GB, free: 13.2 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4739, allocations: 1.469 kB / 0.5779 GB, free: 13.2 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4739, allocations: 0 / 0.5779 GB, free: 13.2 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.474, allocations: 0 / 0.5779 GB, free: 13.2 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.002152/0.4761, allocations: 2.186 MB / 0.58 GB, free: 11.79 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4762, allocations: 13.92 kB / 0.58 GB, free: 11.79 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002003/0.4764, allocations: 251.1 kB / 0.5803 GB, free: 11.59 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004974/0.4769, allocations: 381.7 kB / 0.5806 GB, free: 11.37 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.4779, allocations: 1.122 MB / 0.5817 GB, free: 10.45 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.4781, allocations: 239.5 kB / 0.582 GB, free: 10.26 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.4782, allocations: 154 kB / 0.5821 GB, free: 10.21 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00423/0.4824, allocations: 6.223 MB / 0.5882 GB, free: 6.992 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/0.4825, allocations: 0 / 0.5882 GB, free: 6.992 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.4826, allocations: 58.64 kB / 0.5882 GB, free: 6.945 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/0.4828, allocations: 259.1 kB / 0.5885 GB, free: 6.855 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009279/0.4921, allocations: 12.36 MB / 0.6006 GB, free: 1.5 MB / 426.8 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.01054/0.5026, allocations: 9.1 MB / 0.6094 GB, free: 11.9 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009164/0.5035, allocations: 0.8517 MB / 0.6103 GB, free: 11.43 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004969/0.504, allocations: 0.5603 MB / 0.6108 GB, free: 11.14 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003917/0.5079, allocations: 3.585 MB / 0.6143 GB, free: 9.055 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.508, allocations: 46.69 kB / 0.6144 GB, free: 9 MB / 442.8 MB Notification: Performance of pre-optimization done (n=67): time 1.874e-06/0.508, allocations: 0 / 0.6144 GB, free: 9 MB / 442.8 MB Notification: Performance of matching and sorting (n=99): time 0.01388/0.5219, allocations: 7.412 MB / 0.6216 GB, free: 4.547 MB / 442.8 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 inlineWhenForInitialization (initialization): time 0.0009794/0.5228, allocations: 0.8179 MB / 0.6224 GB, free: 3.703 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.5239, allocations: 1.182 MB / 0.6236 GB, free: 2.512 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 9.602e-05/0.5239, allocations: 47.02 kB / 0.6236 GB, free: 2.465 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004893/0.5244, allocations: 1.057 MB / 0.6246 GB, free: 1.395 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.5246, allocations: 372.9 kB / 0.625 GB, free: 1.027 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004137/0.5251, allocations: 455.2 kB / 0.6254 GB, free: 0.5781 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.055e-05/0.5251, allocations: 305.1 kB / 0.6257 GB, free: 284 kB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007061/0.5258, allocations: 0.6248 MB / 0.6263 GB, free: 15.65 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.5269, allocations: 1.353 MB / 0.6276 GB, free: 13.95 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/0.5288, allocations: 2.2 MB / 0.6298 GB, free: 11.43 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.5288, allocations: 8 kB / 0.6298 GB, free: 11.43 MB / 458.8 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.0042/0.533, allocations: 2.805 MB / 0.6325 GB, free: 8.629 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.5331, allocations: 16 kB / 0.6326 GB, free: 8.613 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.5331, allocations: 26.72 kB / 0.6326 GB, free: 8.59 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00298/0.5361, allocations: 1.204 MB / 0.6338 GB, free: 7.422 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.5376, allocations: 0.7413 MB / 0.6345 GB, free: 6.695 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003346/0.541, allocations: 3.667 MB / 0.6381 GB, free: 2.879 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006908/0.5417, allocations: 86.67 kB / 0.6381 GB, free: 2.797 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/0.5419, allocations: 263.9 kB / 0.6384 GB, free: 2.539 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 4 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase,Ethanol.substanceDefinitionVar.SelfClustering,Ethanol.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 184 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,14), (1,6), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0007228/0.5426, allocations: 0.5418 MB / 0.6389 GB, free: 1.988 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.5428, allocations: 157.8 kB / 0.6391 GB, free: 1.836 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00616/0.549, allocations: 3.063 MB / 0.6421 GB, free: 14.95 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.549, allocations: 15.94 kB / 0.6421 GB, free: 14.93 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.549, allocations: 2.625 kB / 0.6421 GB, free: 14.93 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.549, allocations: 7.984 kB / 0.6421 GB, free: 14.93 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007186/0.5562, allocations: 4.504 MB / 0.6465 GB, free: 10.35 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5562, allocations: 2.688 kB / 0.6465 GB, free: 10.35 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.5575, allocations: 494.1 kB / 0.647 GB, free: 9.883 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00323/0.5607, allocations: 1.164 MB / 0.6481 GB, free: 8.742 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.614e-05/0.5608, allocations: 51.97 kB / 0.6482 GB, free: 8.691 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007802/0.5686, allocations: 7.033 MB / 0.655 GB, free: 1.422 MB / 474.8 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.0009047/0.5695, allocations: 0.7372 MB / 0.6557 GB, free: 0.668 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005735/0.5752, allocations: 3.154 MB / 0.6588 GB, free: 13.48 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.5754, allocations: 115.1 kB / 0.6589 GB, free: 13.37 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.5756, allocations: 31.89 kB / 0.659 GB, free: 13.34 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.5759, allocations: 48.02 kB / 0.659 GB, free: 13.29 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/0.5762, allocations: 112.8 kB / 0.6591 GB, free: 13.18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.942e-05/0.5763, allocations: 95.97 kB / 0.6592 GB, free: 13.09 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0007876/0.5771, allocations: 0.7901 MB / 0.66 GB, free: 12.3 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5771, allocations: 0 / 0.66 GB, free: 12.3 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.001492/0.5786, allocations: 0.4996 MB / 0.6605 GB, free: 11.8 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 ($STATESET1.x,Ethanol.logm,liquidWater.logm) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * 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 {(4,14,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006289/0.5848, allocations: 3.962 MB / 0.6643 GB, free: 7.781 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.002716/0.5876, allocations: 1.883 MB / 0.6662 GB, free: 5.891 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5876, allocations: 0 / 0.6662 GB, free: 5.891 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.5891, allocations: 1.104 MB / 0.6672 GB, free: 4.762 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008189/0.5899, allocations: 307.7 kB / 0.6675 GB, free: 4.5 MB / 490.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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 659] [Calling sys.exit(0), Time elapsed: 2.6193276150152087]