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.001378/0.001378, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001665/0.001665, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.82 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.1427/0.1427, allocations: 24 MB / 336.4 MB, free: 10.89 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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: translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfAlcohol") translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfAlcohol") [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.002091/0.002091, allocations: 71.16 kB / 471.8 MB, free: 6.922 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3587, allocations: 59.89 MB / 0.5192 GB, free: 9.703 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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.07333/0.432, allocations: 28.17 MB / 0.5467 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01574/0.4478, allocations: 8.095 MB / 0.5546 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.4495, allocations: 31.81 kB / 0.5546 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003083/0.4525, allocations: 0.7862 MB / 0.5554 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00283/0.4554, allocations: 0.8162 MB / 0.5562 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002945/0.4583, allocations: 0.965 MB / 0.5571 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003323/0.4616, allocations: 1.936 MB / 0.559 GB, free: 380 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000478/0.4621, allocations: 220.6 kB / 0.5593 GB, free: 156 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009751/0.4631, allocations: 0.6498 MB / 0.5599 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.4643, allocations: 0.8148 MB / 0.5607 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.4645, allocations: 136 kB / 0.5608 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.467, allocations: 0.9943 MB / 0.5618 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004147/0.4675, allocations: 444.8 kB / 0.5622 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006883/0.4681, allocations: 0.6723 MB / 0.5629 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00484/0.473, allocations: 3.118 MB / 0.5659 GB, free: 9.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.473, allocations: 0 / 0.5659 GB, free: 9.887 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.473, allocations: 0 / 0.5659 GB, free: 9.887 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.279e-05/0.473, allocations: 0 / 0.5659 GB, free: 9.887 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.003614/0.4766, allocations: 2.138 MB / 0.568 GB, free: 7.707 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4767, allocations: 8.031 kB / 0.568 GB, free: 7.699 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007732/0.4774, allocations: 363.3 kB / 0.5683 GB, free: 7.344 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.4786, allocations: 0.7496 MB / 0.5691 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.4789, allocations: 242.3 kB / 0.5693 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.4791, allocations: 148.3 kB / 0.5695 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007803/0.4869, allocations: 6.225 MB / 0.5755 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.115e-05/0.4869, allocations: 3.938 kB / 0.5755 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.487, allocations: 59.91 kB / 0.5756 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000293/0.4873, allocations: 255.6 kB / 0.5758 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/0.5009, allocations: 12.35 MB / 0.5879 GB, free: 3.25 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.01393/0.5148, allocations: 8.822 MB / 0.5965 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.5163, allocations: 0.8395 MB / 0.5973 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008229/0.5171, allocations: 0.5543 MB / 0.5979 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006679/0.5238, allocations: 3.587 MB / 0.6014 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.5238, allocations: 43.22 kB / 0.6014 GB, free: 5.273 MB / 446.1 MB Notification: Performance of pre-optimization done (n=67): time 2.475e-06/0.5238, allocations: 0 / 0.6014 GB, free: 5.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.03061/0.5544, allocations: 7.75 MB / 0.609 GB, free: 13.4 MB / 462.1 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.00212/0.5565, allocations: 0.8205 MB / 0.6098 GB, free: 12.54 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.5583, allocations: 1.174 MB / 0.6109 GB, free: 11.36 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.5585, allocations: 45.7 kB / 0.611 GB, free: 11.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009385/0.5594, allocations: 1.049 MB / 0.612 GB, free: 10.24 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004681/0.5599, allocations: 372.8 kB / 0.6124 GB, free: 9.875 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007592/0.5607, allocations: 455.2 kB / 0.6128 GB, free: 9.426 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.5608, allocations: 305.1 kB / 0.6131 GB, free: 9.125 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.5619, allocations: 0.6247 MB / 0.6137 GB, free: 8.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.5637, allocations: 1.353 MB / 0.615 GB, free: 6.797 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003422/0.5671, allocations: 2.198 MB / 0.6172 GB, free: 4.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.451e-05/0.5671, allocations: 8 kB / 0.6172 GB, free: 4.242 MB / 462.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008466/0.5756, allocations: 2.803 MB / 0.6199 GB, free: 1.422 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.5756, allocations: 16 kB / 0.6199 GB, free: 1.406 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.859e-05/0.5757, allocations: 24 kB / 0.6199 GB, free: 1.383 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006273/0.582, allocations: 1.199 MB / 0.6211 GB, free: 180 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003412/0.5854, allocations: 0.7489 MB / 0.6219 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006018/0.5914, allocations: 3.649 MB / 0.6254 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.5929, allocations: 80.03 kB / 0.6255 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000512/0.5934, allocations: 267.9 kB / 0.6257 GB, free: 11.29 MB / 478.1 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.00133/0.5948, allocations: 0.5401 MB / 0.6263 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004972/0.5953, allocations: 139 kB / 0.6264 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/0.6077, allocations: 3.07 MB / 0.6294 GB, free: 7.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.6077, allocations: 8 kB / 0.6294 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.6077, allocations: 4 kB / 0.6294 GB, free: 7.488 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/0.6077, allocations: 15.89 kB / 0.6294 GB, free: 7.473 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.6218, allocations: 4.223 MB / 0.6336 GB, free: 3.172 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/0.6218, allocations: 0 / 0.6336 GB, free: 3.172 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002796/0.6246, allocations: 495.7 kB / 0.634 GB, free: 2.688 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006823/0.6314, allocations: 1.157 MB / 0.6352 GB, free: 1.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002247/0.6316, allocations: 55.97 kB / 0.6352 GB, free: 1.465 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01551/0.6471, allocations: 6.987 MB / 0.642 GB, free: 10.24 MB / 494.1 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.00204/0.6492, allocations: 0.7307 MB / 0.6428 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/0.6611, allocations: 3.141 MB / 0.6458 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.6615, allocations: 123.1 kB / 0.6459 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004183/0.6619, allocations: 19.95 kB / 0.646 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.6629, allocations: 47.92 kB / 0.646 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004248/0.6633, allocations: 116.8 kB / 0.6461 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/0.6635, allocations: 91.97 kB / 0.6462 GB, free: 5.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001558/0.6651, allocations: 0.786 MB / 0.647 GB, free: 5.121 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6651, allocations: 0 / 0.647 GB, free: 5.121 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002131/0.6672, allocations: 491.6 kB / 0.6474 GB, free: 4.641 MB / 494.1 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.0008408/0.668, allocations: 381.6 kB / 0.6478 GB, free: 4.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005183/0.6732, allocations: 1.887 MB / 0.6496 GB, free: 2.359 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.6732, allocations: 0 / 0.6496 GB, free: 2.359 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003412/0.6766, allocations: 1.112 MB / 0.6507 GB, free: 1.223 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.6784, allocations: 291.7 kB / 0.651 GB, free: 0.9453 MB / 494.1 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: 3.209369357675314] Failed to read output from testmodel.py, exit status != 0: 0.6880574189126492 0.7036184169999999 0.227412565 Calling exit ...