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: 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.001552/0.001552, allocations: 213.2 kB / 22.24 MB, free: 5.258 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.801 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.1419/0.1419, allocations: 23.99 MB / 336.4 MB, free: 10.86 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: "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Examples_HeatingOfAlcohol",fmuType="me",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.002478/0.002478, allocations: 71.89 kB / 471.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.34, allocations: 59.88 MB / 0.5187 GB, free: 9.504 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.07804/0.4181, allocations: 28.18 MB / 0.5462 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01422/0.4323, allocations: 8.095 MB / 0.5541 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001859/0.4342, allocations: 35.81 kB / 0.5542 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002768/0.4369, allocations: 0.7785 MB / 0.5549 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002632/0.4396, allocations: 0.8203 MB / 0.5557 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003017/0.4426, allocations: 0.9689 MB / 0.5567 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003044/0.4456, allocations: 1.931 MB / 0.5586 GB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004184/0.446, allocations: 221 kB / 0.5588 GB, free: 76 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009081/0.4469, allocations: 0.644 MB / 0.5594 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.4483, allocations: 0.8266 MB / 0.5602 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002409/0.4485, allocations: 136 kB / 0.5603 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.4515, allocations: 0.9905 MB / 0.5613 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004825/0.452, allocations: 440.6 kB / 0.5617 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007768/0.4527, allocations: 0.6718 MB / 0.5624 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004807/0.4575, allocations: 3.116 MB / 0.5654 GB, free: 9.859 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4575, allocations: 0 / 0.5654 GB, free: 9.859 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.428e-06/0.4576, allocations: 7.984 kB / 0.5654 GB, free: 9.852 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.208e-05/0.4576, allocations: 0 / 0.5654 GB, free: 9.852 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.003621/0.4612, allocations: 2.13 MB / 0.5675 GB, free: 7.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4613, allocations: 12.03 kB / 0.5675 GB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002806/0.4615, allocations: 250.2 kB / 0.5678 GB, free: 7.414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007954/0.4623, allocations: 355.3 kB / 0.5681 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.4636, allocations: 0.7573 MB / 0.5688 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.4638, allocations: 234.3 kB / 0.5691 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.464, allocations: 160.3 kB / 0.5692 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006964/0.471, allocations: 6.221 MB / 0.5753 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/0.471, allocations: 4 kB / 0.5753 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.4711, allocations: 59.98 kB / 0.5754 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002729/0.4714, allocations: 259.6 kB / 0.5756 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.4841, allocations: 12.35 MB / 0.5877 GB, free: 2.965 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.01437/0.4985, allocations: 9.096 MB / 0.5965 GB, free: 9.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.4999, allocations: 0.8356 MB / 0.5974 GB, free: 8.926 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008503/0.5008, allocations: 0.5621 MB / 0.5979 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006852/0.5076, allocations: 3.587 MB / 0.6014 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.5077, allocations: 47.14 kB / 0.6015 GB, free: 4.695 MB / 446.1 MB Notification: Performance of pre-optimization done (n=67): time 2.545e-06/0.5077, allocations: 0 / 0.6015 GB, free: 4.695 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.0308/0.5385, allocations: 7.75 MB / 0.609 GB, free: 12.82 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.002107/0.5406, allocations: 0.8089 MB / 0.6098 GB, free: 11.97 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.5421, allocations: 1.178 MB / 0.611 GB, free: 10.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001922/0.5423, allocations: 45.7 kB / 0.611 GB, free: 10.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00083/0.5431, allocations: 1.049 MB / 0.612 GB, free: 9.672 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004439/0.5436, allocations: 368.9 kB / 0.6124 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006654/0.5443, allocations: 459.2 kB / 0.6128 GB, free: 8.855 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5444, allocations: 301.2 kB / 0.6131 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.5455, allocations: 0.6325 MB / 0.6137 GB, free: 7.926 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.5472, allocations: 1.357 MB / 0.6151 GB, free: 6.219 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003356/0.5505, allocations: 2.198 MB / 0.6172 GB, free: 3.672 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.5505, allocations: 8 kB / 0.6172 GB, free: 3.664 MB / 462.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008184/0.5587, allocations: 2.796 MB / 0.6199 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/0.5588, allocations: 16 kB / 0.62 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/0.5588, allocations: 27.94 kB / 0.62 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00639/0.5652, allocations: 1.203 MB / 0.6212 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003452/0.5686, allocations: 0.7452 MB / 0.6219 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006693/0.5753, allocations: 3.669 MB / 0.6255 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.5769, allocations: 80.09 kB / 0.6255 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004682/0.5773, allocations: 267.9 kB / 0.6258 GB, free: 10.68 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.001111/0.5784, allocations: 0.5478 MB / 0.6263 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005041/0.579, allocations: 143.2 kB / 0.6265 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/0.591, allocations: 3.07 MB / 0.6295 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/0.591, allocations: 12 kB / 0.6295 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.591, allocations: 0 / 0.6295 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.336e-05/0.5911, allocations: 7.969 kB / 0.6295 GB, free: 6.867 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/0.6057, allocations: 4.502 MB / 0.6339 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.6057, allocations: 0 / 0.6339 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002703/0.6084, allocations: 495.7 kB / 0.6344 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006904/0.6153, allocations: 1.165 MB / 0.6355 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.6155, allocations: 63.91 kB / 0.6356 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01548/0.631, allocations: 7.024 MB / 0.6424 GB, free: 9.266 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.002047/0.633, allocations: 0.7383 MB / 0.6431 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/0.645, allocations: 3.126 MB / 0.6462 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/0.6453, allocations: 127 kB / 0.6463 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/0.6457, allocations: 20 kB / 0.6463 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009272/0.6466, allocations: 43.92 kB / 0.6464 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/0.6469, allocations: 120.6 kB / 0.6465 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/0.6471, allocations: 95.97 kB / 0.6466 GB, free: 4.934 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001275/0.6484, allocations: 0.7901 MB / 0.6473 GB, free: 4.141 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6484, allocations: 0 / 0.6473 GB, free: 4.141 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001981/0.6504, allocations: 0.4918 MB / 0.6478 GB, free: 3.648 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.01264/0.663, allocations: 3.94 MB / 0.6517 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005379/0.6684, allocations: 1.887 MB / 0.6535 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.6684, allocations: 4 kB / 0.6535 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003363/0.6717, allocations: 1.104 MB / 0.6546 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.6734, allocations: 300.7 kB / 0.6549 GB, free: 12.34 MB / 0.4981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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.0804107738658786] Failed to read output from testmodel.py, exit status != 0: 0.6824425207450986 0.699919226 0.238779769 Calling exit ...