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.001565/0.001565, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.001684/0.001684, allocations: 163.6 kB / 22.46 MB, free: 5.355 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.458/1.458, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.1377/0.1377, allocations: 17.45 MB / 276.6 MB, free: 15.2 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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 412.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.737e-05, allocations: 2.281 kB / 412.1 MB, free: 4.297 MB / 334.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.03845/0.03848, allocations: 28.68 MB / 440.8 MB, free: 7.734 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2114/0.2499, allocations: 8.8 MB / 449.6 MB, free: 31.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009799/0.2509, allocations: 57.97 kB / 449.6 MB, free: 31.37 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.2536, allocations: 0.8892 MB / 450.5 MB, free: 31.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002734/0.2563, allocations: 1.007 MB / 451.5 MB, free: 31.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.2591, allocations: 1.117 MB / 452.6 MB, free: 31.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00307/0.2622, allocations: 2.113 MB / 454.7 MB, free: 30.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004734/0.2627, allocations: 223.6 kB / 455 MB, free: 30.42 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.2644, allocations: 1 MB / 456 MB, free: 30.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.2658, allocations: 0.7736 MB / 456.7 MB, free: 30 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.266, allocations: 137.2 kB / 456.9 MB, free: 30 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003943/0.27, allocations: 1.244 MB / 458.1 MB, free: 29.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004662/0.2704, allocations: 494.2 kB / 458.6 MB, free: 29.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008124/0.2712, allocations: 0.5559 MB / 459.2 MB, free: 29.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006099/0.2773, allocations: 3.223 MB / 462.4 MB, free: 28.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.2773, allocations: 1.078 kB / 462.4 MB, free: 28.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.2773, allocations: 0 / 462.4 MB, free: 28.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.689e-05/0.2774, allocations: 2.625 kB / 462.4 MB, free: 28.2 MB / 366.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.004457/0.2819, allocations: 2.166 MB / 464.5 MB, free: 26.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.2819, allocations: 15.84 kB / 464.6 MB, free: 26.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009101/0.2828, allocations: 383.5 kB / 464.9 MB, free: 26.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.2845, allocations: 1.113 MB / 466.1 MB, free: 25.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.2846, allocations: 232.8 kB / 466.3 MB, free: 25.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.2849, allocations: 153.7 kB / 466.4 MB, free: 25.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005922/0.2908, allocations: 6.218 MB / 472.6 MB, free: 22.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/0.2908, allocations: 192 / 472.6 MB, free: 22.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.2909, allocations: 65.17 kB / 472.7 MB, free: 22.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002477/0.2912, allocations: 257.6 kB / 473 MB, free: 22.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009011/0.3002, allocations: 12.36 MB / 485.3 MB, free: 12.41 MB / 366.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.01143/0.3116, allocations: 8.83 MB / 494.1 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.3128, allocations: 0.8451 MB / 495 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006787/0.3135, allocations: 0.5622 MB / 495.6 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006663/0.3202, allocations: 3.59 MB / 499.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.3202, allocations: 43.22 kB / 499.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=67): time 2.906e-06/0.3202, allocations: 0 / 499.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=99): time 0.03307/0.3533, allocations: 7.426 MB / 0.4947 GB, free: 7.305 MB / 382.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.002384/0.3557, allocations: 0.8181 MB / 0.4955 GB, free: 6.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.3575, allocations: 1.176 MB / 0.4967 GB, free: 5.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002039/0.3577, allocations: 41.7 kB / 0.4967 GB, free: 5.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008674/0.3586, allocations: 1.057 MB / 0.4978 GB, free: 4.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/0.359, allocations: 362.3 kB / 0.4981 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007642/0.3598, allocations: 451.2 kB / 0.4985 GB, free: 3.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3599, allocations: 309.1 kB / 0.4988 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.3611, allocations: 0.6247 MB / 0.4994 GB, free: 2.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.3629, allocations: 1.361 MB / 0.5008 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003566/0.3665, allocations: 2.199 MB / 0.5029 GB, free: 14.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.3665, allocations: 8 kB / 0.5029 GB, free: 14.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.009096/0.3756, allocations: 2.805 MB / 0.5057 GB, free: 11.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.3756, allocations: 18.62 kB / 0.5057 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/0.3757, allocations: 26.62 kB / 0.5057 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007106/0.3828, allocations: 1.218 MB / 0.5069 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003722/0.3865, allocations: 0.7459 MB / 0.5076 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006869/0.3934, allocations: 3.642 MB / 0.5112 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.3952, allocations: 86.64 kB / 0.5113 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004216/0.3956, allocations: 267.9 kB / 0.5115 GB, free: 5.426 MB / 398.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.001277/0.3969, allocations: 0.5394 MB / 0.512 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/0.3973, allocations: 159 kB / 0.5122 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/0.4106, allocations: 3.065 MB / 0.5152 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.4106, allocations: 8 kB / 0.5152 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.4106, allocations: 4 kB / 0.5152 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.4106, allocations: 6.672 kB / 0.5152 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/0.4261, allocations: 4.223 MB / 0.5193 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.4261, allocations: 0 / 0.5193 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003063/0.4292, allocations: 0.4904 MB / 0.5198 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007751/0.437, allocations: 1.173 MB / 0.521 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/0.4372, allocations: 51.97 kB / 0.521 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/0.4538, allocations: 6.971 MB / 0.5278 GB, free: 4.746 MB / 414.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.002327/0.4561, allocations: 0.732 MB / 0.5285 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/0.4696, allocations: 3.152 MB / 0.5316 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.47, allocations: 123 kB / 0.5317 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.4703, allocations: 23.95 kB / 0.5317 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000929/0.4712, allocations: 46.67 kB / 0.5318 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000373/0.4716, allocations: 116.7 kB / 0.5319 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/0.4717, allocations: 91.97 kB / 0.532 GB, free: 456 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001216/0.473, allocations: 0.7822 MB / 0.5328 GB, free: 15.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.473, allocations: 0 / 0.5328 GB, free: 15.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002196/0.4751, allocations: 0.5074 MB / 0.5333 GB, free: 15.15 MB / 430.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.0008651/0.476, allocations: 389.5 kB / 0.5336 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005264/0.4813, allocations: 1.888 MB / 0.5355 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4813, allocations: 0 / 0.5355 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003408/0.4847, allocations: 1.107 MB / 0.5365 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.4863, allocations: 308 kB / 0.5368 GB, free: 11.55 MB / 430.1 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 660] [Calling sys.exit(0), Time elapsed: 2.866606630384922] Failed to read output from testmodel.py, exit status != 0: 0.49573520570993423 0.509967106 0.22960543800000002 Calling exit ...