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.001256/0.001256, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001402/0.001402, allocations: 212.4 kB / 22.24 MB, free: 5.242 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 7.797 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.1377/0.1377, allocations: 23.99 MB / 336.4 MB, free: 10.85 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.Processes.Tests.Diffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Processes.Tests.Diffusion") translateModel(Chemical.Processes.Tests.Diffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Processes.Tests.Diffusion") [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.002018/0.002018, allocations: 71.84 kB / 471.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3369, allocations: 59.89 MB / 0.5192 GB, free: 9.695 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.Processes.Tests.Diffusion): time 0.1076/0.4445, allocations: 55.44 MB / 0.5734 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04081/0.4853, allocations: 15.97 MB / 0.5889 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.013/0.4983, allocations: 179.1 kB / 0.5891 GB, free: 2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01022/0.5086, allocations: 2.462 MB / 0.5915 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01561/0.5242, allocations: 3.637 MB / 0.5951 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009935/0.5341, allocations: 2.972 MB / 0.598 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01939/0.5535, allocations: 10.99 MB / 0.6087 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005794/0.5593, allocations: 2.378 MB / 0.611 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009134/0.5684, allocations: 4.625 MB / 0.6155 GB, free: 6.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01084/0.5793, allocations: 5.465 MB / 0.6209 GB, free: 1.242 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004487/0.5837, allocations: 1.168 MB / 0.622 GB, free: 76 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007848/0.5916, allocations: 2.213 MB / 0.6242 GB, free: 13.86 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00447/0.5961, allocations: 3.266 MB / 0.6274 GB, free: 10.58 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008703/0.6048, allocations: 4.872 MB / 0.6321 GB, free: 5.684 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0239/0.6287, allocations: 16.52 MB / 0.6483 GB, free: 5.102 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.6287, allocations: 4 kB / 0.6483 GB, free: 5.098 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6287, allocations: 3.938 kB / 0.6483 GB, free: 5.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005335/0.6292, allocations: 0 / 0.6483 GB, free: 5.094 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3621 * Number of variables: 3621 Notification: Performance of Generate backend data structure: time 0.02653/0.6557, allocations: 12.53 MB / 0.6605 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.6558, allocations: 12.03 kB / 0.6605 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009129/0.6649, allocations: 2.646 MB / 0.6631 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/0.6755, allocations: 4.426 MB / 0.6674 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001553/0.6771, allocations: 1.513 MB / 0.6689 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002954/0.68, allocations: 1.152 MB / 0.67 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06331/0.7433, allocations: 40.97 MB / 0.71 GB, free: 5.398 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003413/0.7437, allocations: 4 kB / 0.71 GB, free: 5.395 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002257/0.7459, allocations: 471.9 kB / 0.7105 GB, free: 4.934 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002065/0.748, allocations: 1.769 MB / 0.7122 GB, free: 3.152 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5016/1.25, allocations: 73.61 MB / 0.7841 GB, free: 138.8 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.09548/1.345, allocations: 58.05 MB / 0.8408 GB, free: 82.13 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008188/1.353, allocations: 4.834 MB / 0.8455 GB, free: 77.27 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005007/1.358, allocations: 3.105 MB / 0.8485 GB, free: 74.17 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02851/1.387, allocations: 17.48 MB / 0.8656 GB, free: 56.84 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/1.387, allocations: 82.12 kB / 0.8657 GB, free: 56.75 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=398): time 7.283e-06/1.387, allocations: 2.625 kB / 0.8657 GB, free: 56.75 MB / 0.5607 GB Notification: Performance of matching and sorting (n=486): time 0.08742/1.474, allocations: 35.16 MB / 0.9 GB, free: 22.06 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.001399/1.476, allocations: 1.863 MB / 0.9019 GB, free: 20.09 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004691/1.48, allocations: 4.768 MB / 0.9065 GB, free: 15.45 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001073/1.481, allocations: 105.7 kB / 0.9066 GB, free: 15.34 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002426/1.484, allocations: 6.262 MB / 0.9127 GB, free: 9.156 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00174/1.486, allocations: 1.759 MB / 0.9144 GB, free: 7.383 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002112/1.488, allocations: 1.867 MB / 0.9163 GB, free: 5.508 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.494e-05/1.488, allocations: 309.1 kB / 0.9166 GB, free: 5.203 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004662/1.492, allocations: 2.871 MB / 0.9194 GB, free: 2.34 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007186/1.5, allocations: 5.648 MB / 0.9249 GB, free: 11.4 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01645/1.516, allocations: 9.376 MB / 0.934 GB, free: 0.8555 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/1.516, allocations: 30.66 kB / 0.9341 GB, free: 0.8281 MB / 0.5763 GB Notification: Performance of matching and sorting (n=912) (initialization): time 0.03318/1.549, allocations: 11.27 MB / 0.9451 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.53e-05/1.549, allocations: 44 kB / 0.9451 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/1.55, allocations: 92 kB / 0.9452 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006586/1.556, allocations: 2.062 MB / 0.9472 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01772/1.574, allocations: 3.351 MB / 0.9505 GB, free: 80 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.275/1.849, allocations: 28.2 MB / 0.978 GB, free: 178.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007131/1.856, allocations: 391.8 kB / 0.9784 GB, free: 178.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002319/1.858, allocations: 1.103 MB / 0.9795 GB, free: 178.7 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * 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 (856): * Single equations (assignments): 836 * 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.007474/1.866, allocations: 2.813 MB / 0.9822 GB, free: 178.6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002049/1.868, allocations: 0.6133 MB / 0.9828 GB, free: 178.6 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03305/1.901, allocations: 11.66 MB / 0.9942 GB, free: 174.9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.403e-05/1.901, allocations: 52.28 kB / 0.9943 GB, free: 174.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.411e-05/1.901, allocations: 11.69 kB / 0.9943 GB, free: 174.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001524/1.901, allocations: 25.11 kB / 0.9943 GB, free: 174.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04956/1.951, allocations: 20.36 MB / 1.014 GB, free: 165.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-05/1.951, allocations: 11.69 kB / 1.014 GB, free: 165.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01194/1.963, allocations: 2.03 MB / 1.016 GB, free: 165.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005483/1.968, allocations: 1.945 MB / 1.018 GB, free: 165.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007401/1.969, allocations: 180.1 kB / 1.018 GB, free: 165 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02757/1.996, allocations: 30.02 MB / 1.048 GB, free: 138.3 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.001476/1.998, allocations: 1.659 MB / 1.049 GB, free: 136.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02732/2.025, allocations: 10.72 MB / 1.06 GB, free: 132.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/2.027, allocations: 0.5082 MB / 1.06 GB, free: 132.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/2.028, allocations: 119.1 kB / 1.06 GB, free: 132.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00342/2.031, allocations: 248.9 kB / 1.06 GB, free: 132 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008186/2.032, allocations: 446.8 kB / 1.061 GB, free: 131.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00035/2.032, allocations: 263.9 kB / 1.061 GB, free: 131.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004157/2.037, allocations: 3.332 MB / 1.064 GB, free: 128 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/2.037, allocations: 0 / 1.064 GB, free: 128 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00896/2.046, allocations: 2.082 MB / 1.066 GB, free: 125.9 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * 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 (434): * Single equations (assignments): 414 * 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,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (1,4,100.0%), (1,4,100.0%), (1,1,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.001273/2.047, allocations: 0.517 MB / 1.067 GB, free: 125.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01826/2.065, allocations: 9.048 MB / 1.076 GB, free: 116.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-05/2.065, allocations: 4 kB / 1.076 GB, free: 116.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01125/2.076, allocations: 5.081 MB / 1.081 GB, free: 111.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006193/2.083, allocations: 1.262 MB / 1.082 GB, free: 109.9 MB / 0.6075 GB [/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 658] [Calling sys.exit(0), Time elapsed: 4.449548099189997] Failed to read output from testmodel.py, exit status != 0: 2.09193903952837 2.100083917 1.468952912 Calling exit ...