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.0007093/0.0007093, 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.0007142/0.0007142, allocations: 165.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.8668/0.8668, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.08262/0.08262, allocations: 17.45 MB / 276.6 MB, free: 11.77 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.493e-06/1.493e-06, allocations: 0 / 411.6 MB, free: 256 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.977e-05, allocations: 6.219 kB / 411.6 MB, free: 248 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.1979/0.1979, allocations: 56.94 MB / 468.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02222/0.2201, allocations: 17.06 MB / 485.6 MB, free: 33.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006688/0.2268, allocations: 294.9 kB / 485.9 MB, free: 33.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004014/0.2308, allocations: 2.585 MB / 488.5 MB, free: 32.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006972/0.2378, allocations: 4.557 MB / 493 MB, free: 29.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005039/0.2429, allocations: 3.138 MB / 496.2 MB, free: 28.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.009044/0.2519, allocations: 12.24 MB / 0.4965 GB, free: 21.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.2538, allocations: 2.397 MB / 0.4988 GB, free: 20.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006687/0.2605, allocations: 7.346 MB / 0.506 GB, free: 16.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004524/0.265, allocations: 5.17 MB / 0.5111 GB, free: 12.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008478/0.2659, allocations: 1.172 MB / 0.5122 GB, free: 11.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004029/0.2699, allocations: 2.489 MB / 0.5146 GB, free: 8.852 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001481/0.2714, allocations: 3.63 MB / 0.5182 GB, free: 5.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00231/0.2737, allocations: 4.151 MB / 0.5222 GB, free: 1.922 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.2853, allocations: 17.13 MB / 0.539 GB, free: 1.656 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2853, allocations: 0 / 0.539 GB, free: 1.656 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2853, allocations: 0 / 0.539 GB, free: 1.656 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002224/0.2856, allocations: 0 / 0.539 GB, free: 1.656 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.01197/0.2975, allocations: 12.75 MB / 0.5514 GB, free: 4.789 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.2976, allocations: 12.03 kB / 0.5514 GB, free: 4.777 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001274/0.2989, allocations: 1.726 MB / 0.5531 GB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003883/0.3028, allocations: 2.763 MB / 0.5558 GB, free: 280 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006291/0.309, allocations: 6.4 MB / 0.5621 GB, free: 9.762 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007718/0.3098, allocations: 1.513 MB / 0.5635 GB, free: 8.113 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009548/0.3108, allocations: 1.164 MB / 0.5647 GB, free: 6.949 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03112/0.3419, allocations: 40.97 MB / 0.6047 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001286/0.342, allocations: 0 / 0.6047 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005892/0.3426, allocations: 475.9 kB / 0.6051 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001106/0.3437, allocations: 1.765 MB / 0.6069 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3373/0.681, 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.05453/0.7356, allocations: 61.06 MB / 0.7384 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005136/0.7407, allocations: 4.824 MB / 0.7431 GB, free: 82.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003303/0.744, allocations: 3.107 MB / 0.7461 GB, free: 79.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.018/0.762, allocations: 17.66 MB / 0.7633 GB, free: 62.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.762, allocations: 78.19 kB / 0.7634 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=398): time 5.34e-06/0.762, allocations: 2.656 kB / 0.7634 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=486): time 0.04997/0.812, allocations: 34.79 MB / 0.7974 GB, free: 28 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.0008832/0.8129, allocations: 1.866 MB / 0.7992 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00473/0.8176, allocations: 5.819 MB / 0.8049 GB, free: 20.33 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001147/0.8188, allocations: 112.3 kB / 0.805 GB, free: 20.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002001/0.8208, allocations: 6.245 MB / 0.8111 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/0.822, allocations: 1.734 MB / 0.8128 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001657/0.8236, allocations: 1.859 MB / 0.8146 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 1.886e-05/0.8236, allocations: 303.4 kB / 0.8149 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003105/0.8267, allocations: 2.868 MB / 0.8177 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003683/0.8304, allocations: 5.652 MB / 0.8232 GB, free: 356 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009597/0.84, allocations: 9.38 MB / 0.8324 GB, free: 5.805 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.783e-05/0.84, allocations: 24 kB / 0.8324 GB, free: 5.781 MB / 0.5262 GB Notification: Performance of matching and sorting (n=912) (initialization): time 0.1763/1.016, allocations: 11.4 MB / 0.8435 GB, free: 151.3 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/1.016, allocations: 44.69 kB / 0.8436 GB, free: 151.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.677e-05/1.016, allocations: 93.38 kB / 0.8437 GB, free: 151.3 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003158/1.02, allocations: 2.073 MB / 0.8457 GB, free: 151.1 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008045/1.028, allocations: 3.35 MB / 0.849 GB, free: 151.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/1.042, allocations: 28.55 MB / 0.8769 GB, free: 126.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004537/1.046, allocations: 385.5 kB / 0.8772 GB, free: 126.6 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008143/1.047, allocations: 1.105 MB / 0.8783 GB, free: 126.5 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.004137/1.051, allocations: 2.822 MB / 0.8811 GB, free: 125 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001219/1.052, allocations: 0.7509 MB / 0.8818 GB, free: 125 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01731/1.07, allocations: 11.73 MB / 0.8932 GB, free: 120.9 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.183e-05/1.07, allocations: 46.62 kB / 0.8933 GB, free: 120.9 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/1.07, allocations: 15.41 kB / 0.8933 GB, free: 120.9 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.628e-05/1.07, allocations: 21.89 kB / 0.8933 GB, free: 120.9 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03198/1.102, allocations: 22.53 MB / 0.9153 GB, free: 110.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/1.102, allocations: 9.75 kB / 0.9153 GB, free: 110.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005784/1.108, allocations: 2.025 MB / 0.9173 GB, free: 110.8 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003036/1.111, allocations: 1.971 MB / 0.9192 GB, free: 110.2 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003111/1.111, allocations: 182.9 kB / 0.9194 GB, free: 110.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01556/1.127, allocations: 30.35 MB / 0.9491 GB, free: 82.94 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.0007134/1.127, allocations: 1.648 MB / 0.9507 GB, free: 81.48 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/1.143, allocations: 10.86 MB / 0.9613 GB, free: 72.47 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.144, allocations: 0.6537 MB / 0.9619 GB, free: 71.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007105/1.145, allocations: 119.9 kB / 0.962 GB, free: 71.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/1.146, allocations: 239.8 kB / 0.9623 GB, free: 71.56 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000608/1.147, allocations: 446.8 kB / 0.9627 GB, free: 71.12 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002604/1.147, allocations: 267.9 kB / 0.9629 GB, free: 70.86 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.003601/1.151, allocations: 4.144 MB / 0.967 GB, free: 66.75 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.81e-07/1.151, allocations: 0 / 0.967 GB, free: 66.75 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.005579/1.157, allocations: 2.24 MB / 0.9692 GB, free: 64.53 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.01485/1.171, allocations: 11.85 MB / 0.9807 GB, free: 52.5 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01111/1.183, allocations: 9.04 MB / 0.9896 GB, free: 43.28 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/1.183, allocations: 7.938 kB / 0.9896 GB, free: 43.27 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.005584/1.188, allocations: 5.07 MB / 0.9945 GB, free: 37.99 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004527/1.193, allocations: 1.643 MB / 0.9961 GB, free: 36.41 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.798595546744764] Failed to read output from testmodel.py, exit status != 0: 1.1977850133553147 1.204459159 0.917764661 Calling exit ...