Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Processes.Tests.Diffusion.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.00166/0.00166, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.002069/0.002069, allocations: 212 kB / 22.25 MB, free: 5.121 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: 230.6 MB / 256 MB, free: 8.031 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.152/0.152, allocations: 23.89 MB / 336.3 MB, free: 11.18 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.Processes.Tests.Diffusion,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_Diffusion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_Diffusion",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.002047/0.002047, allocations: 71.91 kB / 471.2 MB, free: 7.668 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3934, allocations: 59.87 MB / 0.5187 GB, free: 9.594 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.Processes.Tests.Diffusion): time 0.08391/0.4773, allocations: 61.6 MB / 0.5788 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04318/0.5205, allocations: 16.93 MB / 0.5953 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01415/0.5346, allocations: 179.1 kB / 0.5955 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01063/0.5453, allocations: 2.533 MB / 0.598 GB, free: 8.766 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01789/0.5631, allocations: 3.564 MB / 0.6015 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0107/0.5738, allocations: 2.883 MB / 0.6043 GB, free: 2.285 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02275/0.5966, allocations: 10.78 MB / 0.6148 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005323/0.6019, allocations: 2.399 MB / 0.6171 GB, free: 4.961 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01019/0.6121, allocations: 4.551 MB / 0.6216 GB, free: 404 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01191/0.624, allocations: 6.094 MB / 0.6275 GB, free: 10.28 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00517/0.6292, allocations: 1.148 MB / 0.6287 GB, free: 9.129 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/0.6393, allocations: 2.752 MB / 0.6314 GB, free: 6.375 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005595/0.6449, allocations: 3.231 MB / 0.6345 GB, free: 3.133 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01338/0.6583, allocations: 6.345 MB / 0.6407 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03265/0.6909, allocations: 16.33 MB / 0.6566 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.6909, allocations: 0 / 0.6566 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6909, allocations: 0 / 0.6566 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007264/0.6917, allocations: 0 / 0.6566 GB, free: 12.36 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3564 * Number of variables: 3564 Notification: Performance of Generate backend data structure: time 0.03363/0.7253, allocations: 12.38 MB / 0.6687 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.7254, allocations: 8.031 kB / 0.6688 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005401/0.7308, allocations: 1.709 MB / 0.6704 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007141/0.7379, allocations: 2.174 MB / 0.6725 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/0.749, allocations: 4.348 MB / 0.6768 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001887/0.7509, allocations: 1.496 MB / 0.6783 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003572/0.7545, allocations: 1.133 MB / 0.6794 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06704/0.8215, allocations: 39.4 MB / 0.7178 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004227/0.8219, allocations: 7.938 kB / 0.7178 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002776/0.8247, allocations: 463.9 kB / 0.7183 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002258/0.827, allocations: 1.765 MB / 0.72 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.611/1.438, allocations: 69.48 MB / 0.7879 GB, free: 136.1 MB / 0.5607 GB 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.08922/1.527, allocations: 63.96 MB / 0.8503 GB, free: 72.86 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009161/1.536, allocations: 4.737 MB / 0.8549 GB, free: 68.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004849/1.541, allocations: 2.877 MB / 0.8578 GB, free: 65.22 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03781/1.579, allocations: 17.92 MB / 0.8753 GB, free: 47.49 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/1.579, allocations: 82.12 kB / 0.8753 GB, free: 47.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=392): time 6.311e-06/1.579, allocations: 0 / 0.8753 GB, free: 47.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=485): time 0.1036/1.683, allocations: 34.72 MB / 0.9092 GB, free: 13.15 MB / 0.5607 GB 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! 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! 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.001642/1.684, allocations: 1.881 MB / 0.9111 GB, free: 11.16 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008902/1.693, allocations: 5.593 MB / 0.9165 GB, free: 5.637 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001324/1.695, allocations: 112.4 kB / 0.9167 GB, free: 5.523 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003585/1.698, allocations: 6.142 MB / 0.9227 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00307/1.701, allocations: 1.753 MB / 0.9244 GB, free: 13.68 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005147/1.706, allocations: 1.815 MB / 0.9261 GB, free: 11.86 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.707, allocations: 305.1 kB / 0.9264 GB, free: 11.56 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006282/1.713, allocations: 2.677 MB / 0.929 GB, free: 8.879 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009016/1.722, allocations: 5.358 MB / 0.9343 GB, free: 2.352 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0166/1.738, allocations: 8.924 MB / 0.943 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001276/1.739, allocations: 24 kB / 0.943 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.03489/1.773, allocations: 10.92 MB / 0.9537 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/1.774, allocations: 44 kB / 0.9537 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001757/1.774, allocations: 90.66 kB / 0.9538 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007154/1.781, allocations: 2.08 MB / 0.9558 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01456/1.795, allocations: 2.64 MB / 0.9584 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3336/2.129, allocations: 28.84 MB / 0.9866 GB, free: 175.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006517/2.136, allocations: 280.3 kB / 0.9868 GB, free: 175.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002795/2.138, allocations: 1.065 MB / 0.9879 GB, free: 175.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 406 * Number of states: 0 () * Number of discrete variables: 12 (s5.substanceDefinitionVar.SelfClustering,s5.substanceDefinitionVar.data.phase,solvent.substanceDefinitionVar.SelfClustering,solvent.substanceDefinitionVar.data.phase,s4.substanceDefinitionVar.SelfClustering,s4.substanceDefinitionVar.data.phase,s3.substanceDefinitionVar.SelfClustering,s3.substanceDefinitionVar.data.phase,s1.substanceDefinitionVar.SelfClustering,s1.substanceDefinitionVar.data.phase,s2.substanceDefinitionVar.SelfClustering,s2.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (838): * Single equations (assignments): 818 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 14 systems {(2,2,100.0%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (2,1,100.0%), (2,2,100.0%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,6), (2,2), (1,2), (2,1), (1,6), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00891/2.147, allocations: 2.8 MB / 0.9906 GB, free: 174.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002835/2.15, allocations: 0.695 MB / 0.9913 GB, free: 174.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03591/2.186, allocations: 11.31 MB / 1.002 GB, free: 170.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.204e-05/2.186, allocations: 47.02 kB / 1.002 GB, free: 170.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.119e-05/2.186, allocations: 7.906 kB / 1.002 GB, free: 170.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001739/2.186, allocations: 23.36 kB / 1.002 GB, free: 170.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05863/2.245, allocations: 22.91 MB / 1.025 GB, free: 160.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.35e-05/2.245, allocations: 15.56 kB / 1.025 GB, free: 160.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008977/2.254, allocations: 1.353 MB / 1.026 GB, free: 160.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005917/2.26, allocations: 1.991 MB / 1.028 GB, free: 159.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009319/2.261, allocations: 174.7 kB / 1.028 GB, free: 159.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02852/2.29, allocations: 30.62 MB / 1.058 GB, free: 132.2 MB / 0.6075 GB 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! 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! 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.001344/2.291, allocations: 1.653 MB / 1.06 GB, free: 130.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02541/2.316, allocations: 10.1 MB / 1.07 GB, free: 124.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/2.318, allocations: 0.6581 MB / 1.07 GB, free: 124.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001765/2.32, allocations: 121 kB / 1.07 GB, free: 124.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004008/2.324, allocations: 127.9 kB / 1.07 GB, free: 124.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009965/2.325, allocations: 446.8 kB / 1.071 GB, free: 123.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003829/2.325, allocations: 251.9 kB / 1.071 GB, free: 123.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.005671/2.331, allocations: 4.107 MB / 1.075 GB, free: 119.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/2.331, allocations: 0 / 1.075 GB, free: 119.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00961/2.341, allocations: 2.099 MB / 1.077 GB, free: 117.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 19 (s2.logm,p2.logm,d2.rear.n_flow,s1.logm,p1.logm,d1.rear.n_flow,$STATESET3.x,s3.logm,p3.logm,d3.rear.n_flow,$STATESET2.x,s4.logm,p4.logm,d4.rear.n_flow,solvent.logm,$STATESET1.x,s5.logm,p5.logm,d5.rear.n_flow) * 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 (433): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 14 systems {(1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (2,2,100.0%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (2,1,100.0%), (2,2,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,5), (3,4), (1,2), (3,3), (1,5), (3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02604/2.367, allocations: 11.1 MB / 1.088 GB, free: 106.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01636/2.383, allocations: 8.473 MB / 1.096 GB, free: 97.45 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/2.383, allocations: 0 / 1.096 GB, free: 97.45 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01005/2.393, allocations: 4.847 MB / 1.101 GB, free: 92.38 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008688/2.402, allocations: 1.583 MB / 1.103 GB, free: 90.88 MB / 0.6075 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.975254648830742] Failed to read output from testmodel.py, exit status != 0: 2.4113913071341813 2.420812059 1.727214859 Calling exit ...