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.0007285/0.0007285, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007914/0.0007914, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.874/0.874, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.08288/0.08288, allocations: 17.45 MB / 276.6 MB, free: 11.75 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 411.6 MB, free: 244 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021e-05/1.159e-05, allocations: 2.281 kB / 411.6 MB, free: 240 kB / 378.7 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.1801/0.1801, allocations: 56.94 MB / 468.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01881/0.1989, allocations: 17.05 MB / 485.6 MB, free: 33.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003758/0.2027, allocations: 295.1 kB / 485.9 MB, free: 33.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003272/0.206, allocations: 2.594 MB / 488.5 MB, free: 32.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005453/0.2114, allocations: 4.557 MB / 493 MB, free: 29.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.2152, allocations: 3.136 MB / 496.2 MB, free: 27.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007535/0.2227, allocations: 12.25 MB / 0.4965 GB, free: 21.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001946/0.2246, allocations: 2.396 MB / 0.4988 GB, free: 20.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005796/0.2304, allocations: 7.338 MB / 0.506 GB, free: 16.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003697/0.2341, allocations: 5.169 MB / 0.5111 GB, free: 12.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007148/0.2348, allocations: 1.168 MB / 0.5122 GB, free: 11.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.2381, allocations: 2.496 MB / 0.5146 GB, free: 8.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.2394, allocations: 3.627 MB / 0.5182 GB, free: 5.723 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001983/0.2414, allocations: 4.153 MB / 0.5222 GB, free: 1.891 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.2525, allocations: 17.13 MB / 0.539 GB, free: 1.645 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2525, allocations: 0 / 0.539 GB, free: 1.645 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2525, allocations: 0 / 0.539 GB, free: 1.645 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00014/0.2526, allocations: 0 / 0.539 GB, free: 1.645 MB / 426.7 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.01027/0.2629, allocations: 12.75 MB / 0.5514 GB, free: 4.781 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2629, allocations: 12.03 kB / 0.5514 GB, free: 4.77 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001234/0.2642, allocations: 1.73 MB / 0.5531 GB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003702/0.2679, allocations: 2.763 MB / 0.5558 GB, free: 268 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005802/0.2737, allocations: 6.396 MB / 0.5621 GB, free: 9.754 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006826/0.2744, allocations: 1.517 MB / 0.5635 GB, free: 8.102 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008846/0.2752, allocations: 1.164 MB / 0.5647 GB, free: 6.938 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02802/0.3033, allocations: 40.96 MB / 0.6047 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001238/0.3034, allocations: 4 kB / 0.6047 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005692/0.304, allocations: 475.9 kB / 0.6051 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001064/0.305, allocations: 1.777 MB / 0.6069 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3059/0.6109, allocations: 73.6 MB / 0.6787 GB, free: 139.6 MB / 0.5105 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.04643/0.6574, allocations: 61.05 MB / 0.7384 GB, free: 87.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004592/0.662, allocations: 4.822 MB / 0.7431 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002696/0.6647, allocations: 3.113 MB / 0.7461 GB, free: 79.63 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01673/0.6814, allocations: 17.66 MB / 0.7634 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.6814, allocations: 86.11 kB / 0.7634 GB, free: 62.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=398): time 4.999e-06/0.6814, allocations: 0 / 0.7634 GB, free: 62.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=486): time 0.04619/0.7276, allocations: 34.79 MB / 0.7974 GB, free: 28.03 MB / 0.5105 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.0007551/0.7284, allocations: 1.866 MB / 0.7992 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004057/0.7324, allocations: 5.809 MB / 0.8049 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004489/0.7329, allocations: 109.7 kB / 0.805 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.7345, allocations: 6.25 MB / 0.8111 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000835/0.7353, allocations: 1.735 MB / 0.8128 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00149/0.7368, allocations: 1.859 MB / 0.8146 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.242e-05/0.7368, allocations: 310.1 kB / 0.8149 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003019/0.7398, allocations: 2.866 MB / 0.8177 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003614/0.7434, allocations: 5.65 MB / 0.8232 GB, free: 388 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008725/0.7522, allocations: 9.382 MB / 0.8324 GB, free: 5.832 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.542e-05/0.7522, allocations: 24 kB / 0.8324 GB, free: 5.809 MB / 0.5262 GB Notification: Performance of matching and sorting (n=912) (initialization): time 0.1717/0.9239, allocations: 11.4 MB / 0.8436 GB, free: 151.4 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.924, allocations: 42.56 kB / 0.8436 GB, free: 151.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.188e-05/0.924, allocations: 93 kB / 0.8437 GB, free: 151.4 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003202/0.9272, allocations: 2.075 MB / 0.8457 GB, free: 151.3 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007768/0.935, allocations: 3.353 MB / 0.849 GB, free: 151.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/0.9486, allocations: 28.55 MB / 0.8769 GB, free: 126.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003761/0.9524, allocations: 390.1 kB / 0.8772 GB, free: 126.7 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008289/0.9532, allocations: 1.102 MB / 0.8783 GB, free: 126.6 MB / 0.5262 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.004305/0.9575, allocations: 2.83 MB / 0.8811 GB, free: 125 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/0.9589, allocations: 0.7457 MB / 0.8818 GB, free: 125 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/0.9765, allocations: 11.73 MB / 0.8933 GB, free: 120.9 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.13e-05/0.9765, allocations: 46.66 kB / 0.8933 GB, free: 120.9 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/0.9765, allocations: 10.53 kB / 0.8933 GB, free: 120.9 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.613e-05/0.9765, allocations: 28.7 kB / 0.8933 GB, free: 120.9 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03063/1.007, allocations: 22.52 MB / 0.9153 GB, free: 110.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/1.007, allocations: 15.19 kB / 0.9153 GB, free: 110.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005883/1.013, allocations: 2.027 MB / 0.9173 GB, free: 110.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002914/1.016, allocations: 1.972 MB / 0.9193 GB, free: 110.2 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002516/1.016, allocations: 176.8 kB / 0.9194 GB, free: 110.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/1.032, allocations: 30.35 MB / 0.9491 GB, free: 82.98 MB / 0.5262 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.0006663/1.032, allocations: 1.652 MB / 0.9507 GB, free: 81.53 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/1.047, allocations: 10.86 MB / 0.9613 GB, free: 72.53 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/1.048, allocations: 0.6499 MB / 0.9619 GB, free: 71.98 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006092/1.049, allocations: 119.8 kB / 0.962 GB, free: 71.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/1.051, allocations: 243.8 kB / 0.9623 GB, free: 71.62 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006007/1.051, allocations: 438.9 kB / 0.9627 GB, free: 71.19 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/1.052, allocations: 267.9 kB / 0.9629 GB, free: 70.93 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.003522/1.055, allocations: 4.144 MB / 0.967 GB, free: 66.82 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2e-07/1.055, allocations: 4 kB / 0.967 GB, free: 66.81 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.005972/1.061, allocations: 2.236 MB / 0.9692 GB, free: 64.6 MB / 0.5262 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.01455/1.076, allocations: 11.85 MB / 0.9807 GB, free: 52.57 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01048/1.086, allocations: 9.037 MB / 0.9896 GB, free: 43.35 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.086, allocations: 7.938 kB / 0.9896 GB, free: 43.34 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.005794/1.092, allocations: 5.064 MB / 0.9945 GB, free: 38.07 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00444/1.096, allocations: 1.652 MB / 0.9961 GB, free: 36.48 MB / 0.5262 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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: 2.710380867123604] Failed to read output from testmodel.py, exit status != 0: 1.1007922990247607 1.107365967 0.853582241 Calling exit ...