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.001331/0.001331, 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.001584/0.001584, allocations: 210.5 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.789 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.1391/0.1391, allocations: 23.99 MB / 336.4 MB, free: 10.84 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.002168/0.002168, allocations: 67.91 kB / 471.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3508, allocations: 59.9 MB / 0.5187 GB, free: 9.52 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.1044/0.4552, allocations: 55.45 MB / 0.5729 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04003/0.4953, allocations: 15.96 MB / 0.5885 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009969/0.5052, allocations: 179.1 kB / 0.5886 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008557/0.5138, allocations: 2.466 MB / 0.591 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01623/0.53, allocations: 3.645 MB / 0.5946 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01035/0.5404, allocations: 2.969 MB / 0.5975 GB, free: 8.914 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01979/0.5602, allocations: 10.97 MB / 0.6082 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006084/0.5663, allocations: 2.382 MB / 0.6105 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009368/0.5756, allocations: 4.625 MB / 0.6151 GB, free: 6.777 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/0.5857, allocations: 5.461 MB / 0.6204 GB, free: 1.293 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004012/0.5897, allocations: 1.168 MB / 0.6215 GB, free: 128 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007471/0.5972, allocations: 2.213 MB / 0.6237 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004809/0.602, allocations: 3.266 MB / 0.6269 GB, free: 10.63 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01073/0.6127, allocations: 4.876 MB / 0.6316 GB, free: 5.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02801/0.6408, allocations: 16.52 MB / 0.6478 GB, free: 5.148 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.6408, allocations: 0 / 0.6478 GB, free: 5.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6408, allocations: 0 / 0.6478 GB, free: 5.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006806/0.6414, allocations: 0 / 0.6478 GB, free: 5.148 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.03328/0.6747, allocations: 12.54 MB / 0.66 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.644e-05/0.6748, allocations: 12.03 kB / 0.66 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005376/0.6802, allocations: 1.734 MB / 0.6617 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.6904, allocations: 2.654 MB / 0.6643 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/0.701, allocations: 4.414 MB / 0.6686 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002152/0.7031, allocations: 1.516 MB / 0.6701 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003393/0.7065, allocations: 1.156 MB / 0.6712 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06127/0.7678, allocations: 40.97 MB / 0.7112 GB, free: 3.703 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002106/0.768, allocations: 11.92 kB / 0.7113 GB, free: 3.691 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001278/0.7693, allocations: 471.9 kB / 0.7117 GB, free: 3.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001936/0.7712, allocations: 1.769 MB / 0.7134 GB, free: 1.449 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3294/1.101, allocations: 73.6 MB / 0.7853 GB, free: 140 MB / 0.5606 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.08442/1.185, allocations: 60.89 MB / 0.8448 GB, free: 80.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008752/1.194, allocations: 4.832 MB / 0.8495 GB, free: 75.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005422/1.199, allocations: 3.102 MB / 0.8525 GB, free: 72.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02992/1.229, allocations: 17.65 MB / 0.8698 GB, free: 54.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/1.229, allocations: 82.12 kB / 0.8698 GB, free: 54.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=398): time 6.693e-06/1.229, allocations: 0 / 0.8698 GB, free: 54.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=486): time 0.0936/1.323, allocations: 35.25 MB / 0.9043 GB, free: 19.08 MB / 0.5606 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.00149/1.324, allocations: 1.873 MB / 0.9061 GB, free: 17.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006617/1.331, allocations: 5.816 MB / 0.9118 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001156/1.332, allocations: 105.7 kB / 0.9119 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003034/1.335, allocations: 6.246 MB / 0.918 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00253/1.338, allocations: 1.762 MB / 0.9197 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002541/1.34, allocations: 1.873 MB / 0.9215 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.117e-05/1.34, allocations: 301.1 kB / 0.9218 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005557/1.346, allocations: 2.865 MB / 0.9246 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008628/1.354, allocations: 5.658 MB / 0.9301 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01669/1.371, allocations: 9.374 MB / 0.9393 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.061e-05/1.371, allocations: 28 kB / 0.9393 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=912) (initialization): time 0.03349/1.405, allocations: 11.35 MB / 0.9504 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-05/1.405, allocations: 46.69 kB / 0.9504 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/1.405, allocations: 95.98 kB / 0.9505 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006704/1.412, allocations: 2.062 MB / 0.9525 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01806/1.43, allocations: 3.349 MB / 0.9558 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2618/1.691, allocations: 28.56 MB / 0.9837 GB, free: 177.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0069/1.698, allocations: 391.9 kB / 0.9841 GB, free: 177.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00242/1.701, allocations: 1.106 MB / 0.9852 GB, free: 177.6 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.006762/1.707, allocations: 2.815 MB / 0.9879 GB, free: 177.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001916/1.709, allocations: 0.7035 MB / 0.9886 GB, free: 177.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03413/1.744, allocations: 11.73 MB / 1 GB, free: 173.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.664e-05/1.744, allocations: 46.88 kB / 1 GB, free: 173.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.143e-05/1.744, allocations: 8.125 kB / 1 GB, free: 173.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001346/1.744, allocations: 25.11 kB / 1 GB, free: 173.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05613/1.8, allocations: 22.53 MB / 1.022 GB, free: 163.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.936e-05/1.8, allocations: 16.56 kB / 1.022 GB, free: 163.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01305/1.813, allocations: 2.03 MB / 1.024 GB, free: 163.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006155/1.819, allocations: 1.953 MB / 1.026 GB, free: 162.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00102/1.82, allocations: 178.3 kB / 1.026 GB, free: 162.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02854/1.849, allocations: 30.39 MB / 1.056 GB, free: 135.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.001443/1.85, allocations: 1.652 MB / 1.057 GB, free: 133.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0295/1.88, allocations: 10.83 MB / 1.068 GB, free: 127.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002064/1.882, allocations: 0.653 MB / 1.069 GB, free: 127.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002102/1.884, allocations: 124.2 kB / 1.069 GB, free: 127 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004689/1.889, allocations: 234.8 kB / 1.069 GB, free: 126.8 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001017/1.89, allocations: 446.9 kB / 1.069 GB, free: 126.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003944/1.89, allocations: 269 kB / 1.07 GB, free: 126.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.006487/1.896, allocations: 4.148 MB / 1.074 GB, free: 122 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.61e-07/1.896, allocations: 0 / 1.074 GB, free: 122 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01081/1.907, allocations: 2.102 MB / 1.076 GB, free: 119.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.02961/1.937, allocations: 11.81 MB / 1.087 GB, free: 108 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01832/1.955, allocations: 9.043 MB / 1.096 GB, free: 98.78 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-05/1.955, allocations: 4 kB / 1.096 GB, free: 98.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01146/1.967, allocations: 5.075 MB / 1.101 GB, free: 93.49 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007654/1.974, allocations: 1.574 MB / 1.103 GB, free: 91.98 MB / 0.6075 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 658] [Calling sys.exit(0), Time elapsed: 4.479637632146478] Failed to read output from testmodel.py, exit status != 0: 1.9823375139385462 1.992352327 1.3487974679999999 Calling exit ...