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.001216/0.001216, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001502/0.001502, allocations: 215.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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.781 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.1416/0.1416, allocations: 23.92 MB / 336.3 MB, free: 10.92 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.001939/0.001939, allocations: 63.91 kB / 471.2 MB, free: 7.477 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3181, allocations: 59.88 MB / 0.5186 GB, free: 9.211 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1350:7-1350: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:1350:7-1350: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.07288/0.391, allocations: 27.94 MB / 0.5459 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.4058, allocations: 7.835 MB / 0.5535 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002003/0.4078, allocations: 35.81 kB / 0.5536 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.4111, allocations: 0.7735 MB / 0.5543 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003212/0.4143, allocations: 0.8175 MB / 0.5551 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003254/0.4175, allocations: 0.9057 MB / 0.556 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003791/0.4213, allocations: 1.889 MB / 0.5578 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005168/0.4218, allocations: 222.6 kB / 0.5581 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.423, allocations: 0.632 MB / 0.5587 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.4245, allocations: 0.8772 MB / 0.5595 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002633/0.4248, allocations: 132 kB / 0.5597 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.4277, allocations: 0.9521 MB / 0.5606 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004911/0.4282, allocations: 435.3 kB / 0.561 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007619/0.429, allocations: 0.6511 MB / 0.5616 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0055/0.4345, allocations: 3.036 MB / 0.5646 GB, free: 10.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.4345, allocations: 0 / 0.5646 GB, free: 10.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4345, allocations: 0 / 0.5646 GB, free: 10.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.652e-05/0.4345, allocations: 4 kB / 0.5646 GB, free: 10.57 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: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.004065/0.4386, allocations: 2.095 MB / 0.5667 GB, free: 8.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.4386, allocations: 8.031 kB / 0.5667 GB, free: 8.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003122/0.439, allocations: 249.8 kB / 0.5669 GB, free: 8.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/0.4398, allocations: 355.3 kB / 0.5672 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.4411, allocations: 0.7457 MB / 0.568 GB, free: 7.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/0.4413, allocations: 230.2 kB / 0.5682 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.4415, allocations: 152.3 kB / 0.5683 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00731/0.4488, allocations: 5.954 MB / 0.5741 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.4489, allocations: 0 / 0.5741 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.449, allocations: 59.98 kB / 0.5742 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003123/0.4493, allocations: 255.4 kB / 0.5744 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/0.4622, allocations: 11.61 MB / 0.5858 GB, free: 4.762 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.0151/0.4773, allocations: 8.729 MB / 0.5943 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.4789, allocations: 0.8326 MB / 0.5951 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007835/0.4797, allocations: 0.5309 MB / 0.5956 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006933/0.4867, allocations: 3.411 MB / 0.599 GB, free: 7.121 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/0.4867, allocations: 47.2 kB / 0.599 GB, free: 7.062 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 2.795e-06/0.4867, allocations: 0 / 0.599 GB, free: 7.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.03035/0.5171, allocations: 7.545 MB / 0.6064 GB, free: 15.41 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.006202/0.5233, allocations: 1.789 MB / 0.6081 GB, free: 13.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.525, allocations: 1.174 MB / 0.6093 GB, free: 12.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002381/0.5253, allocations: 41.7 kB / 0.6093 GB, free: 12.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009029/0.5262, allocations: 1.033 MB / 0.6103 GB, free: 11.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004577/0.5266, allocations: 365 kB / 0.6107 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006781/0.5273, allocations: 443.3 kB / 0.6111 GB, free: 10.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5274, allocations: 301.1 kB / 0.6114 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.5285, allocations: 0.613 MB / 0.612 GB, free: 9.586 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.5302, allocations: 1.341 MB / 0.6133 GB, free: 7.898 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003214/0.5334, allocations: 2.159 MB / 0.6154 GB, free: 5.391 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.5334, allocations: 8 kB / 0.6154 GB, free: 5.383 MB / 462.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.01022/0.5437, allocations: 3.04 MB / 0.6184 GB, free: 2.324 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.5437, allocations: 19.94 kB / 0.6184 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.483e-05/0.5437, allocations: 31.98 kB / 0.6184 GB, free: 2.273 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006089/0.5498, allocations: 1.201 MB / 0.6196 GB, free: 1.062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/0.5524, allocations: 0.5343 MB / 0.6201 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005985/0.5583, allocations: 3.668 MB / 0.6237 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.5598, allocations: 63.98 kB / 0.6238 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004085/0.5602, allocations: 255.9 kB / 0.624 GB, free: 12.38 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 (184): * Single equations (assignments): 181 * 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.001165/0.5614, allocations: 0.5439 MB / 0.6245 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003785/0.5617, allocations: 135.1 kB / 0.6247 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009675/0.5714, allocations: 2.832 MB / 0.6274 GB, free: 8.848 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.5714, allocations: 12 kB / 0.6274 GB, free: 8.836 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.5714, allocations: 0 / 0.6274 GB, free: 8.836 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/0.5715, allocations: 11.92 kB / 0.6275 GB, free: 8.824 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.5744, allocations: 1.684 MB / 0.6291 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.5744, allocations: 4 kB / 0.6291 GB, free: 7.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.576, allocations: 263.8 kB / 0.6294 GB, free: 6.812 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008968/0.585, allocations: 1.782 MB / 0.6311 GB, free: 5.027 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002255/0.5852, allocations: 47.97 kB / 0.6311 GB, free: 4.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009497/0.5947, allocations: 4.614 MB / 0.6357 GB, free: 240 kB / 478.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.005938/0.6007, allocations: 1.696 MB / 0.6373 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009211/0.6099, allocations: 2.827 MB / 0.6401 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003963/0.6103, allocations: 127 kB / 0.6402 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/0.6105, allocations: 23.95 kB / 0.6402 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007218/0.6112, allocations: 27.98 kB / 0.6402 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.6115, allocations: 104.7 kB / 0.6403 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.6116, allocations: 87.97 kB / 0.6404 GB, free: 11.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001165/0.6128, allocations: 0.7899 MB / 0.6412 GB, free: 10.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6128, allocations: 0 / 0.6412 GB, free: 10.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001973/0.6148, allocations: 463.6 kB / 0.6416 GB, free: 10.03 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 (69): * Single equations (assignments): 67 * 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 {(4,14,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01035/0.6251, allocations: 3.623 MB / 0.6452 GB, free: 6.352 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004912/0.63, allocations: 1.797 MB / 0.6469 GB, free: 4.551 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.63, allocations: 0 / 0.6469 GB, free: 4.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003034/0.6331, allocations: 0.9011 MB / 0.6478 GB, free: 3.633 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.6346, allocations: 298.1 kB / 0.6481 GB, free: 3.352 MB / 494.1 MB [/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.0680561579938512] Failed to read output from testmodel.py, exit status != 0: 0.6434400309808552 0.659371169 0.221468406 Calling exit ...